H3C S5120-EI Series Configuration Manual page 22

Ethernet switches layer 3 ip routing configuration guide
Hide thumbs Also See for S5120-EI Series:
Table of Contents

Advertisement

Configuration procedure
Configure the IPv6 addresses of all VLAN interfaces (Omitted)
1.
Configure IPv6 static routes.
2.
Configure the 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 the default IPv6 static route on SwitchC.
<SwitchC> system-view
[SwitchC] ipv6 route-static :: 0 5::2
Configure the IPv6 addresses of hosts and gateways.
3.
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.
Display configuration information
4.
Display the IPv6 routing table of SwitchA.
[SwitchA] display ipv6 routing-table
Routing Table :
Destinations : 5
Destination
NextHop
Interface
Destination
NextHop
Interface
Destination
NextHop
Interface
Destination
NextHop
Interface
Destination
NextHop
Interface
Verify the connectivity with the ping command.
[SwitchA] ping ipv6 3::1
PING 3::1 : 56
Routes : 5
: :: /128
: FE80::510A:0:8D7:1
: Vlan-interface200
: ::1/128
: ::1
: InLoop0
: 1:: /64
: 1::1
: Vlan-interface100
: 1::1/128
: ::1
: InLoop0
: FE80::/10
: ::
: NULL0
data bytes, press CTRL_C to break
Protocol
Preference
Cost
Protocol
Preference
Cost
Protocol
Preference
Cost
Protocol
Preference
Cost
Protocol
Preference
Cost
22
: Static
: 60
: 0
: Direct
: 0
: 0
: Direct
: 0
: 0
: Direct
: 0
: 0
: Direct
: 0
: 0

Advertisement

Table of Contents
loading

Table of Contents