cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements
Join Customer Connection to register!
242
Views
0
Helpful
4
Replies
KDG_dhkd
Beginner

catalyst6500 chassis Sup2t logging origin-id hostname log message

hello, everyone

 

IOS logging origin-id hostname

I have a question regarding settings.


I am trying to compare by packet capture against hostname system log.
It worked fine on the nexus, but on the catalyst there is a problem.

 

Catalyst does not leave hostname syslog itself. please tell me what i am doing wrong

The catalyst settings are in the information below.
===============================
logging monitor xml
logging history informational
logging origin-id hostname
logging facility local6
logging source-interface GigabitEthernet5/3
logging host 100.1.1.100

 

GigabitEthernet5/3
switchport
switchport mode access
switchport access vlan 100

 

interface vlan100
ip address 100.1.1.1/24
no shut
===============================

The ping test is fine.

 

*Nexus hostname syslog test

Icent_syslogtest.jpg

 

 

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
balaji.bandi
VIP Master

what is the IOS code running,

 

Try below syntax :

 

logging origin-id string <device_hostname>

 

Note : the origin-id is prepend to syslog messages sent to REMOTE hosts, so it will never show up on a console or monitor session.

 

Other note are you getting IP address, (then you need to Manually add host entry on syslog server against Device name )

 

example :

 

10.10.10.10 CORESW ( as device hostname) - on the syslog server.

BB

***** Rate All Helpful Responses *****

How to Ask The Community for Help

View solution in original post

4 REPLIES 4
balaji.bandi
VIP Master

what is the IOS code running,

 

Try below syntax :

 

logging origin-id string <device_hostname>

 

Note : the origin-id is prepend to syslog messages sent to REMOTE hosts, so it will never show up on a console or monitor session.

 

Other note are you getting IP address, (then you need to Manually add host entry on syslog server against Device name )

 

example :

 

10.10.10.10 CORESW ( as device hostname) - on the syslog server.

BB

***** Rate All Helpful Responses *****

How to Ask The Community for Help

View solution in original post

Thank you for your time.

 

Current information.

 

Model 
-------- ------------------ -
VS-SUP2T-10G S
----- ------------ ----------
15.4(1)SY 

 

string command was used, but syslog was not output.
 

 

Can you post show Logging output and show run | in Logg

BB

***** Rate All Helpful Responses *****

How to Ask The Community for Help

Hello, the problem is solved.

Thank you for your precious time.