beautypg.com

Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 279

background image

7-3

Figure 7-1 Network diagram for static routes

Configuration procedure

1) Configure the IPv6 addresses of all VLAN interfaces (Omitted)

2) Configure IPv6 static routes.

# Configure the default IPv6 static route on SwitchA.

system-view

[SwitchA] ipv6 route-static :: 0 4::2

# Configure two IPv6 static routes on SwitchB.

system-view

[SwitchB] ipv6 route-static 1:: 64 4::1

[SwitchB] ipv6 route-static 3:: 64 5::1

# Configure the default IPv6 static route on SwitchC.

system-view

[SwitchC] ipv6 route-static :: 0 5::2

3) Configure the IPv6 addresses of hosts and gateways.

Configure the IPv6 addresses of all the hosts based upon 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

# Display the IPv6 routing table of SwitchA.

[SwitchA] display ipv6 routing-table

Routing Table :

Destinations : 5 Routes : 5

Destination : ::/128 Protocol : Static

NextHop : FE80::510A:0:8D7:1 Preference : 60

Interface : Vlan-interface200 Cost : 0

Destination : ::1/128 Protocol : Direct

NextHop : ::1 Preference : 0

Interface : InLoop0 Cost : 0

Destination : 1::/64 Protocol : Direct

NextHop : 1::1 Preference : 0

Interface : Vlan-interface100 Cost : 0