R211x-HP Flexfabric 11900 MPLS Command Reference

196
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
# Configure service instance 200 on Ten-GigabitEthernet 1/0/1 to match packets with an outer VLAN
tag of 200, and bind the service instance to the auto-discovery cross-connect in the cross-connect group
vpwsbgp.
<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 vpwsbgp
[Sysname-xcg-vpwsbgp] auto-discovery bgp
[Sysname-xcg-vpwsbgp-auto] site 1 range 10 default-offset 0
[Sysname-xcg-vpwsbgp-auto-1] connection remote-site-id 2
[Sysname-xcg-vpwsbgp-auto-1-2] ac interface ten-gigabitethernet 1/0/1 service-instance
200
Related commands
connection
display l2vpn interface
display l2vpn service-instance
encapsulation
address-family l2vpn
Use address-family l2vpn to create and enter BGP L2VPN address family view.
Use undo address-family l2vpn to delete all settings from BGP L2VPN address family view.
Syntax
address-family l2vpn
undo address-family l2vpn
Default
The BGP L2VPN address family view is not created.