cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
688
Views
0
Helpful
2
Replies

CISCO-4506 Syslog not able to set on UNIX server

hiruannaofit
Level 1
Level 1

CISCO 4506 Switch with supervisory engine,Release 12.1(19)EW is not able to logging Messages to a UNIX (SUN Server) Syslog Daemon.

I would like to set message logging level "7" (i.e.Debugging)

I have tried "set" command, which is not working at all. I have refered the following link:

http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/12120ea2/3550scg/swlog.htm

Experimented the same but still this issue is open.

I have downloaded "CISCO NETWORK ASSISTANT" software and tried to set IP Address of my switch and access through the cisco network assistant software but not working.....even I am not able to set IP of my switch

Pls. do the needful and suggest me some appropriate steps.

Hiren Mehta

AFRICA

2 Replies 2

ehirsel
Level 6
Level 6

Please do a show run on your switch and post the results here. I want to make sure that your switch ip address and network assignment will allow it to connect to the syslog server? Also tell me what the ip address of the syslog server is and post here, the syslog config as it is set on the Sun device.

Pls. find the following config. of my 4506 switch:

Building configuration...

Current configuration : 2341 bytes

!

version 12.1

no service pad

service timestamps debug uptime

service timestamps log uptime

no service password-encryption

service compress-config

!

hostname cisco4506_2

!

boot system flash bootflash:cat4000-i9s-mz.121-19.EW1.bin

logging console emergencies

!

vtp mode transparent

ip subnet-zero

!

spanning-tree extend system-id

!

!

interface GigabitEthernet1/1

!

interface GigabitEthernet3/1

duplex half

speed 100

!

interface Vlan1

no ip address

!

ip classless

ip http server

!

logging trap debugging

logging source-interface GigabitEthernet3/15

logging 172.16.29.105

!

line con 0

stopbits 1

line vty 0 4

login

!

end

My SUN-NMS server ip address is 172.16.29.105 255.255.255.0

#Syslog.conf is set in etc. Pls. find the following config:

ident "@(#)syslog.conf 1.5 98/12/14 SMI" /* SunOS 5.0 */

#

# Copyright (c) 1991-1998 by Sun Microsystems, Inc.

# All rights reserved.

#

# syslog configuration file.

#

# This file is processed by m4 so be careful to quote (`') names

# that match m4 reserved words. Also, within ifdef's, arguments

# containing commas must be quoted.

#

*.err;kern.notice;auth.notice /dev/sysmsg

*.err;kern.debug;daemon.notice;mail.crit /var/adm/messages

*.alert;kern.err;daemon.err operator

*.alert root

*.emerg *

local7.debug /var/log/cisco.log

user.debug /var/log/cisco.log

# if a non-loghost machine chooses to have authentication messages

# sent to the loghost machine, un-comment out the following line:

#auth.notice ifdef(`LOGHOST', /var/log/authlog, @loghost)

mail.debug ifdef(`LOGHOST', /var/log/syslog, @loghost)

#

# non-loghost machines will use the following lines to cause "user"

# log messages to be logged locally.

#

ifdef(`LOGHOST', ,

user.err /dev/sysmsg

user.err /var/adm/messages

user.alert `root, operator'

user.emerg *

)

I hope this information is worth finding solution.

Hope to see u soon.

Regards,

Hiren Mehta.