Command Manual – MPLS
Quidway S8500 Series Routing Switches
Chapter 2 BGP/MPLS VPN Configuration Commands
Huawei Technologies Proprietary
2-59
Caution:
OSPF processes will set up all its neighbors again after this command is executed.
Example
# Configure OSPF process 100 as Multi-VPN-Instance CE.
[Quidway-ospf-100] vpn-instance-capability simple
# Restore the OSPF process 100 as PE.
[Quidway-ospf-100] undo vpn-instance-capability
2.1.70 vpn-target
Syntax
vpn-target
vpn-target-ext-community
[
import-extcommunity
|
export-extcommunity
|
both
]
undo
vpn-target
vpn-target-ext-community
[
import-extcommunity
|
export-extcommunity
|
both
]
View
VPN-instance view
Parameter
import-extcommunity
: Ingress route information from the extended community of
target VPN.
export-extcommunity
: Egress route information to the extended community of target
VPN.
both
: Imports both ingress and egress route information to the extended community of
target VPN.
vpn-target-ext-community
: Adds VPN-target extended community attributes to the
ingress and egress of VPN-instance or the VPN-target extended community list of
ingress and egress.
Description
Use the
vpn-target
command to create a VPN-target extended community for
VPN-instance.
Use the
undo vpn-target
command to remove the VPN-target extended community
attributes.