98
apply access-vpn vpn-instance
Syntax
View
Parameter
Description
Example
default local-preference (BGP-VPNv4 subaddress family view)
Syntax
MPLS L3VPN C
C
OMMANDS
n
For information about BGP L2VPN address family, refer to "MPLS L2VPN
Configuration Commands" on page 1645.
apply access-vpn vpn-instance vpn-instance-name&<1-6>
undo apply access-vpn vpn-instance [ vpn-instance-name ]&<1-6>
Policy routing view
vpn-instance-name&<1-6>: VPN instance name, a string of 1 to 31 characters.
&<1-6> means that you can enter one to six VPN instance names.
Use the
apply access-vpn vpn-instance
instances for forwarding packets on a policy node.
Use the
undo apply access-vpn vpn-instance
more VPN instances from the policy node.
You can set up to six VPN instances for one node in a policy. Packets matching the
criteria are forwarded by the first valid VPN instance routing table.
With no VPN instance name specified, the undo apply access-vpn vpn-instance
command removes all VPN instances from the FIB.
Note that the VPN instances you specify for the apply access-vpn vpn-instance
command must exist.
For configuration about policy routing, refer to "IP Unicast Policy Routing
Configuration Commands" on page 807.
# Specify to use VPN instances vpn1 and vpn2 for forwarding.
<Sysname> system-view
[Sysname] policy-based-route policy1 permit node 10
[Sysname-policy-based-route] apply access-vpn vpn-instance vpn1 vpn2
default local-preference value
ONFIGURATION
command to specify one or more VPN
command to remove one or