R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
180
Views
User view
Predefined user roles
network-admin
Parameters
peer ip-address: Specifies the LSR ID of the peer PE on the PW that must be in up state.
pw-id pw-id: Specifies the PW ID of a PW, in the range of 1 to 4294967295.
Usage guidelines
The specified LSR ID and PW ID uniquely identify the PW.
If the PW has a backup PW, executing this command switches traffic from the PW to the backup PW. If
the PW does not have a backup PW, this command does not perform the switchover.
Examples
# Switch traffic from PW 100 destined for 3.3.3.3 to its backup PW.
<Sysname> l2vpn switchover peer 3.3.3.3 pw-id 100
mac-learning enable
Use mac-learning enable to enable MAC address learning for a VSI.
Use undo mac-learning enable to disable MAC address learning for a VSI.
Syntax
mac-learning enable
undo mac-learning enable
Default
MAC address learning is disabled for a VSI.
Views
VSI view
Predefined user roles
network-admin
Usage guidelines
If MAC address learning is disabled for a VSI, the device does not learn the source MAC addresses of
the received packets sourced from or destined for the VSI.
Examples
# Disable MAC address learning for the VSI vpn1.
<Sysname> system-view
[Sysname] vsi vpn1
[Sysname-vsi-vpn1] undo mac-learning enable
Related commands
display l2vpn vsi