cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
804
Views
0
Helpful
1
Replies

Syslog Server

jonk34567
Level 4
Level 4

What is the diffrence between " logging 10.1.1.3 "   and    "logging host 10.1.1.3 "

1 Accepted Solution

Accepted Solutions

Both commands configure the IP of the syslog-server. For the two examples there is no difference and using the first form shows later as the second in the config:

rtr(config)#do sh run | i logging
logging buffered 16000
logging source-interface Loopback0
rtr(config)#logging  10.56.30.112
rtr(config)#
rtr(config)#do sh run | i logging
logging buffered 16000
logging source-interface Loopback0
logging host 10.56.30.112

It makes a difference when your syslog-server is reachable through ipv6, then you have to use the syntax "logging host" as only there the keyword "ipv6" is available.

 

View solution in original post

1 Reply 1

Both commands configure the IP of the syslog-server. For the two examples there is no difference and using the first form shows later as the second in the config:

rtr(config)#do sh run | i logging
logging buffered 16000
logging source-interface Loopback0
rtr(config)#logging  10.56.30.112
rtr(config)#
rtr(config)#do sh run | i logging
logging buffered 16000
logging source-interface Loopback0
logging host 10.56.30.112

It makes a difference when your syslog-server is reachable through ipv6, then you have to use the syntax "logging host" as only there the keyword "ipv6" is available.