Static Route Configuration Commands
543
Display the summary of the routes to 10.1.1.1 in the VPN-instance vpn1.
<3Com> display ip routing-table vpn-instance vpn1 10.1.1.1
Routing tables: vpn1 Route-Distinguisher: 100:1
Destination/Mask Protocol Pre Cost Nexthop Interface
10.1.1.1/32 DIRECT 0 0 127.0.0.1 InLoopBack0
10.1.1.0/24 DIRECT 0 0 10.1.1.1 LoopBack0
Static Route
Configuration
Commands
delete static-routes all
Syntax
delete static-routes all
View
System view
Parameter
None
Description
Using the delete static-routes all command, you can cancel all the static routes.
When this command is used to cancel static routes, the user should confirm the
settings before all the configured static routes are canceled.
For the related command, see display ip routing-table and ip route-static.
Example
Delete all the static routes configured on router.
[3Com] delete static-routes all
This will erase all unicast static routes and their configurations,
you must reconfigure all static routes
Are you sure to delete all the static routes?[Y/N]y
ip route-static
Syntax
■
ip route-static ip-address { mask | mask-length } { interface-name |
nexthop-address } [ preference preference-value ] [ reject | blackhole ]
■
undo ip route-static ip-address { mask | mask-length } [ interface-name |
nexthop-address ] [ preference preference-value ]
■
ip route-static vpn-instance vpn-instance-name1 vpn-instance-name2 …
ip-address { mask | mask-length } { interface-name | [ vpn-instance
vpn-nexthop-name nexthop-address ] } [ public ] [ preference preference-value ]
[ reject | blackhole ]
■
undo ip route-static vpn-instance vpn-instance-name1 vpn-instance-name2 …
ip-address { mask | mask-length } { interface-name [ vpn-instance
vpn-nexthop-name | nexthop-address ] } [ public ] [ preference preference-value
]
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...