3com MSR 20-20 참조 매뉴얼
1696
C
HAPTER
98: MPLS L3VPN C
ONFIGURATION
C
OMMANDS
By default, an interface is associated with no VPN instance; it belongs to the public
network.
network.
When configured on an interface, the ip binding vpn-instance command clears
the IP address of the interface. Therefore, you must re-configure the IP address of
the interface after configuring the command.
the IP address of the interface. Therefore, you must re-configure the IP address of
the interface after configuring the command.
Example
# Associate interface Ethernet1/0 with VPN instance vpn1.
<Sysname> system-view
[Sysname] interface ethernet 1/0
[Sysname-Etherne1/0] ip binding vpn-instance vpn1
ip vpn-instance
Syntax
ip vpn-instance vpn-instance-name
undo ip vpn-instance vpn-instance-name
View
System view
Parameter
vpn-instance-name: Name for the VPN instance, a case-sensitive string of 1 to 31
characters.
characters.
Description
Use the ip vpn-instance command to create a VPN instance and enter VPN
instance view.
instance view.
Use the undo ip vpn-instance command to delete a VPN instance.
A VPN instance takes effect only after you configure an RD for it.
Related command:
Example
# Create a VPN instance named vpn1.
<Sysname> system-view
[Sysname] ip vpn-instance vpn1
[Sysname-vpn-instance-vpn1]
ipv4-family
Syntax
ipv4-family { vpnv4 | vpn-instance vpn-instance-name }
undo ipv4-family { vpnv4 | vpn-instance vpn-instance-name }
View
BGP view
Parameter
vpnv4: Enters BGP-VPNv4 subaddress family view.