3Com 4500 PWR 26-PORT Delete static-routes all Syntax, Delete all the static routes in the router

Models: 4500 26-PORT 4500 PWR 26-PORT 4500 PWR 50-PORT 4500 50-PORT

1 466
Download 466 pages 21.69 Kb
Page 153
Image 153

Static Route Configuration Command 147

delete static-routes all Syntax

delete static-routes all

View

System View

Parameter

None

Description

Use the delete static-routes all command to delete all the static routes.

The system requests your confirmation before it deletes all the configured static routes.

Related commands: ip route-static and display ip routing-table.

Example

Delete all the static routes in the router.

<4500>system-view

System View: return to User View with Ctrl+Z.

[4500]delete static-routes all

Are you sure to delete all the unicast static routes?[Y/N]

ip route-static Syntax

ip route-staticip_address { mask mask-length } { interface_name gateway_address } [ preference preference_value ] [ reject blackhole ]

undo ip route-static ip_address { mask mask_length } [

interface_name gateway_address ] [ preference preference_value ] [ reject blackhole ]

View

System view

Parameters

ip_address Enter the destination IP address in dotted decimal notation.

mask Enter the IP subnet mask.

mask-lengthEnter the number of consecutive 1s in the mask. Because 1s in the 32-bit mask must be consecutive, the mask in dotted decimal format can be replaced by mask-length.

interface_name Specify the transmission interface name of the route. Packets that are sent to a NULL interface, are discarded immediately which decreases the system load.

gateway_address Specify the next hop IP address of the route.

Page 153
Image 153
3Com 4500 PWR 26-PORT Delete static-routes all Syntax, Delete all the static routes in the router, Ip route-static Syntax