3Com 3031 Command Reference Manual page 788

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

788
C
8: MPLS B
C
C
HAPTER
ASIC
ONFIGURATION
OMMANDS
By default, global routing table is configured.
The IP address of the interface will be removed if executing this command on it, so
the IP address of the interface needs to be reconfigured.
Example
Bind VPN instance vpn1 to the interface atm0/0/0.
[3Com] interface atm1/0/0
[3Com-Atm1/0/0] ip binding vpn-instance vpn1
ip route-static
Syntax
vpn-instance
ip route-static vpn-instance { vpn--name1 vpn-name2 ...| ip-address1 } { mask |
mask-length } { interface-name | [ vpn-instance vpn-name-nexthop ip-address2 ] } [
public ] [ preference preference-value ] [ reject | blackhole ]
undo ip route-static vpn-instance { vpn-name1 vpn-name2 ...| ip-address1 } { mask
| mask-length } { interface-name | [ vpn-instance vpn-name-nexthop ip-address2 ] }
[ preference preference-value ] [ reject | blackhole ]
View
System view
Parameter
vpn-name: Name of VPN instance can be configured 6 names at most.
ip-address: Destination address of the static route.
mask: Address mask.
mask-length: Length of the mask. As "1" in the 32 bit-mask is required to be
consecutive, the mask in dotted decimal format can be substituted by
mask-length. (mask-length is represented by the number of consecutive "1"s in
the mask.)
interface-name: Out-interface name of static route. It can specify the interface of
public network or other vpn-instances as the out-interface of the static route.
vpn-nexthop-name: Next hop vpn-instance of the static route.
ip-address2: Next hop IP address of the static route.
reject: Configures a route as unreachable.
blackhole: Configures a route as blackhole.
Description
Using the ip route-static vpn-instance command, you can configure static route,
specifying an private network interface as the out-interface of this static route. In
the application background of multi-role host, you can configure a static route in a
private network with an interface of another private network or public network as
its out-interface. Using the undo ip route-static vpn-instance command, you can
remove the configuration of this static route.

Advertisement

Table of Contents
loading

Table of Contents