STATIC ROUTING CONFIGURATION

81 COMMANDS

delete static-routes all

Syntax delete [ vpn-instance vpn-instance-name] static-routes all

View System view

Parameters vpn-instance-name: Name of a VPN instance, a string of 1 to 31 case-sensitive characters.

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

When you use this command to delete static routes, the system will prompt you to confirm the operation before deleting all the static routes.

Related commands: display ip routing-tableon page 929 and ip route-static.

Examples # Delete all static routes on the router.

<Sysname> system-view

[Sysname] delete static-routes all

This will erase all ipv4 static routes and their configurations, you must reconf igure all static routes

Are you sure?[Y/N]:Y

ip route-static

Syntax ip route-staticdest-address { mask mask-length } { gateway-address [ track track-entry-number ] interface-type interface-number vpn-instanced-vpn-instance-name gateway-address [ track track-entry-number ] } [ preference preference-value ] [ tag tag-value ] [ description description-text ]

undo ip route-staticdest-address { mask mask-length } [ gateway-address interface-type interface-number [ gateway-address ] vpn-instanced-vpn-instance-name gateway-address ] [ preference preference-value ]

ip route-staticvpn-instances-vpn-instance-name&<1-6>dest-address { mask mask-length } { gateway-address [ track track-entry-number ] [ public ] interface-type interface-number vpn-instanced-vpn-instance-name gateway-address [ track track-entry-number ] } [ preference preference-value ] [ tag tag-value ]

[ description description-text ]

Page 1217
Image 1217
3Com MSR 50, MSR 30 manual Static Routing Configuration Commands, Delete static-routes all, Ip route-static