37-8
Cisco IE 3000 Switch Software Configuration Guide
OL-13018-03
Chapter 37 Configuring IPv6 Host Functions
Configuring IPv6
This example shows how to enable IPv6 with both a link-local address and a global address based on the
IPv6 prefix 2001:0DB8:c18:1::/64. The EUI-64 interface ID is used in the low-order 64 bits of both
addresses. Output from the
show ipv6 interface
EXEC command shows how the interface ID
(20B:46FF:FE2F:D940) is appended to the link-local prefix FE80::/64 of the interface.
Switch(config)#
sdm prefer dual-ipv4-and-ipv6 default
Switch(config)#
interface fastethernet0/11
Switch(config-if)#
ipv6 address 2001:0DB8:c18:1::/64 eui 64
Switch(config-if)#
end
Switch#
show
ipv6 interface fastethernet0/11
FastEthernet0/11 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::20B:46FF:FE2F:D940
Global unicast address(es):
2001:0DB8:c18:1:20B:46FF:FE2F:D940, subnet is 2001:0DB8:c18:1::/64 [EUI]
Joined group address(es):
FF02::1
FF02::2
FF02::1:FF2F:D940
MTU is 1500 bytes
ICMP error messages limited to one every 100 milliseconds
ICMP redirects are enabled
ND DAD is enabled, number of DAD attempts: 1
ND reachable time is 30000 milliseconds
ND advertised reachable time is 0 milliseconds
ND advertised retransmit interval is 0 milliseconds
ND router advertisements are sent every 200 seconds
ND router advertisements live for 1800 seconds
Hosts use stateless autoconfig for addresses.
Configuring IPv6 ICMP Rate Limiting
ICMP rate limiting is enabled by default with a default interval between error messages of 100
milliseconds and a bucket size (maximum number of tokens to be stored in a bucket) of 10.
Beginning in privileged EXEC mode, follow these steps to change the ICMP rate-limiting parameters:
Command
Purpose
Step 1
configure terminal
Enter global configuration mode.
Step 2
ipv6 icmp error-interval
interval
[
bucketsize
]
Configure the interval and bucket size for IPv6 ICMP error
messages:
•
interval—
The interval (in milliseconds) between tokens
being added to the bucket. The range is from 0 to
2147483647 milliseconds.
•
bucketsize
—(Optional) The maximum number of tokens
stored in the bucket. The range is from 1 to 200.
Step 3
end
Return to privileged EXEC mode.
Step 4
show ipv6 interface
[
interface-id
]
Verify your entries.
Step 5
copy running-config startup-config
(Optional) Save your entries in the configuration file.