09-06-2016 05:24 AM - edited 03-10-2019 01:10 PM
Hi,
I have two cisco switches, at two different sites, having two Layer 2 ISP links in between these two switches.
How can I monitor if one of both link gets down???
As per my knowledge there are two options 1. STP 2. Ether channel.
In both case we get redundancy but how administrator come to know one of the link is down so he/she could book docket against down link with ISP.
At one side we have Cisco Nexus 7010 and Cisco 2960 at another end. if link is get down in between ISP, port at switch end will not get down, in this case what happen with STP and ether channel case. will that generate logs in this case which can be forwarded to syslog server.
is there any monitoring tool which can be useful in such scenarios ??
in such scenarios what is the best practice to manage the network??
---Sandy---
09-06-2016 06:35 AM
S(config)# logging enable
S(config)# logging event link-status
(config-if)# logging event link-status
(config-if)# logging event trunk-status
show logging |
Displays the state of system logging (syslog) and the contents of the standard system logging buffe |
!
logging host <ip-address>
!
!
logging trap 6
logging buffered 6
!
http://www.cisco.com/c/en/us/support/docs/ip/access-lists/13608-21.html#anc58
http://www.cisco.com/c/en/us/td/docs/ios/fundamentals/command/reference/cf_book/cf_l1.html
Please rate if helpful.
Thank you.
09-06-2016 07:23 AM
you can also use netflow monitor at layer 2
http://www.cisco.com/c/en/us/td/docs/switches/datacenter/sw/4_2/nx-os/system_management/configuration/guide/sm_nx_os_cli/sm_15netflow.html#wp1094178
09-14-2016 12:40 AM
Hi, Thanks for your response...
ok.. layer 2 link status which can generate syslog message & layer 2 netflow.....agreed.
if both layer 2 links are not trunk then ??
if both layer 2 links are in etherchannel ?? & if one link of etherchnnel is down or flapped Portchannel will remain up but how administrator will come to know that one link of that PO is down??
Sandy
09-14-2016 01:10 AM
Hi whether there trunk or access the commands engineer_aus provided below applied to each physical interface will raise a syslog to notify your monitoring system that 1 link has dropped , your really not going to get much more at layer 2 to monitor
logging event link-status and the trunk status , they should be applied to physical of PO
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: