540
C
HAPTER
46: IP
V
6 M
ANGEMENT
C
ONFIGURATION
IPv6 Configuration
Example
IPv6 Unicast Address
Configuration
Network requirements
Two switches are directly connected through two Ethernet ports. The Ethernet
ports belong to VLAN 2. IPv6 addresses are configured for the interface
Vlan-interface2 on each switch to verify the connectivity between the two
switches. The global unicast address of Switch A is 3001::1/64, and the global
unicast address of Switch B is 3001::2/64.
Network diagram
Figure 193
Network diagram for IPv6 address configuration
Configuration procedure
1
Configure Switch A.
# Configure an automatically generated link-local address for the interface
Vlan-interface2.
<SwitchA> system-view
[SwitchA] interface Vlan-interface 2
[SwitchA-Vlan-interface2] ipv6 address auto link-local
# Configure a global unicast address for the interface Vlan-interface2.
[SwitchA-Vlan-interface2] ipv6 address 3001::1/64
2
Configure Switch B.
# Configure an automatically generated link-local address for the interface
Vlan-interface2.
<SwitchA> system-view
[SwitchB] interface Vlan-interface 2
[SwitchB-Vlan-interface2] ipv6 address auto link-local
# Configure a global unicast address for the interface Vlan-interface2.
[SwitchB-Vlan-interface2] ipv6 address 3001::2/64
Verification
# Display the brief IPv6 information of an interface on Switch A.
[SwitchA-Vlan-interface2] display ipv6 interface vlan-interface 2
Vlan-interface2 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 [DUPLICATE]
Switch A
Switch B
Vlan-interface 2
Vlan-interface 2
Summary of Contents for Switch 4210 9-Port
Page 22: ...20 CHAPTER 1 CLI CONFIGURATION ...
Page 74: ...72 CHAPTER 3 CONFIGURATION FILE MANAGEMENT ...
Page 84: ...82 CHAPTER 5 VLAN CONFIGURATION ...
Page 96: ...94 CHAPTER 8 IP PERFORMANCE CONFIGURATION ...
Page 108: ...106 CHAPTER 9 PORT BASIC CONFIGURATION ...
Page 122: ...120 CHAPTER 11 PORT ISOLATION CONFIGURATION ...
Page 140: ...138 CHAPTER 13 MAC ADDRESS TABLE MANAGEMENT ...
Page 234: ...232 CHAPTER 17 802 1X CONFIGURATION ...
Page 246: ...244 CHAPTER 20 AAA OVERVIEW ...
Page 270: ...268 CHAPTER 21 AAA CONFIGURATION ...
Page 292: ...290 CHAPTER 26 DHCP BOOTP CLIENT CONFIGURATION ...
Page 318: ...316 CHAPTER 29 MIRRORING CONFIGURATION ...
Page 340: ...338 CHAPTER 30 CLUSTER ...
Page 362: ...360 CHAPTER 33 SNMP CONFIGURATION ...
Page 368: ...366 CHAPTER 34 RMON CONFIGURATION ...
Page 450: ...448 CHAPTER 39 TFTP CONFIGURATION ...
Page 451: ......
Page 452: ...450 CHAPTER 39 TFTP CONFIGURATION ...
Page 470: ...468 CHAPTER 40 INFORMATION CENTER ...
Page 496: ...494 CHAPTER 44 DEVICE MANAGEMENT ...