3com S7906E Guide De Référence

Page de 2327
 
1-2 
ip route-static 
Syntax 
ip route-static dest-address { mask | mask-length } { next-hop-address [ track track-entry-number ] | 
interface-type 
interface-number 
next-hop-address | vpn-instance 
d-vpn-instance-name 
next-hop-address [ track  track-entry-number  ] } [ preference  preference-value ] [ tag  tag-value ] 
description description-text 
undo  ip  route-static  dest-address { mask | mask-length } [ next-hop-address | interface-type 
interface-number  [ next-hop-address ] | vpn-instance  d-vpn-instance-name  next-hop-address ] 
preference preference-value 
ip route-static  vpn-instance  s-vpn-instance-name&<1-6>  dest-address { mask | mask-length } 
{  next-hop-address  [  track  track-entry-number  ] [ public  ] | interface-type  interface-number 
next-hop-address  | vpn-instance d-vpn-instance-name next-hop-address [ track track-entry-number ] } 
preference preference-value ] [ tag tag-value ] [ description description-text 
undo ip route-static vpn-instance s-vpn-instance-name&<1-6> dest-address { mask | mask-length } 
[  next-hop-address [ public ] | interface-type  interface-number  [ next-hop-address ] | vpn-instance 
d-vpn-instance-name next-hop-address ] [ preference preference-value 
View 
System view 
Default Level 
2: System level 
Parameters 
vpn-instance s-vpn-instance-name&<1-6>: Specifies the VPN instance name, which is a string of 1 to 
31 case-sensitive characters. &<1-6> indicates the argument before it can be entered up to 6 times. 
Each VPN instance has its own routing table, and the configured static route is installed in the routing 
tables of the specified VPN instances.  
dest-address: Destination IP address of the static route, in dotted decimal notation.  
mask: Mast of the IP address, in dotted decimal notation.  
mask-length: Mask length, in the range 0 to 32.  
next-hop-address: IP address of the next hop, in dotted decimal notation.  
interface-type interface-number: Specifies the output interface by its type and number.  
vpn-instance d-vpn-instance-name: Name of the destination VPN instance, case-sensitive. If a 
destination VPN instance name is specified, the router will search the output interface in the destination 
VPN instance based on the configured next-hop-address.  
next-hop-address public: Indicates that the specified next-hop-address is a public network address, 
rather than a VPN instance address.  
preference preference-value : Specifies the preference of the static route, which is in the range of 1 to 
255 and defaults to 60. 
tag tag-value: Sets a tag value for the static route from 1 to 4294967295. The default is 0. Tags of routes 
are used in routing policies to control routing.