230
<Sysname> system-view
[Sysname] pw-class pw100
[Sysname-pw-pw100] trans-mode ethernet
vpls-family
Description
Use the vpls-family command to enter VPLS address family view.
Syntax
vpls-family
View
BGP view
Default level
2: System level
Parameters
None
Examples
# Enter VPLS address family view.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] vpls-family
[Sysname-bgp-af-vpls]
vpn-target (VSI BGP view)
Description
Use the vpn-target command to configure one or more VPN targets for a VPLS instance.
Use the undo vpn-target command to remove the specified or all VPN targets of a VPLS instance.
By default, no VPN targets are configured, and you must configure VPN targets when creating a VPLS
instance.
Syntax
vpn-target vpn-target &<1-16> [ both | export-extcommunity | import-extcommunity ]
undo vpn-target { all | vpn-target &<1-16> } [ both | export-extcommunity | import-extcommunity ]
View
VSI BGP view
Default level
2: System level
Parameters
vpn-target&<1-16>: Adds VPN target extended community attributes to the import VPN target extended
community attribute list (Import Target) or export VPN target extended community attribute list (Export
Target). &<1-16> means that you can add up to 16 VPN targets..