Ipv6 Static Routing Configuration Example - H3C S5800 Series Configuration Manual

Layer 3 - ip routing
Hide thumbs Also See for S5800 Series:
Table of Contents

Advertisement

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, see IP Routing Basics Configuration Commands in the Layer 3 - IP Routing Command
Reference.

IPv6 Static Routing Configuration Example

Network requirements
As shown in the following figure, configure IPv6 static routes so that hosts can reach one another.
Figure 7-1 Network diagram for static routes
Configuration procedure
1)
Configure IPv6 addresses for all VLAN interfaces (Omitted)
2)
Configure IPv6 static routes.
# Configure a default IPv6 static route on SwitchA.
<SwitchA> system-view
[SwitchA] ipv6 route-static :: 0 4::2
# Configure two IPv6 static routes on SwitchB.
<SwitchB> system-view
[SwitchB] ipv6 route-static 1:: 64 4::1
[SwitchB] ipv6 route-static 3:: 64 5::1
# Configure a default IPv6 static route on SwitchC.
<SwitchC> system-view
[SwitchC] ipv6 route-static :: 0 5::2
3)
Configure the IPv6 addresses and gateways for hosts.
Configure the IPv6 addresses for all the hosts as per the network diagram, configure the default
gateway of Host A as 1::1, that of Host B as 2::1, and that of Host C as 3::1.
4)
Display configuration information
7-3

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820x series

Table of Contents