– 1087 –
C
HAPTER
46
| IP Interface Commands
IPv6 Interface
ipv6 address
This command configures an IPv6 global unicast address and enables IPv6
on an interface. Use the
no
form without any arguments to remove all IPv6
addresses from the interface, or use the
no
form with a specific IPv6
address to remove that address from the interface.
S
YNTAX
ipv6 address
ipv6-address
/
prefix-length
no ipv6 address
[
ipv6-address
/
prefix-length
]
ipv6-address
- A full IPv6 address including the network prefix and
host address bits.
prefix-length
- A decimal value indicating how many contiguous bits
(from the left) of the address comprise the prefix (i.e., the network
portion of the address).
D
EFAULT
S
ETTING
No IPv6 addresses are defined
C
OMMAND
M
ODE
Interface Configuration (VLAN)
C
OMMAND
U
SAGE
◆
All IPv6 addresses must be according to RFC 2373 “IPv6 Addressing
Architecture,” using 8 colon-separated 16-bit hexadecimal values. One
double colon may be used in the address to indicate the appropriate
number of zeros required to fill the undefined fields.
◆
To connect to a larger network with multiple subnets, you must
configure a global unicast address. This address can be manually
configured with this command.
◆
If a link-local address has not yet been assigned to this interface, this
command will assign the specified static global unicast address and also
dynamically generate a link-local unicast address for the interface. (The
link-local address is made with an address prefix of FE80 and a host
portion based the switch’s MAC address in modified EUI-64 format.)
◆
If a duplicate address is detected, a warning message is sent to the
console.
E
XAMPLE
This example specifies a full IPv6 address and prefix length.
Console(config)#interface vlan 1
Console(config-if)#ipv6 address 2001:DB8:2222:7272::72/96
Console(config-if)#end
Console#show ipv6 interface
Vlan 1 is up
IPv6 is enable.
Link-local address:
FE80::2E0:CFF:FE00:FD/64
Summary of Contents for LGB6026A
Page 6: ...ABOUT THIS GUIDE 4...
Page 40: ...38 CONTENTS...
Page 60: ...58 SECTION I Getting Started...
Page 86: ...84 SECTION II Web Configuration Unicast Routing on page 517 Multicast Routing on page 575...
Page 162: ...160 CHAPTER 5 Interface Configuration VLAN Trunking...
Page 196: ...194 CHAPTER 6 VLAN Configuration Configuring MAC based VLANs...
Page 204: ...CHAPTER 7 Address Table Settings Clearing the Dynamic Address Table 202...
Page 238: ...CHAPTER 11 Class of Service Layer 2 Queue Settings 236...
Page 254: ...252 CHAPTER 12 Quality of Service Attaching a Policy Map to a Port...
Page 448: ...446 CHAPTER 16 Multicast Filtering Multicast VLAN Registration...
Page 470: ...468 CHAPTER 17 IP Configuration Setting the Switch s IP Address IP Version 6...
Page 576: ...574 CHAPTER 21 Unicast Routing Configuring the Open Shortest Path First Protocol Version 2...
Page 606: ...604 CHAPTER 22 Multicast Routing Configuring PIMv6 for IPv6...
Page 620: ...618 CHAPTER 23 Using the Command Line Interface CLI Command Groups...
Page 672: ...670 CHAPTER 25 System Management Commands Time Range...
Page 692: ...690 CHAPTER 26 SNMP Commands...
Page 700: ...698 CHAPTER 27 Remote Monitoring Commands...
Page 854: ...CHAPTER 34 Port Mirroring Commands Local Port Mirroring Commands 852...
Page 862: ...860 CHAPTER 36 Address Table Commands...
Page 958: ...956 CHAPTER 40 Quality of Service Commands...
Page 1034: ...1032 CHAPTER 42 LLDP Commands...
Page 1044: ...1042 CHAPTER 43 Domain Name Service Commands...
Page 1062: ...1060 CHAPTER 44 DHCP Commands DHCP Server...
Page 1206: ...CHAPTER 47 IP Routing Commands Open Shortest Path First OSPFv3 1204...
Page 1250: ...1248 SECTION IV Appendices...
Page 1256: ...1254 APPENDIX A Software Specifications Management Information Bases...
Page 1278: ...1276 COMMAND LIST...