beautypg.com

Configuration prerequisites, Configuring an ipv6 static route, Displaying and maintaining ipv6 static routes – H3C Technologies H3C S7500E Series Switches User Manual

Page 278: Ipv6 static routing configuration example, Network requirements

background image

7-2

Configuration prerequisites

z

Configuring parameters for the related interfaces

z

Configuring link layer attributes for the related interfaces

z

Enabling IPv6 packet forwarding

z

Ensuring that the neighboring nodes are IPv6 reachable

Configuring an IPv6 Static Route

Follow these steps to configure an IPv6 static route:

To do…

Use the commands…

Remarks

Enter system view

system-view

Configure an IPv6 static route

ipv6 route-static ipv6-address prefix-length

[ interface-type interface-number ]

nexthop-address [ preference

preference-value ]

Required

The default

preference of IPv6

static routes is 60.

Displaying and Maintaining IPv6 Static Routes

To do…

Use the command…

Remarks

Display IPv6 static route

information

display ipv6 routing-table

protocol static [ inactive |

verbose ]

Available in any view

Remove all IPv6 static routes

delete ipv6 static-routes all

Available in system view

z

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.

z

For more information about the display ipv6 routing-table protocol static [ inactive | verbose ]

command, see IP Routing Basics Configuration Commands in the Layer 3 - IP Routing Command

Reference.

IPv6 Static Routing Configuration Example

Network requirements

With IPv6 static routes configured, all hosts and switches can interact with each other.