Displaying and maintaining MPLS L2VPN

Execute display commands in any view and reset commands in user view.

Task

Command

Display LDP PW label information.

display l2vpn ldp [ peer ip-address [ pw-id pw-id ] | xconnect-group group-name ] [ verbose ]

Display cross-connect forwarding information.

display l2vpn forwarding { ac | pw } [ xconnect-group group-name ] [ slot slot-number ] [ verbose ]

Display L2VPN PW information.

display l2vpn pw [ xconnect-group group-name ] [ ldp | static ] [ verbose ]

Display PW class information.

display l2vpn pw-class [ class-name ]

Display service instance information.

display l2vpn service-instance [ interface interface-type interface-number [ service-instance instance-id ] ] [ verbose ]

Display cross-connect group information.

display l2vpn xconnect-group [ name group-name ] [ verbose ]

Display L2VPN label block information.

display l2vpn bgp [ peer ip-address | local ] [ xconnect-group group-name ] [ verbose ]

Display BGP L2VPN peer group information.

display bgp group l2vpn [ group-name ]

Display L2VPN label block information maintained by BGP.

display bgp l2vpn signaling [ peer ip-address { advertised | received } [ statistics ] | route-distinguisher route-distinguisher [ site-id site-id [ label-offset label-offset [ advertise-info ] ] ] | statistics ]

Display BGP L2VPN peer information.

display bgp peer l2vpn [ group-name log-info | ip-address { log-info | verbose } | verbose ]

Display BGP L2VPN update group information.

display bgp update-group l2vpn [ ip-address ]

Reset BGP sessions for L2VPN.

reset bgp { as-number | ip-address | all | external | group group-name | internal } l2vpn

For more information about the display bgp group l2vpn, display bgp peer l2vpn, display bgp update-group l2vpn, and reset bgp commands, see Layer 3—IP Routing Command Reference.