Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to setup a cisco 3550 switch to log to syslog server 1

Status
Not open for further replies.

Lybar

Technical User
May 2, 2007
4
CA
I have a Cisco 3550 switch that need to send its error logs to a syslog server. I have added the following script to the switch but when I sniff the connection to the server I don't see any alerts.

# logging on
# Logging facility syslog
# logging source-interface fastethernet0/43 (connection to server)
# logging 10.70.91.25 ( ip of syslog server)
# logging trap alerts

Have I missed something? What else do I need to do?
 
Does int fa0/45 have an ip address?
What is the ip address of your switch?
What interface has the ip address?

your logging source interface should be an interface that has an ip address

intervace vlan 100
ip addrdress 10.10.10.1 255.255.255.0

logging source-interface int vlan 100

 
Does int fa0/45 have an ip address?
* No, only the VLAN 191 has an IP assigned

What is the ip address of your switch?
* 10.70.91.5

What interface has the ip address?
* None

Do I need to create a new VLAN?
Then add the port that I'm using to connect the syslog server to this ne VLAN 100?
Do I needed to change the Ip address of the syslog server that connects to this new VLAN100 port?




 
As long as the switch can reach the log server (ping/telnet/ssh) you don't need to change ip adddresses. Make the logging source be the interface that has the working ip address.
 
on the interfaces you have to setting the logging.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top