3com 8807 Reference Guide

Page of 1099
722
C
HAPTER
 40: BGP/MPLS VPN C
ONFIGURATION
 C
OMMANDS
Description
Use the ip binding vpn-instance command to bind a VLAN interface to a 
VPN-instance.
Use the undo ip binding vpn-instance command to delete the binding.
By default, global routing table is used.
You need to reconfigure the IP address for an interface since this command deletes 
the original IP address.
Example
# Bind the VLAN201 interface to the VPN-instance VPN 1.
[SW8800] interface vlan-interface 201
 
[3Com-Vlan-interface201] ip binding vpn-instance vpn1 
ip route-static 
vpn-instance
Syntax
ip route-static vpn-instance vpn-instance-name [ vpn-instance-name ] ... 
destination-ip-address
 { mask | mask-length } [ interface-name | vpn-instance 
vpn-nexthop-name ] nexthop-ip-address [ preference preference-value | public ] [ 
reject | blackhole ]
undo ip route-static vpn-instance vpn-instance-name [vpn-instance-name... 
destination-ip-address
 { mask | mask-length } [ interface-name | vpn-instance 
vpn-nexthop-name ] nexthop-ip-address [ preference preference-valuepublic ] [ 
reject | blackhole ]
View
System view
Parameter
vpn-instance-name: Name of VPN-instance. 6 names can be configured at most, 
and this value of character string is ranging from 1 to 19 characters.
destination-ip-address: Destination address of a static route.
mask: Subnet mask.
mask-length: Length of the mask, ranging to 0 to 32. As it requires consecutive 1s 
in a 32-bit mask, the mask in dotted decimal notation can be substituted by 
mask-length (mask-length is represented by the number of consecutive 1s in the 
mask).
interface-name: Outgoing interface name of a static route. You can specify the 
interface of a public network or other VPN-instance as the outgoing-interface of 
the static route .NULL 0 shows the outgoing-interface is null.
vpn-nexthop-name: Specifies VPN-instance of the next hop for the static route.
nexthop-ip-address: Specifies IP address of the next hop for the static route.