Command Manual – Routing Protocol
Quidway S8500 Series Routing Switches Chapter 1 Static Route Configuration Commands
Huawei Technologies Proprietary
1-17
1.2.2 delete vpn-instance
Syntax
delete vpn-instance vpn-instance-name static-routes all
View
System view
Parameter
vpn-instance: Specifies VPN instance parameter.
vpn-instance-name: VPN instance name.
static-routes: VPN static route.
all: All static routes.
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.
[Quidway] delete vpn-instance vp1 static-routes all
Are you sure to delete all the VPN static routes?[Y/N]
1.2.3 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