Operation Manual – MCE
H3C S3610&S5510 Series Ethernet Switches
Chapter 2 MCE Configuration
2-3
Table 2-4
Associate an VPN instance with an interface
Operation
Command
Description
Enter system view
system-view
—
Enter interface view of the
interface to be associated
interface interface-type
interface-number
—
Associate the current
interface with the VPN
instance
ip binding vpn-instance
vpn-instance-name
Required
By default, no interface is
associated with a VPN
instance.
Note:
Executing the
ip binding vpn-instance
command invalidates the IP address
configured for the current interface, so you need to configure an IP address for an
interface again after associating the interface with a VPN instance.
2.1.5 Configuring the Route-related Attributes for a VPN Instance
The process of advertising VPN routes is as follows:
z
When the switch learns a VPN route from a site and injects it into BGP, BGP
associates the route with a VPN target extended community attribute list, which is
normally the export route attribute list of the VPN instance.
z
A VPN instance determines whether to accept a received route according to the
VPN target import extended community attribute list associated with the route and
the setting specified by the
vpn-target
command.
z
A VPN instance modifies the export VPN target attribute according to the setting
specified by the
vpn-target
command.
Table 2-5
Configure the route-related attributes for a VPN instance
Operation
Command
Description
Enter system view
system-view
—
Enter VPN instance view
ip vpn-instance
vpn-instance-name
—
Associate the current
VPN instance with one or
multiple VPN targets
vpn-target
vpn-target
&<1-8> [
both
|
export-extcommunity
|
import-extcommunity
]
Required
By default, a VPN
instance has no VPN
target associated with it.