Displaying And Maintaining Ipv6 Static Routes; Ipv6 Static Routing Configuration Example - H3C S5120-EI Series Operation Manual

Ethernet switches
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Enabling IPv6 packet forwarding
Ensuring that the neighboring nodes are IPv6 reachable
Configuring an IPv6 Static Route
Follow these steps to configure an IPv6 static route:
To do...
Enter system view
Configure an IPv6 static route

Displaying and Maintaining IPv6 Static Routes

To do...
Display IPv6 static route
information
Remove all IPv6 static routes
Using the undo ipv6 route-static command can delete a single IPv6 static route, while using the
delete ipv6 static-routes all command deletes all IPv6 static routes including the default route.
For more information about the display ipv6 routing-table protocol static [ inactive | verbose ]
command, refer to IP Routing Table Display Commands in the IP Routing Volume.

IPv6 Static Routing Configuration Example

Network requirements
With IPv6 static routes configured, all hosts and switches can interact with each other.
Use the commands...
system-view
ipv6 route-static ipv6-address
prefix-length [ interface-type
interface-number ] nexthop-address
[ preference preference-value ]
Use the command...
display ipv6 routing-table protocol
static [ inactive | verbose ]
delete ipv6 static-routes all
1-2
Remarks
Required
The default
preference of IPv6
static routes is 60.
Remarks
Available in any view
Available in system view

Advertisement

Table of Contents
loading

Table of Contents