3com 8807 참조 가이드

다운로드
페이지 1099
394
C
HAPTER
 23: S
TATIC
 R
OUTE
 C
ONFIGURATION
 C
OMMANDS
Description
Use the delete vpn-instance command to remove all the static routes of the 
VPN. When you use this command to remove the static routes, the system will 
prompt your acknowledgement. The system removes all configured static routes 
after the acknowledgement.
Related commands: ip route-static, display ip routing-table vpn-instance.
Example
# Remove all static routes of the VPN.
[SW8800] delete vpn-instance vp1 static-routes all
 
Are you sure to delete all the VPN static routes?[Y/N] 
ip route-static
Syntax
ip route-static [ vpn-instance vpn-instance-name-list ] ip-address { mask | 
mask-length } { interface-type interface-number | [ vpn-instance 
vpn-instance-name ] gateway-address } [ preference preference-value ] [ reject | 
blackhole ]
undo ip route-static [ vpn-instance vpn-instance-name-list ] ip-address { mask | 
mask-length } [ interface-type interface-number | [ vpn-instance 
vpn-instance-name ] gateway-address ] [ preference preference-value ]
View
System view
Parameter
vpn-instance: Specifies VPN instance parameter.
vpn-instance-name-list: VPN instance name list. vpn-instance-name-list= 
vpn-instance-name & <1-6>
. &<1-6> in the command represents that the 
preceding parameter can be input repeatedly up to 6 times.
ip-address: Destination IP address in dotted decimal notation.
mask: Mask.
mask-length: Mask length. Since "1" s in the 32-bit mask are required to be 
consecutive, the mask in dotted decimal format can be replaced by mask-length
which is the number of the consecutive "1" s in the mask.
vpn-instance-name: Name of a VPN instance.
interface-type interface-number: Specifies the outgoing interface for the next hop. 
The null interface is a kind of virtual interface, where data packets are discarded 
directly to decrease the system load. gateway-address: Specifies the next hop IP 
address of the route, in dotted decimal format.
preference-value: Preference level of the route in the range from 1 to 255.