Ip Binding Vpn-Instance - H3C S5820X Series Command Reference Manual

Mpls command reference
Hide thumbs Also See for S5820X Series:
Table of Contents

Advertisement

Default command level
2: System level
Parameters
route-policy: Specifies the name of a routing policy for the VPN instance, a string of 1 to 63 characters.
Usage guidelines
You can specify an import routing policy when the route redistribution control provided by the extended
community attributes is not enough. An import routing policy may deny routes that are permitted by the
import target attributes.
An import routing policy specified in VPN instance view is applicable to both the IPv4 VPN and the IPv6
VPN.
An import routing policy specified in IPv4 VPN view is applicable to only the IPv4 VPN.
An import routing policy specified in IPv4 VPN view takes precedence over that specified in VPN
instance view. If you specify an import routing policy in both IPv4 VPN view and VPN instance view, the
IPv4 VPN uses the policy specified in IPv4 VPN view.
Examples
# Apply import routing policy poly-1 to VPN instance vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1] import route-policy poly-1

ip binding vpn-instance

Use ip binding vpn-instance to associate an interface with a VPN instance.
Use undo ip binding vpn-instance to remove the association.
Syntax
ip binding vpn-instance vpn-instance-name
undo ip binding vpn-instance vpn-instance-name
Default
An interface is associated with no VPN instance. It belongs to the public network.
Views
Interface view
Default command level
2: System level
Parameters
vpn-instance-name: Specifies the name of the VPN instance to be associated, a case-sensitive string of 1
to 31 characters.
Usage guidelines
Associating an interface with a VPN instance clears the IP address of the interface. Therefore, you must
reconfigure the IP address of the interface after executing this command.
19

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5800 series

Table of Contents