Managing IPv6 Interfaces
You can manage IPv6 interfaces in the following ways:
host1(config-if)#no ipv6 enablehost1(config-if)#ipv6 enableSet a baseline for IPv6 interface counters. host1#clear ipv6 interface atm 2/0Determine reachability within a network. host1#ping ipv6 1::1host1#traceroute ipv6 1::1clear ipv6 interface
host1#clear ipv6 interface atm 2/0There is no no version. ipv6 enable
- Use to enable or disable an IPv6 interface at any time.
NOTE: By default, an IPv6 interface is enabled when you first create it.
- Example
host1(config-if)#ipv6 enableUse the no version of this command to disable IPv6 on an interface or a subinterface. ping ipv6
- Use to send an ICMP echo request packet to the IPv6 address that you specify.
- Use the source interface keywords to specify a source interface other than the one from which the probe originates.
- Use the source address keywords to specify a source IP address other than the one from which the probe originates.
- You can specify the following options:
- packetCountNumber of packets to send to the destination IPv6 address. If you specify a zero (0), echo requests packets are sent indefinitely.
- data-patternSets the type of bits contained in the packet to all ones, all zeros, a random mixture of ones and zeros, or a specific hexadecimal data pattern that can range from 0x00xFFFFFFFF. The default is all zeros.
- data-sizeSets the number of bytes comprising the IPv6 packet and reflected in the IPv6 header in the range 064000; the default is 100 bytes
- extended header attributesSet the interface type and specifier of a destination address on the router that is configured for external loopback; the command succeeds only if the specified interface is configured for external loopback
- sweep-intervalSpecifies the change in the size of subsequent ping packets while sweeping across a range of sizes. For example, you can configure the sweep interval to sweep across the range of packets from 100 bytes to 1000 bytes in increments equal to the sweep interval. By default the router increments packets by one byte; for example, it sends 100, 101, 102, 103, ... 1000. If the sweep interval is 5, the router sends 100, 105, 110, 115, ... 1000.
- sweep-sizesEnables you to vary the sizes of the echo packets being sent. This capability is useful for determining the minimum sizes of the MTUs configured on the nodes along the path to the destination address. This reduces packet fragmentation, which contributes to performance problems. The default is not to sweep (all packets are the same size).
- timeoutSets the number of seconds to wait for an ICMP echo reply packet before the connection attempt times out
- hop-limitSets the time-to-live hop count in the range 1255; the default is 255
- !Reply received
- .Timed out while waiting for a reply
- ?Unknown packet type
- AAdmin unreachable
- bPacket too big
- HHost unreachable
- NNetwork unreachable
- PPort unreachable
- pParameter problem
- SSource beyond scope
- tHop limit expired (TTL expired)
host1#ping ipv6 1::1There is no no version. traceroute ipv6
- Use to discover the routes that router packets follow when traveling to their destination.
- You can specify:
- Destination IPv6 address
- Source interface for each of the transmitted packets
- Source IPv6 address for each of the transmitted packets
- Maximum number of hops of the trace and a timeout value
- Size of the IPv6 packets (not the ICMP payload) in the range 064000 bytes sent with the traceroute command. Including a size might help locate any MTU problems that exist between your router and a particular device.
- Hop count in the range 1255; the default is 32
- You can also force transmission of the packets on a specified interface regardless of what the IPv6 address lookup indicates.
- Example
host1#traceroute ipv6 1::1 timeout 10There is no no version.