Chapter 25
| IP Interface Commands
IPv6 Interface
– 550 –
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.
Syntax
[
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).
Default Setting
No IPv6 addresses are defined
Command Mode
Interface Configuration (VLAN)
Command Usage
◆
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, or it can be automatically configured using the
ipv6 address
autoconfig
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.
Example
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 enabled
Link-Local Address:
FE80::B60E:DCFF:FE34:E63C/64
Summary of Contents for EX-3524
Page 2: ......
Page 28: ...Figures 28 ...
Page 34: ...Section I Getting Started 34 ...
Page 58: ...Chapter 1 Initial Switch Configuration Setting the System Clock 58 ...
Page 72: ...Chapter 2 Using the Command Line Interface CLI Command Groups 72 ...
Page 156: ...Chapter 5 SNMP Commands Notification Log Commands 156 ...
Page 164: ...Chapter 6 Remote Monitoring Commands 164 ...
Page 218: ...Chapter 7 Authentication Commands Management IP Filter 218 ...
Page 268: ...Chapter 8 General Security Measures Port based Traffic Segmentation 268 ...
Page 292: ...Chapter 9 Access Control Lists ACL Information 292 ...
Page 312: ...Chapter 10 Interface Commands Power Savings 312 ...
Page 324: ...Chapter 11 Link Aggregation Commands Trunk Status Display Commands 324 ...
Page 366: ...Chapter 15 Address Table Commands 366 ...
Page 428: ...Chapter 17 VLAN Commands Configuring Voice VLANs 428 ...
Page 572: ...Chapter 25 IP Interface Commands IPv6 Interface 572 ...
Page 578: ...Section I Appendices 578 ...