Tracking L2VPN state change

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
Hello everybody,

I want to know a way to log the l2vpn peer state changes on my switch, is that possible?
By using this MPLS.L2VPN.ChgPWState, am I going to see both vpls and vpws changes?

Photo of Julian Eble

Julian Eble

  • 1,394 Points 1k badge 2x thumb

Posted 2 years ago

  • 0
  • 1
Photo of Henrique

Henrique, Employee

  • 10,342 Points 10k badge 2x thumb
Hi Julian,

Yes, the log event "MPLS.L2VPN.ChgPWState" will increment when the VPLS/VPWS state changes between UP/Down.

You can use the command below to check the counters:

show log counters MPLS.L2VPN.ChgPWState

To add the event to the "DefaultFilter" log you can use the command below:

configure log filter "DefaultFilter" add events MPLS.L2VPN.ChgPWState