R21xx-HP FlexFabric 11900 MPLS Command Reference

Table Of Contents
140
Examples
# Configure service instance 200 on the Layer 2 interface Ten-GigabitEthernet 1/0/1 to match packets
with an outer VLAN tag of 200, and bind the service instance to the cross-connect actopw in the
cross-connect group vpn1.
<Sysname> system-view
[Sysname] interface ten-gigabitethernet 1/0/1
[Sysname-Ten-GigabitEthernet1/0/1] service-instance 200
[Sysname-Ten-GigabitEthernet1/0/1-srv200] encapsulation s-vid 200
[Sysname-Ten-GigabitEthernet1/0/1-srv200] quit
[Sysname-Ten-GigabitEthernet1/0/1] quit
[Sysname] xconnect-group vpn1
[Sysname-xcg-vpn1] connection actopw
[Sysname-xcg-vpn1-actopw] ac interface ten-gigabitethernet 1/0/1 service-instance 200
Related commands
connection
display l2vpn service-instance
encapsulation
backup-peer
Use backup-peer to configure a backup PW for a cross-connect and enter backup PW view. If the backup
PW has been configured, this command places you into backup PW view.
Use undo backup-peer to remove the backup PW from a cross-connect.
Syntax
backup-peer ip-address pw-id pw-id [ in-label label-value out-label label-value ] [ pw-class class-name
| tunnel-policy tunnel-policy-name ] *
undo backup-peer ip-address pw-id pw-id
Default
No backup PW is specified for a cross-connect.
Views
PW view
Predefined user roles
network-admin
Parameters
ip-address: Specifies the LSR ID of the peer PE on the backup PW.
pw-id pw-id: Specifies a PW ID for the backup PW, in the range of 1 to 4294967295.
in-label label-value: Specifies the incoming label for the backup PW, in the range of 16 to 1023.
out-label label-value: Specifies the outgoing label for the backup PW, in the range of 16 to 1023.
pw-class class-name: Specifies a PW class by its name, a case-sensitive string of 1 to 19 characters. If no
PW class is specified, the PW type is determined by the link type of the AC interface. The control word
function is not supported for PW types that do not require using control word.