Verification – H3C Technologies H3C S3100 Series Switches User Manual

Page 928

Advertising
background image

1-25

[SwitchB-Vlan-interface1] ipv6 address 3001::2/64

Verification

# Display the brief IPv6 information of an interface on Switch A.

[SwitchA-Vlan-interface1] display ipv6 interface vlan-interface 1

Vlan-interface1 current state :UP

Line protocol current state :UP

IPv6 is enabled, link-local address is FE80::20F:E2FF:FE47:4CA3

Global unicast address(es):

3001::1, subnet is 3001::/64

Joined group address(es):

FF02::1:FF00:1

FF02::1:FF47:4CA3

FF02::1

MTU is 1500 bytes

ND DAD is enabled, number of DAD attempts: 1

ND reachable time is 30000 milliseconds

ND retransmit interval is 1000 milliseconds

Hosts use stateless autoconfig for addresses

# Display the brief IPv6 information of the interface on Switch B.

[SwitchB-Vlan-interface1] display ipv6 interface Vlan-interface 1

Vlan-interface1 current state :UP

Line protocol current state :UP

IPv6 is enabled, link-local address is FE80::2E0:FCFF:FE00:2006

Global unicast address(es):

3001::2, subnet is 3001::/64

Joined group address(es):

FF02::1:FF00:2

FF02::1:FF00:2006

FF02::1

MTU is 1500 bytes

ND DAD is enabled, number of DAD attempts: 1

ND reachable time is 30000 milliseconds

ND retransmit interval is 1000 milliseconds

Hosts use stateless autoconfig for addresses

# On Switch A, ping the link-local address and global unicast address of Switch B. If the configurations

are correct, the above two types of IPv6 addresses can be pinged.

When you use the ping ipv6 command to verify the reachability of the destination, you must specify the

“–i” keyword if the destination address is a link-local address. For the operation of IPv6 ping, refer to

section “

IPv6 Ping

”.

[SwitchA-Vlan-interface1]ping ipv6 FE80::2E0:FCFF:FE00:2006 -i Vlan-interface 1

PING FE80::2E0:FCFF:FE00:2006 : 56 data bytes, press CTRL_C to break

Reply from FE80::2E0:FCFF:FE00:2006

bytes=56 Sequence=1 hop limit=64 time = 77 ms

Reply from FE80::2E0:FCFF:FE00:2006

bytes=56 Sequence=2 hop limit=64 time = 6 ms

Reply from FE80::2E0:FCFF:FE00:2006

Advertising