Ipv6 Static Routing Configuration Commands; Delete Ipv6 Static-Routes All; Ipv6 Route-Static - H3C S5120-EI Series Configuration Commands

Layer 3 - ip routing command reference
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

IPv6 static routing configuration commands

delete ipv6 static-routes all

Syntax
delete ipv6 static-routes all
View
System view
Default level
2: System level
Parameters
None
Description
Use the delete ipv6 static-routes all command to delete all static routes including the default route.
When using this command, you will be prompted whether to continue the deletion and only after you
confirm the deletion will the static routes be deleted.
Related commands: ipv6 route-static and display ipv6 routing-table.
Examples
# Delete all IPv6 static routes.
<Sysname> system-view
[Sysname] delete ipv6 static-routes all
This will erase all ipv6 static routes and their configurations, you must reconfigure all
static routes
Are you sure?[Y/N]Y

ipv6 route-static

Syntax
ipv6 route-static ipv6-address prefix-length [ interface-type interface-number ] nexthop-address
[ preference preference-value ]
undo ipv6 route-static ipv6-address prefix-length [ interface-type interface-number ] [ nexthop-address ]
[ preference preference-value ]
View
System view
Default level
2: System level
Parameters
ipv6-address prefix-length: IPv6 address and prefix length.
interface-type interface-number: Interface type and interface number of the output interface.
nexthop-address: Next hop IPv6 address.
21

Advertisement

Table of Contents
loading

Table of Contents