beautypg.com

Displaying and maintaining mpls l2vpn – H3C Technologies H3C S6800 Series Switches User Manual

Page 349

background image

336

Step Command

Remarks

4.

Set the MAC address
learning limit on the

interface.

mac-address max-mac-count count

By default, the MAC address
learning limit is not set.
Layer 2 aggregate interfaces do
not support this command.
For more information about this
command, see Layer 2—LAN

Switching Command Reference.

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 group-name ]

Display L2VPN label block information
discovered 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 [ ip-address mask-length | { ip-address |
group-name group-name } log-info | [ [ ip-address ] verbose ]

[ standby slot slot-number ] ]

Display BGP L2VPN update group
information.

display bgp update-group l2vpn [ ip-address ]

Reset BGP sessions for L2VPN.

reset bgp { as-number | ip-address [ mask-length ] | 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.