Configuring IPv6 Unicast Routing

This chapter describes how to configure IPv6 unicast routing on the Cisco Industrial Ethernet Switches, hereafter referred to as “switch.”

To use this feature, the switch must be running the IP services image. To enable IPv6 routing, you must configure the switch to use a dual IPv4 and IPv6 switch database management (SDM) template. See Dual IPv4 and IPv6 Protocol Stacks.

Note: For complete syntax and usage information for the commands used in this chapter, see the Cisco IOS documentation listed in the Related Documents.

blank.gifInformation About IPv6

blank.gifPrerequisites

blank.gifGuidelines and Limitations

blank.gifDefault Settings

blank.gifConfiguring IPv6

blank.gifVerifying Configuration

blank.gifConfiguration Example

blank.gifRelated Documents

Information About IPv6

IPv4 users can move to IPv6 and receive services such as end-to-end security, quality of service (QoS), and globally unique addresses. The IPv6 address space reduces the need for private addresses and Network Address Translation (NAT) processing by border routers at network edges.

This section describes IPv6 implementation on the switch and includes the following topics:

blank.gifIPv6 Addresses

blank.gifSupported IPv6 Unicast Routing Features

blank.gifUnsupported IPv6 Unicast Routing Features

IPv6 Addresses

The switch supports only IPv6 unicast addresses. It does not support site-local unicast addresses, anycast addresses, or multicast addresses.

The IPv6 128-bit addresses are represented as a series of eight 16-bit hexadecimal fields separated by colons in the format: n:n:n:n:n:n:n:n. This is an example of an IPv6 address:

2031:0000:130F:0000:0000:09C0:080F:130B

For easier implementation, leading zeros in each field are optional. This is the same address without leading zeros:

2031:0:130F:0:0:9C0:80F:130B

You can also use two colons (::) to represent successive hexadecimal fields of zeros, but you can use this short version only once in each address:

2031:0:130F::09C0:080F:130B

For more information about IPv6 address formats, address types, and the IPv6 packet header, see IPv6 Addressing and Basic Connectivity Configuration Guide, Cisco IOS Release 15M&T in the IPv6 Configuration Library, Cisco IOS Release 15M&T.

In the “Information About Implementing Basic Connectivity for IPv6” chapter, these sections apply to the switch:

blank.gifIPv6 Address Formats

blank.gifIPv6 Address Type: Unicast

blank.gifIPv6 Address Output Display

blank.gifSimplified IPv6 Packet Header

Supported IPv6 Unicast Routing Features

Support on the switch includes expanded address capability, header format simplification, improved support of extensions and options, and hardware parsing of the extension header. The switch supports hop-by-hop extension header packets, which are routed or bridged in software.

The switch provides IPv6 routing capability over 802.1Q trunk ports for static routes, Routing Information Protocol (RIP) for IPv6, and Open Shortest Path First (OSPF) Version 3 Protocol. It supports up to 16 equal-cost routes and can simultaneously forward IPv4 and IPv6 frames at line rate.

Note: For more information about the IPv6 unicast routing features described in this section, see IPv6 Configuration Library, Cisco IOS Release 15M&T and IPv6 Implementation Guide, Cisco IOS Release 15.2M&T.

blank.gif128-Bit Unicast Addresses

blank.gifDNS for IPv6

blank.gifPath MTU Discovery for IPv6 Unicast

blank.gifICMPv6

blank.gifNeighbor Discovery

blank.gifDefault Router Preference

blank.gifIPv6 Stateless Autoconfiguration and Duplicate Address Detection

blank.gifIPv6 Applications

blank.gifDual IPv4 and IPv6 Protocol Stacks

blank.gifDHCP for IPv6 Address Assignment

blank.gifStatic Routes for IPv6

blank.gifRIP for IPv6

blank.gifOSPF for IPv6

blank.gifEIGRP IPv6

blank.gifMultiprotocol BGP for IPv6

blank.gifSNMP and Syslog Over IPv6

blank.gifHTTP(S) Over IPv6

128-Bit Unicast Addresses

The switch supports aggregatable global unicast addresses and link-local unicast addresses. It does not support site-local unicast addresses.

blank.gifAggregatable global unicast addresses are IPv6 addresses from the aggregatable global unicast prefix. The address structure enables strict aggregation of routing prefixes and limits the number of routing table entries in the global routing table. These addresses are used on links that are aggregated through organizations and eventually to the Internet service provider.

These addresses are defined by a global routing prefix, a subnet ID, and an interface ID. Current global unicast address allocation uses the range of addresses that start with binary value 001 (2000::/3). Addresses with a prefix of 2000::/3(001) through E000::/3(111) must have 64-bit interface identifiers in the extended unique identifier (EUI)-64 format.

blank.gifLink local unicast addresses can be automatically configured on any interface by using the link-local prefix FE80::/10(1111 1110 10) and the interface identifier in the modified EUI format. Link-local addresses are used in the neighbor discovery protocol (NDP) and the stateless autoconfiguration process. Nodes on a local link use link-local addresses and do not require globally unique addresses to communicate. IPv6 routers do not forward packets with link-local source or destination addresses to other links.

DNS for IPv6

IPv6 supports Domain Name System (DNS) record types in the DNS name-to-address and address-to-name lookup processes. The DNS AAAA resource record types support IPv6 addresses and are equivalent to an A address record in IPv4. The switch supports DNS resolution for IPv4 and IPv6.

Path MTU Discovery for IPv6 Unicast

The switch supports advertising the system maximum transmission unit (MTU) to IPv6 nodes and path MTU discovery. Path MTU discovery allows a host to dynamically discover and adjust to differences in the MTU size of every link along a given data path. In IPv6, if a link along the path is not large enough to accommodate the packet size, the source of the packet handles the fragmentation. The switch does not support path MTU discovery for multicast packets.

ICMPv6

The Internet Control Message Protocol (ICMP) in IPv6 generates error messages, such as ICMP destination unreachable messages, to report errors during processing and other diagnostic functions. In IPv6, ICMP packets are also used in the neighbor discovery protocol and path MTU discovery.

Neighbor Discovery

The switch supports NDP for IPv6, a protocol running on top of ICMPv6, and static neighbor entries for IPv6 stations that do not support NDP. The IPv6 neighbor discovery process uses ICMP messages and solicited-node multicast addresses to determine the link-layer address of a neighbor on the same network (local link), to verify the reachability of the neighbor, and to keep track of neighboring routers.

The switch supports ICMPv6 redirect for routes with mask lengths less than 64 bits. ICMP redirect is not supported for host routes or for summarized routes with mask lengths greater than 64 bits.

Neighbor discovery throttling ensures that the switch CPU is not unnecessarily burdened while it is in the process of obtaining the next hop forwarding information to route an IPv6 packet. The switch drops any additional IPv6 packets whose next hop is the same neighbor that the switch is actively trying to resolve. This drop avoids further load on the CPU.

Default Router Preference

The switch supports IPv6 default router preference (DRP), an extension in router advertisement messages. DRP improves the ability of a host to select an appropriate router, especially when the host is multihomed and the routers are on different links. The switch does not support the Route Information Option in RFC 4191.

An IPv6 host maintains a default router list from which it selects a router for traffic to offlink destinations. The selected router for a destination is then cached in the destination cache. NDP for IPv6 specifies that routers that are reachable or probably reachable are preferred over routers whose reachability is unknown or suspect. For reachable or probably reachable routers, NDP can either select the same router every time or cycle through the router list. By using DRP, you can configure an IPv6 host to prefer one router over another, provided both are reachable or probably reachable.

IPv6 Stateless Autoconfiguration and Duplicate Address Detection

The switch uses stateless autoconfiguration to manage link, subnet, and site addressing changes, such as management of host and mobile IP addresses. A host autonomously configures its own link-local address, and booting nodes send router solicitations to request router advertisements for configuring interfaces.

IPv6 Applications

blank.gifPing, traceroute, Telnet, TFTP, and FTP

blank.gifSecure Shell (SSH) over an IPv6 transport

blank.gifHTTP server access over IPv6 transport

blank.gifDNS resolver for AAAA over IPv4 transport

blank.gifCisco Discovery Protocol (CDP) support for IPv6 addresses

Dual IPv4 and IPv6 Protocol Stacks

You must use the dual IPv4 and IPv6 template to allocate hardware memory usage to both IPv4 and IPv6 protocols.

Dual IPv4 and IPv6 Support on an Interface shows a router forwarding both IPv4 and IPv6 traffic through the same interface, based on the IP packet and destination addresses.

Figure 107 Dual IPv4 and IPv6 Support on an Interface

 

127574.ps

Use the dual IPv4 and IPv6 switch database management (SDM) template to enable IPv6 routing dual stack environments (supporting both IPv4 and IPv6).

blank.gifIf you try to configure IPv6 without first selecting a dual IPv4 and IPv6 template, a warning message appears.

blank.gifIn IPv4-only environments, the switch routes IPv4 packets and applies IPv4 QoS and ACLs in hardware. IPv6 packets are not supported.

blank.gifIn dual IPv4 and IPv6 environments, the switch routes both IPv4 and IPv6 packets and applies IPv4 QoS in hardware.

blank.gifIPv6 QoS is not supported.

blank.gifIf you do not plan to use IPv6, do not use the dual stack template because it results in less hardware memory availability for each resource.

DHCP for IPv6 Address Assignment

DHCPv6 enables DHCP servers to pass configuration parameters, such as IPv6 network addresses, to IPv6 clients. The address assignment feature manages nonduplicate address assignment in the correct prefix based on the network where the host is connected. Assigned addresses can be from one or multiple prefix pools. Additional options, such as default domain and DNS name-server address, can be passed back to the client. Address pools can be assigned for use on a specific interface, on multiple interfaces, or the server can automatically find the appropriate pool.

Static Routes for IPv6

Static routes are manually configured and define an explicit route between two networking devices. Static routes are useful for smaller networks with only one path to an outside network or to provide security for certain types of traffic in a larger network.

RIP for IPv6

Routing Information Protocol (RIP) for IPv6 is a distance-vector protocol that uses hop count as a routing metric. It includes support for IPv6 addresses and prefixes and the all-RIP-routers multicast group address FF02::9 as the destination address for RIP update messages.

OSPF for IPv6

The switch supports Open Shortest Path First (OSPF) for IPv6, a link-state protocol for IP.

EIGRP IPv6

The switch supports Enhanced Interior Gateway Routing Protocol (EIGRP) for IPv6. It is configured on the interfaces on which it runs and does not require a global IPv6 address.

Before running, an instance of EIGRP IPv6 requires an implicit or explicit router ID. An implicit router ID is derived from a local IPv4 address, so any IPv4 node always has an available router ID. However, EIGRP IPv6 might be running in a network with only IPv6 nodes and therefore might not have an available IPv4 router ID.

Multiprotocol BGP for IPv6

Multiprotocol Border Gateway Protocol (BGP) is the supported exterior gateway protocol for IPv6. Multiprotocol BGP extensions for IPv6 support the same features and functionality as IPv4 BGP. IPv6 enhancements to multiprotocol BGP include support for IPv6 address family and network layer reachability information (NLRI) and next-hop (the next router in the path to the destination) attributes that use IPv6 addresses.

The switch does not support multicast BGP or non-stop forwarding (NSF) for IPv6 or for BGP IPv6.

SNMP and Syslog Over IPv6

To support both IPv4 and IPv6, IPv6 network management requires both IPv6 and IPv4 transports. Syslog over IPv6 supports address data types for these transports.

SNMP and syslog over IPv6 provide these features:

blank.gifSupport for both IPv4 and IPv6

blank.gifIPv6 transport for SNMP and to modify the SNMP agent to support traps for an IPv6 host

blank.gifSNMP- and syslog-related MIBs to support IPv6 addressing

blank.gifConfiguration of IPv6 hosts as trap receivers

For support over IPv6, SNMP modifies the existing IP transport mapping to simultaneously support IPv4 and IPv6. These SNMP actions support IPv6 transport management:

blank.gifOpens User Datagram Protocol (UDP) SNMP socket with default settings

blank.gifProvides a new transport mechanism called SR_IPV6_TRANSPORT

blank.gifSends SNMP notifications over IPv6 transport

blank.gifSupports SNMP-named access lists for IPv6 transport

blank.gifSupports SNMP proxy forwarding using IPv6 transport

blank.gifVerifies SNMP Manager feature works with IPv6 transport

HTTP(S) Over IPv6

The HTTP client sends requests to both IPv4 and IPv6 HTTP servers, which respond to requests from both IPv4 and IPv6 HTTP clients. URLs with literal IPv6 addresses must be specified in hexadecimal using 16-bit values between colons.

The accept socket call chooses an IPv4 or IPv6 address family. The accept socket is either an IPv4 or IPv6 socket. The listening socket waits for both IPv4 and IPv6 signals that indicate a connection. The IPv6 listening socket is bound to an IPv6 wildcard address.

The underlying TCP/IP stack supports a dual-stack environment. HTTP relies on the TCP/IP stack and the sockets for processing network-layer interactions.

Basic network connectivity (ping) must exist between the client and the server hosts before HTTP connections can be made.

Unsupported IPv6 Unicast Routing Features

blank.gifIPv6 policy-based routing

blank.gifIPv6 virtual private network (VPN) routing and forwarding (VRF) table support

blank.gifSupport for Intermediate System-to-Intermediate System (IS-IS) routing

blank.gifIPv6 packets destined to site-local addresses

blank.gifTunneling protocols, such as IPv4-to-IPv6 or IPv6-to-IPv4

blank.gifThe switch as a tunnel endpoint supporting IPv4-to-IPv6 or IPv6-to-IPv4 tunneling protocols

blank.gifIPv6 unicast reverse-path forwarding

blank.gifIPv6 general prefixes

blank.gifHSRP for IPv6

Prerequisites

Select a dual IPv4 and IPv6 template as described in the Dual IPv4 and IPv6 Protocol Stacks.

Guidelines and Limitations

Because IPv6 is implemented in switch hardware, some limitations occur due to the IPv6 compressed addresses in the hardware memory. This results in some loss of functionality and some feature limitations.

blank.gifWhen using user-network interface (UNI) or enhanced network interface (ENI) ports for any IPv6-related features, you must first globally enable IP routing and IPv6 routing on the switch by entering the ip routing and ipv6 unicast-routing global configuration commands even if you are not using IPv6 routing.

blank.gifICMPv6 redirect functionality is not supported for IPv6 host routes (routes used to reach a specific host) or for IPv6 routes with masks greater than 64 bits. The switch cannot redirect hosts to a better first-hop router for a specific destination that is reachable through a host route or through a route with masks greater than 64 bits.

blank.gifLoad balancing using equal cost and unequal cost routes is not supported for IPv6 host routes or for IPv6 routes with a mask greater than 64 bits.

blank.gifThe switch cannot forward SNAP-encapsulated IPv6 packets.

There is a similar limitation for IPv4 SNAP-encapsulated packets, but the packets are dropped at the switch.

blank.gifThe switch routes IPv6-to-IPv4 and IPv4-to-IPv6 packets in hardware, but the switch cannot be an IPv6-to-IPv4 or IPv4-to-IPv6 tunnel endpoint.

blank.gifBridged IPv6 packets with hop-by-hop extension headers are forwarded in software. In IPv4, these packets are routed in software but bridged in hardware.

blank.gifIn addition to the normal SPAN and RSPAN limitations defined in the software configuration guide, these limitations are specific to IPv6 packets:

blank.gifWhen you send RSPAN IPv6-routed packets, the source MAC address in the SPAN output packet might be incorrect.

blank.gifWhen you send RSPAN IPv6-routed packets, the destination MAC address might be incorrect. Normal traffic is not affected.

blank.gifThe switch cannot apply QoS classification or policy-based routing on source-routed IPv6 packets in hardware.

blank.gifThe switch cannot generate ICMPv6 Packet Too Big messages for multicast packets.

Default Settings

 

Feature
Default Setting

SDM template

Default.

IPv6 routing

Disabled globally and on all interfaces.

CEFv6

Disabled (IPv4 CEF is enabled by default).

Note: When IPv6 routing is enabled, CEFv6 is automatically enabled.

IPv6 addresses

None configured.

Configuring IPv6

blank.gifConfiguring IPv6 Addressing and Enabling IPv6 Routing

blank.gifConfiguring Default Router Preference

blank.gifConfiguring IPv4 and IPv6 Protocol Stacks

blank.gifConfiguring DHCP for IPv6 Address Assignment

blank.gifConfiguring IPv6 ICMP Rate Limiting

blank.gifConfiguring CEF for IPv6

blank.gifConfiguring Static Routing for IPv6

blank.gifConfiguring RIP for IPv6

blank.gifConfiguring OSPF for IPv6

blank.gifConfiguring EIGRP for IPv6

blank.gifConfiguring BGP for IPv6

Configuring IPv6 Addressing and Enabling IPv6 Routing

To forward IPv6 traffic on an interface, you must configure a global IPv6 address on that interface. Configuring an IPv6 address on an interface automatically configures a link-local address and activates IPv6 for the interface. The configured interface automatically joins these required multicast groups for that link:

blank.gifsolicited-node multicast group FF02:0:0:0:0:1:ff00::/104 for each unicast address assigned to the interface (the address for the neighbor discovery process)

blank.gifall-nodes link-local multicast group FF02::1

blank.gifall-routers link-local multicast group FF02::2

For more information about configuring IPv6 routing, see the “Implementing Addressing and Basic Connectivity for IPv6” chapter in the IPv6 Implementation Guide, Cisco IOS Release 15.2M&T.

BEFORE YOU BEGIN

blank.gifBe sure to select a dual IPv4 and IPv6 SDM template.

blank.gifNot all features discussed in this chapter are supported by the switch. See Unsupported IPv6 Unicast Routing Features.

blank.gifIn the ipv6 address interface configuration command, you must enter the ipv6-address and ipv6-prefix variables with the address specified in hexadecimal using 16-bit values between colons. The prefix-length variable (preceded by a slash [/]) is a decimal value that shows how many of the high-order contiguous bits of the address comprise the prefix (the network portion of the address).

DETAILED STEPS

 

 
Command
Purpose

1.blank.gif

configure terminal

Enter global configuration mode.

2.blank.gif

sdm prefer dual-ipv4-and-ipv6 { default | routing | vlan }

Select an SDM template that supports IPv4 and IPv6.

blank.gif default —Set the switch to the default template to balance system resources.

blank.gif routing —Set the switch to the routing template to support IPv4 and IPv6 routing, including IPv4 policy-based routing.

blank.gif vlan —Maximize VLAN configuration on the switch with no routing supported in hardware.

3.blank.gif

end

Return to privileged EXEC mode.

4.blank.gif

reload

Reload the operating system.

5.blank.gif

configure terminal

Enter global configuration mode.

6.blank.gif

interface interface-id

Enter interface configuration mode, and specify the Layer 3 interface to configure. The interface can be a physical interface, a switch virtual interface (SVI), or a Layer 3 EtherChannel.

7.blank.gif

no switchport

Remove the interface from Layer 2 configuration mode (if it is a physical interface).

8.blank.gif

ipv6 address ipv6-prefix/prefix length eui-64

or

ipv6 address ipv6-address link-local

or

ipv6 enable

Specify a global IPv6 address with an extended unique identifier (EUI) in the low-order 64 bits of the IPv6 address. Specify only the network prefix; the last 64 bits are automatically computed from the switch MAC address. This enables IPv6 processing on the interface.

Specify a link-local address on the interface to be used instead of the link-local address that is automatically configured when IPv6 is enabled on the interface. This command enables IPv6 processing on the interface.

Automatically configure an IPv6 link-local address on the interface, and enable the interface for IPv6 processing. The link-local address can only be used to communicate with nodes on the same link.

9.blank.gif

exit

Return to global configuration mode.

10.blank.gif

ip routing

Enable IP routing on the switch.

11.blank.gif

ipv6 unicast-routing

Enable forwarding of IPv6 unicast data packets.

12.blank.gif

end

Return to privileged EXEC mode.

13.blank.gif

show ipv6 interface interface-id

Verify your entries.

14.blank.gif

copy running-config startup-config

(Optional) Save your entries in the configuration file.

To remove an IPv6 address from an interface, use the no ipv6 address ipv6-prefix/prefix length eui-64 or no ipv6 address ipv6-address link-local interface configuration command. To remove all manually configured IPv6 addresses from an interface, use the no ipv6 address interface configuration command without arguments. To disable IPv6 processing on an interface that has not been explicitly configured with an IPv6 address, use the no ipv6 enable interface configuration command. To globally disable IPv6 routing, use the no ipv6 unicast-routing global configuration command.

EXAMPLE

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 is included to show 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)# ipv6 unicast-routing
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# no switchport
Switch(config-if)# ipv6 address 2001:0DB8:c18:1::/64 eui 64
Switch(config-if)# end
Switch# show ipv6 interface gigabitethernet0/11
GigabitEthernet0/2 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 Default Router Preference

Router advertisement messages are sent with the default router preference (DRP) configured by the ipv6 nd router-preference interface configuration command. If no DRP is configured, router advertisements are sent with a medium preference.

A DRP is useful when two routers on a link might provide equivalent, but not equal-cost routing, and policy might dictate that hosts should prefer one of the routers.

BEFORE YOU BEGIN

Complete the Configuring IPv6 Addressing and Enabling IPv6 Routing.

DETAILED STEPS

 

 
Command
Purpose

1.blank.gif

configure terminal

Enter global configuration mode.

2.blank.gif

interface interface-id

Enter interface configuration mode, and enter the Layer 3 interface on which you want to specify the DRP.

3.blank.gif

ipv6 nd router-preference { high | medium | low }

Specify a DRP for the router on the switch interface.

4.blank.gif

end

Return to privileged EXEC mode.

5.blank.gif

show ipv6 interface

Verify the configuration.

6.blank.gif

copy running-config startup-config

(Optional) Save your entries in the configuration file.

Use the no ipv6 nd router-preference interface configuration command to disable an IPv6 DRP.

EXAMPLE

This example shows how to configure a DRP of high for the router on an interface:

Switch# configure terminal
Switch(config)# interface gigabitethernet0/1
Switch(config-if)# ipv6 nd router-preference high
Switch(config-if)# end
 

Configuring IPv4 and IPv6 Protocol Stacks

Follow this procedure to configure a Layer 3 interface to support both IPv4 and IPv6 and to enable IPv6 routing.

BEFORE YOU BEGIN

Before configuring IPv6 routing, you must select an SDM template that supports IPv4 and IPv6. If not already configured, use the sdm prefer dual-ipv4-and-ipv6 { default | routing | vlan} global configuration command to configure a template that supports IPv6. When you select a new template, you must reload the switch by using the reload privileged EXEC command so that the template takes effect.

DETAILED STEPS

 

 
Command
Purpose

1.blank.gif

configure terminal

Enter global configuration mode.

2.blank.gif

sdm prefer dual-ipv4-and-ipv6 { default | routing | vlan }

Select an SDM template that supports IPv4 and IPv6.

blank.gif default —Set the switch to the default template to balance system resources.

blank.gif routing —Set the switch to the routing template to support IPv4 and IPv6 routing, including IPv4 policy-based routing.

blank.gif vlan —Maximize VLAN configuration on the switch with no routing supported in hardware.

3.blank.gif

end

Return to privileged EXEC mode.

4.blank.gif

reload

Reload the operating system.

5.blank.gif

configure terminal

Enter global configuration mode.

6.blank.gif

ip routing

Enable IPv4 routing on the switch.

7.blank.gif

ipv6 unicast-routing

Enable forwarding of IPv6 data packets on the switch.

8.blank.gif

interface interface-id

Enter interface configuration mode, and specify the Layer 3 interface to configure.

9.blank.gif

no switchport

Remove the interface from Layer 2 configuration mode (if it is a physical interface).

10.blank.gif

ip address ip-address mask [ secondary ]

Specify a primary or secondary IPv4 address for the interface.

11.blank.gif

ipv6 address ipv6-prefix/prefix length eui-64

or

ipv6 address ipv6-address link-local

or

ipv6 enable

Specify a global IPv6 address. Specify only the network prefix; the last 64 bits are automatically computed from the switch MAC address.

Specify a link-local address on the interface to be used instead of the automatically configured link-local address when IPv6 is enabled on the interface.

Automatically configure an IPv6 link-local address on the interface, and enable the interface for IPv6 processing. The link-local address can only be used to communicate with nodes on the same link.

12.blank.gif

end

Return to privileged EXEC mode.

13.blank.gif

show interface interface-id

show ip interface interface-id

show ipv6 interface interface-id

Verify your entries.

14.blank.gif

copy running-config startup-config

(Optional) Save your entries in the configuration file.

To disable IPv4 routing, use the no ip routing global configuration command. To disable IPv6 routing, use the no ipv6 unicast-routing global configuration command. To remove an IPv4 address from an interface, use the no ip address ip-address mask interface configuration command. To remove an IPv6 address from an interface, use the no ipv6 address ipv6-prefix/prefix length eui-64 or no ipv6 address ipv6-address link-local interface configuration command. To remove all manually configured IPv6 addresses from an interface, use the no ipv6 address interface configuration command without arguments. To disable IPv6 processing on an interface that has not been explicitly configured with an IPv6 address, use the no ipv6 enable interface configuration command.

EXAMPLE

This example shows how to enable IPv4 and IPv6 routing on an interface:

Switch(config)# sdm prefer dual-ipv4-and-ipv6 default
Switch(config)# ip routing
Switch(config)# ipv6 unicast-routing
Switch(config)# interface gigabitethernet0/2
Switch(config-if)# no switchport
Switch(config-if)# ip address 192.168.99.1 244.244.244.0
Switch(config-if)# ipv6 address 2001:0DB8:c18:1::/64 eui 64
Switch(config-if)# end

Configuring DHCP for IPv6 Address Assignment

This document describes only the DHCPv6 address assignment. For more information about configuring the DHCPv6 client, server, or relay agent functions, see the “Implementing DHCP for IPv6” chapter in the IPv6 Implementation Guide, Cisco IOS Release 15.2M&T.

blank.gifDefault DHCPv6 Address Assignment Configuration

blank.gifDHCPv6 Address Assignment Configuration Guidelines

blank.gifEnabling the DHCPv6 Server Function

blank.gifEnabling the DHCPv6 Client Function

Default DHCPv6 Address Assignment Configuration

By default, no Dynamic Host Configuration Protocol for IPv6 (DHCPv6) features are configured on the switch.

DHCPv6 Address Assignment Configuration Guidelines

When configuring a DHCPv6 address assignment, consider these guidelines:

blank.gifIn the procedures, the specified interface must be one of these Layer 3 interfaces:

blank.gifDHCPv6 IPv6 routing must be enabled on a Layer 3 interface.

blank.gifSVI: a VLAN interface created by using the interface vlan vlan_id command.

blank.gifEtherChannel port channel in Layer 3 mode: a port-channel logical interface created by using the interface port-channel port-channel-number command.

blank.gifBefore configuring DHCPv6, you must select a Switch Database Management (SDM) template that supports IPv4 and IPv6.

blank.gifThe switch can act as a DHCPv6 client, server, or relay agent. The DHCPv6 client, server, and relay function are mutually exclusive on an interface.

Enabling the DHCPv6 Server Function

BEFORE YOU BEGIN

See DHCPv6 Address Assignment Configuration Guidelines.

DETAILED STEPS

 

 
Command
Purpose

1.blank.gif

configure terminal

Enter global configuration mode.

2.blank.gif

ipv6 dhcp pool poolname

Enter DHCP pool configuration mode, and define the name for the IPv6 DHCP pool. The pool name can be a symbolic string (such as Engineering) or an integer (such as 0).

3.blank.gif

address prefix IPv6-prefix lifetime {t1 t1 | infinite }

(Optional) Specify an address prefix for address assignment.

This address must be in hexadecimal, using 16-bit values between colons.

blank.gif lifetime t1 t1 —Specify a time interval (in seconds) that an IPv6 address prefix remains in the valid state. The range is 5 to 4294967295 seconds. Specify infinite for no time interval.

4.blank.gif

link-address IPv6-prefix

(Optional) Specify a link-address IPv6 prefix.

When an address on the incoming interface or a link-address in the packet matches the specified IPv6 prefix, the server uses the configuration information pool.

This address must be in hexadecimal, using 16-bit values between colons.

5.blank.gif

vendor-specific vendor-id

(Optional) Enter vendor-specific configuration mode, and enter a vendor-specific identification number. This number is the vendor IANA Private Enterprise Number. The range is 1 to 4294967295.

6.blank.gif

suboption number { address IPv6-address | ascii ASCII-string | hex hex-string}

(Optional) Enter a vendor-specific suboption number. The range is 1 to 65535. Enter an IPv6 address, ASCII text, or a hex string as defined by the suboption parameters.

7.blank.gif

exit

Return to DHCP pool configuration mode.

8.blank.gif

exit

Return to global configuration mode.

9.blank.gif

interface interface-id

Enter interface configuration mode, and specify the interface to configure.

10.blank.gif

ipv6 dhcp server [ poolname | automatic ] [ rapid-commit ] [ preference value] [ allow-hint ]

Enable the DHCPv6 server function on an interface.

blank.gif poolname —(Optional) User-defined name for the IPv6 DHCP pool. The pool name can be a symbolic string (such as Engineering) or an integer (such as 0).

blank.gif automatic —(Optional) Enables the system to automatically determine which pool to use when allocating addresses for a client.

blank.gif rapid-commit —(Optional) Allow two-message exchange method.

blank.gif preference value —(Optional) The preference value carried in the preference option in the advertise message sent by the server. The range is from 0 to 255. The preference value default is 0.

blank.gif allow-hint —(Optional) Specifies whether the server should consider client suggestions in the SOLICIT message. By default, the server ignores client hints.

11.blank.gif

end

Return to privileged EXEC mode.

12.blank.gif

show ipv6 dhcp pool

or

show ipv6 dhcp interface

Verify DHCPv6 pool configuration.

Verify that the DHCPv6 server function is enabled on an interface.

13.blank.gif

copy running-config startup-config

(Optional) Save your entries in the configuration file.

To delete a DHCPv6 pool, use the no ipv6 dhcp pool poolname global configuration command. Use the no form of the DHCP pool configuration mode commands to change the DHCPv6 pool characteristics. To disable the DHCPv6 server function on an interface, use the no ipv6 dhcp server interface configuration command.

EXAMPLE

This example shows how to configure a pool called engineering with an IPv6 address prefix:

Switch# configure terminal
Switch(config)# ipv6 dhcp pool engineering
Switch(config-dhcpv6)#address prefix 2001:1000::0/64
Switch(config-dhcpv6)# end
 

This example shows how to configure a pool called testgroup with three link-addresses and an IPv6 address prefix:

Switch# configure terminal
Switch(config)# ipv6 dhcp pool testgroup
Switch(config-dhcpv6)# link-address 2001:1001::0/64
Switch(config-dhcpv6)# link-address 2001:1002::0/64
Switch(config-dhcpv6)# link-address 2001:2000::0/48
Switch(config-dhcpv6)# address prefix 2001:1003::0/64
Switch(config-dhcpv6)# end
 

This example shows how to configure a pool called 350 with vendor-specific options:

Switch# configure terminal
Switch(config)# ipv6 dhcp pool 350
Switch(config-dhcpv6)# address prefix 2001:1005::0/48
Switch(config-dhcpv6)# vendor-specific 9
Switch(config-dhcpv6-vs)# suboption 1 address 1000:235D::1
Switch(config-dhcpv6-vs)# suboption 2 ascii "IP-Phone"
Switch(config-dhcpv6-vs)# end

Enabling the DHCPv6 Client Function

BEFORE YOU BEGIN

See DHCPv6 Address Assignment Configuration Guidelines.

DETAILED STEPS

 

 
Command
Purpose

1.blank.gif

configure terminal

Enter global configuration mode.

2.blank.gif

interface interface-id

Enter interface configuration mode, and specify the interface to configure.

3.blank.gif

ipv6 address dhcp [ rapid-commit ]

Enable the interface to acquire an IPv6 address from the DHCPv6 server.

rapid-commit—(Optional) Allow two-message exchange method for address assignment.

4.blank.gif

ipv6 dhcp client request [ vendor-specific ]

(Optional) Enable the interface to request the vendor-specific option.

5.blank.gif

end

Return to privileged EXEC mode.

6.blank.gif

show ipv6 dhcp interface

Verify that the DHCPv6 client is enabled on an interface.

To disable the DHCPv6 client function, use the no ipv6 address dhcp interface configuration command. To remove the DHCPv6 client request, use the no ipv6 address dhcp client request interface configuration command.

EXAMPLE

This example shows how to acquire an IPv6 address and to enable the rapid-commit option:

Switch(config)# interface gigabitethernet0/1
Switch(config-if)# ipv6 address dhcp rapid-commit

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.

BEFORE YOU BEGIN

Complete the Configuring IPv6 Addressing and Enabling IPv6 Routing.

DETAILED STEPS

 

 
Command
Purpose

1.blank.gif

configure terminal

Enter global configuration mode.

2.blank.gif

ipv6 icmp error-interval interval [ bucketsize ]

Configure the interval and bucket size for IPv6 ICMP error messages:

blank.gif interval— The interval (in milliseconds) between tokens being added to the bucket. The range is from 0 to 2147483647 milliseconds.

blank.gif bucketsize —(Optional) The maximum number of tokens stored in the bucket. The range is from 1 to 200.

3.blank.gif

end

Return to privileged EXEC mode.

4.blank.gif

show ipv6 interface [ interface-id ]

Verify your entries.

5.blank.gif

copy running-config startup-config

(Optional) Save your entries in the configuration file.

To return to the default configuration, use the no ipv6 icmp error-interval global configuration command.

EXAMPLE

This example shows how to configure an IPv6 ICMP error message interval of 50 milliseconds and a bucket size of 20 tokens:

Switch(config)#ipv6 icmp error-interval 50 20

Configuring CEF for IPv6

Cisco Express Forwarding (CEF) is a Layer 3 IP switching technology, allowing more CPU processing power to be dedicated to packet forwarding. IPv4 CEF is enabled by default. IPv6 CEF is disabled by default, but automatically enabled when you configure IPv6 routing.

To route IPv6 unicast packets, first globally configure forwarding of IPv6 unicast packets by using the ipv6 unicast-routing global configuration command. You must also configure an IPv6 address and IPv6 processing on an interface by using the ipv6 address interface configuration command.

To disable IPv6 CEF, use the no ipv6 cef global configuration command. To reenable IPv6 CEF, use the ipv6 cef global configuration command. You can verify the IPv6 state by entering the show ipv6 cef privileged EXEC command.

For more information about configuring CEF, see the “Implementing IPv6 Addressing and Basic Connectivity” chapter in the IPv6 Implementation Guide, Cisco IOS Release 15.2M&T.

Configuring Static Routing for IPv6

BEFORE YOU BEGIN

Before configuring a static IPv6 route, you must:

blank.gifEnable routing by using the ip routing global configuration command.

blank.gifEnable the forwarding of IPv6 packets by using the ipv6 unicast-routing global configuration command.

blank.gifEnable IPv6 on at least one Layer 3 interface by configuring an IPv6 address on the interface.

DETAILED STEPS

 

 
Command
Purpose

1.blank.gif

configure terminal

Enter global configuration mode.

2.blank.gif

ipv6 route ipv6-prefix/prefix length { ipv6-address | interface-id [ ipv6-address ]} [ administrative distance ]

Configure a static IPv6 route.

blank.gif ipv6-prefix— The IPv6 network that is the destination of the static route. It can also be a hostname when static host routes are configured.

blank.gif /prefix length— The length of the IPv6 prefix. A decimal value that shows how many of the high-order contiguous bits comprise the prefix (the network portion of the address). A slash mark must precede the decimal value.

blank.gif ipv6-address The IPv6 address of the next hop that can be used to reach the specified network. The next hop does not need to be directly connected; recursion finds the IPv6 address of the directly connected next hop. The address must be specified in hexadecimal using 16-bit values between colons.

blank.gif interface-id —Specify direct static routes from point-to-point and broadcast interfaces. On point-to-point interfaces, you do not need to specify the IPv6 address of the next hop. On broadcast interfaces, you should always specify the IPv6 address of the next hop, or ensure that the specified prefix is assigned to the link, specifying a link-local address as the next hop. You can optionally specify the IPv6 address of the next hop to which packets are sent.

Note: You must specify an interface-id when using a link-local address as the next hop. The link-local next hop must be an adjacent router.

blank.gif administrative distance— (Optional) An administrative distance. The range is 1 to 254; the default value is 1, which gives static routes precedence over all but connected routes. To configure a floating static route, use an administrative distance greater than that of the dynamic routing protocol.

3.blank.gif

end

Return to privileged EXEC mode.

4.blank.gif

show ipv6 static [ ipv6-address | ipv6-prefix/prefix length ] [ interface interface-id ] [ recursive ] [ detail ]

or

show ipv6 route static [ updated ]

Verify your entries by displaying the IPv6 routing table.

blank.gif interface interface-id— (Optional) Display only those static routes with the specified interface as an egress interface.

blank.gifrecursive—(Optional) Display only recursive static routes. The recursive keyword is mutually exclusive with the interface keyword, but it can be used with or without the IPv6 prefix in the command syntax.

blank.gifdetail—(Optional) Display this additional information:

blank.gifFor valid recursive routes, the output path set, and maximum resolution depth.

blank.gifFor invalid routes, the reason why the route is not valid.

5.blank.gif

copy running-config startup-config

(Optional) Save your entries in the configuration file.

To remove a configured static route, use the no ipv6 route ipv6-prefix/prefix length { ipv6-address | interface-id [ ipv6-address ]} [ administrative distance ] global configuration command.

For more information about configuring static IPv6 routing, see the “Implementing Static Routes for IPv6” chapter in the IPv6 Implementation Guide, Cisco IOS Release 15.2M&T.

EXAMPLE

This example shows how to configure a floating static route to an interface. The route has an administrative distance of 130:

Switch(config)# ipv6 route 2001:0DB8::/32 gigabitethernet0/1 130

Configuring RIP for IPv6

BEFORE YOU BEGIN

Before configuring the switch to run IPv6 RIP, you must:

blank.gifEnable routing by using the ip routing global configuration command.

blank.gifEnable the forwarding of IPv6 packets by using the ipv6 unicast-routing global configuration command.

blank.gifEnable IPv6 on any Layer 3 interfaces on which IPv6 RIP is to be enabled.

DETAILED STEPS

 

 
Command
Purpose

1.blank.gif

configure terminal

Enter global configuration mode.

2.blank.gif

ipv6 router rip name

Configure an IPv6 RIP routing process, and enter router configuration mode for the process.

3.blank.gif

maximum-paths number-paths

(Optional) Define the maximum number of equal-cost routes that IPv6 RIP can support. The range is from 1 to 64, and the default is 4 routes.

4.blank.gif

exit

Return to global configuration mode.

5.blank.gif

interface interface-id

Enter interface configuration mode, and specify the Layer 3 interface to configure.

6.blank.gif

ipv6 rip name enable

Enable the specified IPv6 RIP routing process on the interface.

7.blank.gif

ipv6 rip name default-information { only | originate }

(Optional) Originate the IPv6 default route (::/0) into the RIP routing process updates sent from the specified interface.

Note: To avoid routing loops after the IPv6 default route (::/0) is originated from any interface, the routing process ignores all default routes received on any interface.

blank.gif only —Select to originate the default route, but suppress all other routes in the updates sent on this interface.

blank.gif originate —Select to originate the default route in addition to all other routes in the updates sent on this interface.

8.blank.gif

end

Return to privileged EXEC mode.

9.blank.gif

show ipv6 rip [ name ] [ interface interface-id ] [ database ] [ next-hops ]

or

show ipv6 route rip [ updated ]

Display information about current IPv6 RIP processes.


Display the current contents of the IPv6 routing table.

10.blank.gif

copy running-config startup-config

(Optional) Save your entries in the configuration file.

To disable a RIP routing process, use the no ipv6 router rip name global configuration command. To disable the RIP routing process for an interface, use the no ipv6 rip name interface configuration command.

For more information about configuring RIP routing for IPv6, see the “Implementing RIP for IPv6” chapter in the IPv6 Implementation Guide, Cisco IOS Release 15.2M&T.

EXAMPLE

This example shows how to enable the RIP routing process cisco with a maximum of eight equal-cost routes and to enable it on an interface:

Switch(config)# ipv6 router rip cisco
Switch(config-router)# maximum-paths 8
Switch(config)# exit
Switch(config)# interface gigabitethernet0/3
Switch(config-if)# ipv6 rip cisco enable

Configuring OSPF for IPv6

You can customize OSPF for IPv6 for your network. However, the defaults are set to meet the requirements of most customers and features.

Be careful when changing the defaults for IPv6 commands. Doing so might adversely affect OSPF for the IPv6 network.

BEFORE YOU BEGIN

Before you enable IPv6 OSPF on an interface, you must:

blank.gifEnable routing by using the ip routing global configuration command.

blank.gifEnable the forwarding of IPv6 packets by using the ipv6 unicast-routing global configuration command.

blank.gifEnable IPv6 on Layer 3 interfaces on which you are enabling IPv6 OSPF.

DETAILED STEPS

 

 
Command
Purpose

1.blank.gif

configure terminal

Enter global configuration mode.

2.blank.gif

ipv6 router ospf process-id

Enable OSPF router configuration mode for the process. The process ID is the number assigned administratively when enabling the OSPF for IPv6 routing process. It is locally assigned and can be a positive integer from 1 to 65535.

3.blank.gif

area area-id range { ipv6-prefix/prefix length } [ advertise | not-advertise ] [ cost cost ]

(Optional) Consolidate and summarize routes at an area boundary.

blank.gif area-id— Identifier of the area about which routes are to be summarized. It can be specified as either a decimal value or as an IPv6 prefix.

blank.gif ipv6-prefix/prefix length The destination IPv6 network and a decimal value that shows how many of the high-order contiguous bits of the address comprise the prefix (the network portion of the address). A slash mark (/) must precede the decimal value.

blank.gif advertise —(Optional) Set the address range status to advertise and to generate a Type 3 summary link-state advertisement (LSA).

blank.gif not-advertise —(Optional) Set the address range status to DoNotAdvertise. The Type 3 summary LSA is suppressed, and component networks remain hidden from other networks.

blank.gif cost cost —(Optional) Metric or cost for this summary route, which is used during OSPF SPF calculation to determine the shortest paths to the destination. The value can be 0 to 16777215.

4.blank.gif

maximum paths number-paths

(Optional) Define the maximum number of equal-cost routes to the same destination that IPv6 OSPF should enter in the routing table. The range is from 1 to 64, and the default is 16 paths.

5.blank.gif

exit

Return to global configuration mode.

6.blank.gif

interface interface-id

Enter interface configuration mode, and specify the Layer 3 interface to configure.

7.blank.gif

ipv6 ospf process-id area area-id [ instance instance-id ]

Enable OSPF for IPv6 on the interface.

blank.gif instance instance-id— (Optional) Instance identifier.

8.blank.gif

end

Return to privileged EXEC mode.

9.blank.gif

show ipv6 ospf [ process-id ] [ area-id ] interface [ interface-id ]

or

show ipv6 ospf [ process-id ] [ area-id ]

Display information about OSPF interfaces.


 

Display general information about OSPF routing processes.

10.blank.gif

copy running-config startup-config

(Optional) Save your entries in the configuration file.

To disable an OSPF routing process, use the no ipv6 router ospf process-id global configuration command. To disable the OSPF routing process for an interface, use the no ipv6 ospf process-id area area-id interface configuration command.

For more information about configuring OSPF routing for IPv6, see the “Implementing OSPF for IPv6” chapter in the IPv6 Implementation Guide, Cisco IOS Release 15.2M&T.

Configuring EIGRP for IPv6

By default, EIGRP for IPv6 is disabled. You can configure EIGRP for IPv6 on an interface. After configuring the router and the interface for EIGRP, enter the no shutdown privileged EXEC command to start EIGRP.

Note: If EIGRP for IPv6 is not in shutdown mode, EIGRP might start running before you enter the EIRGP router-mode commands to configure the router and the interface.

To set an explicit router ID, use the show ipv6 eigrp command to see the configured router IDs, and then use the router-id command.

As with EIGRP IPv4, you can use EIGRPv6 to specify your EIGRP IPv4 interfaces and to select a subset of those as passive interfaces. Use the passive-interface default command to make all interfaces passive, and then use the no passive-interface command on selected interfaces to make them active. EIGRP IPv6 does not need to be configured on a passive interface.

For more configuration procedures, see the “Implementing EIGRP for IPv6” chapter in the IPv6 Implementation Guide, Cisco IOS Release 15.2M&T.

Configuring BGP for IPv6

When configuring multiprotocol BGP extensions for IPv6, you must create the BGP routing process, configure peering relationships, and customize BGP for your particular network. Note that BGP functions the same in IPv6 as in IPv4.

BEFORE YOU BEGIN

Before configuring the router to run BGP for IPv6, you must use the ipv6 unicast-routing command to globally enable IPv6 routing.

DETAILED STEPS

 

 
Command
Purpose

1.blank.gif

configure terminal

Enter global configuration mode.

2.blank.gif

router bgp as-number

Configure a BGP routing process, and enter BGP router configuration mode for the autonomous system number.

3.blank.gif

no bgp default ipv4-unicast

Disable the IPv4 unicast address family for the BGP routing process specified in the previous step.

Routing information for the IPv4 unicast address family is advertised by default for each BGP routing session unless you enter this command before configuring the neighbor remote-as command.

4.blank.gif

bgp router-id ip-address

(Optional) Configure a fixed 32-bit router ID as the identifier of the local router running BGP. By default, the router ID is the IPv4 address of a router loopback interface. On a router enabled only for IPv6 (no IPv4 address), you must manually configure the BGP router ID.

Note: Configuring a router ID by using this command resets all active BGP peering sessions.

5.blank.gif

neighbor { ip-address | ipv6-address[%] interface-type interface-number | peer-group-name } remote-as as-number

Add the IPv6 address of the neighbor in the specified autonomous system to the IPv6 multiprotocol BGP neighbor table of the local router.

Note: The ipv6-address must be in hexadecimal, using 16-bit values between colons.

6.blank.gif

address-family ipv6

Specify the IPv6 address family and enter address family configuration mode

7.blank.gif

neighbor { ip-address | peer-group-name | ipv6-address } activate

Enable the neighbor to exchange prefixes for the IPv6 address family with the local router.

8.blank.gif

end

Return to privileged EXEC mode.

9.blank.gif

show bgp ipv6

Display information about IPv6 BGP configuration.

10.blank.gif

copy running-config startup-config

(Optional) Save your entries in the configuration file.

For more configuration procedures, see the “Implementing Multiprotocol BGP for IPv6” chapter in the IPv6 Implementation Guide, Cisco IOS Release 15.2M&T.

The switch does not support multicast IPv6 BGP, nonstop forwarding (NSF) for IPv6 BGP, 6PE multipath (EoMPLS), or IPv6 VRF.

EXAMPLE

router bgp 1
bgp router-id 1.1.1.1
no bgp default ipv4-unicast
!--- Without configuring ""no bgp default ipv4-unicast"" only IPv4 will be
!--- advertised
bgp log-neighbor-changes
neighbor 2010:AB8:0:2:C601:10FF:FE58:0 remote-as 2
!
address-family ipv6
neighbor 2010:AB8:0:2:C601:10FF:FE58:0 activate
network 2010:AB8:2::/48
network 2010:AB8:3::/48
exit-address-family
!

Verifying Configuration

 

Command
Purpose

show bgp ipv6

Display BGP IPv6 configuration and routing tables.

show ipv6 access-list

Display IPv6 access lists.

show ipv6 cef

Display Cisco Express Forwarding for IPv6.

show ipv6 interface interface-id

Display IPv6 interface status and configuration.

show ipv6 mtu

Display IPv6 MTU per destination cache.

show ipv6 neighbors

Display IPv6 neighbor cache entries.

show ipv6 ospf

Display IPv6 OSPF information.

show ipv6 prefix-list

Display IPv6 prefix lists.

show ipv6 protocols

Display IPv6 routing protocols on the switch.

show ipv6 rip

Display IPv6 RIP routing protocol status.

show ipv6 route

Display IPv6 route table entries.

show ipv6 routers

Display local IPv6 routers.

show ipv6 static

Display IPv6 static routes.

show ipv6 traffic

Display IPv6 traffic statistics.

 

Command
Purpose

show ipv6 eigrp [ as-number ] interface

Display information about interfaces configured for EIGRP IPv6.

show ipv6 eigrp [ as-number ] neighbor

Display the neighbors discovered by EIGRP IPv6.

show ipv6 eigrp [ as-number ] traffic

Display the number of EIGRP IPv6 packets sent and received.

show ipv6 eigrp topology [ as-number | ipv6-address ] [ active | all-links | detail-links | pending | summary | zero-successors ]

Display EIGRP entries in the IPv6 topology table.

 

Command
Purpose

show ip http server history

Display the previous 20 connections to the HTTP server, including the IP address accessed and the time when the connection was closed.

show ip http server connection

Display the current connections to the HTTP server, including the local and remote IP addresses being accessed.

show ip http client connection

Display the configuration values for HTTP client connections to HTTP servers.

show ip http client history

Display a list of the last 20 requests made by the HTTP client to the server.

Configuration Example

This is an example of the output from the show ipv6 interface privileged EXEC command:

Switch# show ipv6 interface
Vlan1 is up, line protocol is up
IPv6 is enabled, link-local address is FE80::20B:46FF:FE2F:D940
Global unicast address(es):
3FFE:C000:0:1:20B:46FF:FE2F:D940, subnet is 3FFE:C000:0: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
<output truncated>
 

This is an example of the output from the show ipv6 cef privileged EXEC command:

Switch# show ipv6 cef
::/0
nexthop 3FFE:C000:0:7::777 Vlan7
3FFE:C000:0:1::/64
attached to Vlan1
3FFE:C000:0:1:20B:46FF:FE2F:D940/128
receive
3FFE:C000:0:7::/64
attached to Vlan7
3FFE:C000:0:7::777/128
attached to Vlan7
3FFE:C000:0:7:20B:46FF:FE2F:D97F/128
receive
3FFE:C000:111:1::/64
attached to GigabitEthernet0/11
3FFE:C000:111:1:20B:46FF:FE2F:D945/128
receive
3FFE:C000:168:1::/64
attached to GigabitEthernet0/43
3FFE:C000:168:1:20B:46FF:FE2F:D94B/128
receive
3FFE:C000:16A:1::/64
attached to Loopback10
3FFE:C000:16A:1:20B:46FF:FE2F:D900/128
receive
 
<output truncated>
 

This is an example of the output from the show ipv6 protocols privileged EXEC command:

Switch# show ipv6 protocols
IPv6 Routing Protocol is “connected”
IPv6 Routing Protocol is “static”
IPv6 Routing Protocol is “rip fer”
Interfaces:
Vlan6
GigabitEthernet0/4
GigabitEthernet0/11
GigabitEthernet0/12
Redistribution:
None
 

This is an example of the output from the show ipv6 rip privileged EXEC command:

Switch# show ipv6 rip
RIP process "fer", port 521, multicast-group FF02::9, pid 190
Administrative distance is 120. Maximum paths is 16
Updates every 30 seconds, expire after 180
Holddown lasts 0 seconds, garbage collect after 120
Split horizon is on; poison reverse is off
Default routes are not generated
Periodic updates 9040, trigger updates 60
Interfaces:
Vlan6
GigabitEthernet0/4
GigabitEthernet0/11
GigabitEthernet0/12
Redistribution:
None
 

This is an example of the output from the show ipv6 neighbor privileged EXEC command:

Switch# show ipv6 neighbors
IPv6 Address Age Link-layer Addr State Interface
3FFE:C000:0:7::777 - 0007.0007.0007 REACH Vl7
3FFE:C101:113:1::33 - 0000.0000.0033 REACH Gi0/13
 

This is an example of the output from the show ipv6 static privileged EXEC command:

Switch# show ipv6 static
IPv6 Static routes
Code: * - installed in RIB
* ::/0 via nexthop 3FFE:C000:0:7::777, distance 1
 

This is an example of the output from the show ipv6 route privileged EXEC command:

Switch# show ipv6 route
IPv6 Routing Table - 21 entries
Codes: C - Connected, L - Local, S - Static, R - RIP, B - BGP
U - Per-user Static route
I1 - ISIS L1, I2 - ISIS L2, IA - ISIS interarea, IS - ISIS summary
O - OSPF intra, OI - OSPF inter, OE1 - OSPF ext 1, OE2 - OSPF ext 2
ON1 - OSPF NSSA ext 1, ON2 - OSPF NSSA ext 2
S ::/0 [1/0]
via 3FFE:C000:0:7::777
C 3FFE:C000:0:1::/64 [0/0]
via ::, Vlan1
L 3FFE:C000:0:1:20B:46FF:FE2F:D940/128 [0/0]
via ::, Vlan1
C 3FFE:C000:0:7::/64 [0/0]
via ::, Vlan7
L 3FFE:C000:0:7:20B:46FF:FE2F:D97F/128 [0/0]
via ::, Vlan7
C 3FFE:C000:111:1::/64 [0/0]
via ::, GigabitEthernet0/11
L 3FFE:C000:111:1:20B:46FF:FE2F:D945/128 [0/0]
C 3FFE:C000:168:1::/64 [0/0]
via ::, GigabitEthernet0/4
L 3FFE:C000:168:1:20B:46FF:FE2F:D94B/128 [0/0]
via ::, GigabitEthernet0/4
C 3FFE:C000:16A:1::/64 [0/0]
via ::, Loopback10
L 3FFE:C000:16A:1:20B:46FF:FE2F:D900/128 [0/0]
via ::, Loopback10
 
<output truncated>
 

This is an example of the output from the show ipv6 traffic privileged EXEC command.

Switch# show ipv6 traffic
IPv6 statistics:
Rcvd: 1 total, 1 local destination
0 source-routed, 0 truncated
0 format errors, 0 hop count exceeded
0 bad header, 0 unknown option, 0 bad source
0 unknown protocol, 0 not a router
0 fragments, 0 total reassembled
0 reassembly timeouts, 0 reassembly failures
Sent: 36861 generated, 0 forwarded
0 fragmented into 0 fragments, 0 failed
0 encapsulation failed, 0 no route, 0 too big
0 RPF drops, 0 RPF suppressed drops
Mcast: 1 received, 36861 sent
 
ICMP statistics:
Rcvd: 1 input, 0 checksum errors, 0 too short
0 unknown info type, 0 unknown error type
unreach: 0 routing, 0 admin, 0 neighbor, 0 address, 0 port
parameter: 0 error, 0 header, 0 option
0 hopcount expired, 0 reassembly timeout,0 too big
0 echo request, 0 echo reply
0 group query, 0 group report, 0 group reduce
1 router solicit, 0 router advert, 0 redirects
0 neighbor solicit, 0 neighbor advert
Sent: 10112 output, 0 rate-limited
unreach: 0 routing, 0 admin, 0 neighbor, 0 address, 0 port
parameter: 0 error, 0 header, 0 option
0 hopcount expired, 0 reassembly timeout,0 too big
0 echo request, 0 echo reply
0 group query, 0 group report, 0 group reduce
0 router solicit, 9944 router advert, 0 redirects
84 neighbor solicit, 84 neighbor advert
 
UDP statistics:
Rcvd: 0 input, 0 checksum errors, 0 length errors
0 no port, 0 dropped
Sent: 26749 output
 
TCP statistics:
Rcvd: 0 input, 0 checksum errors
Sent: 0 output, 0 retransmitted

Related Documents

For information about how Cisco Systems implements IPv6:

blank.gif http://www.cisco.com/en/US/products/ps6553/products_ios_technology_home.html

For information about IPv6 and other features in this chapter:

blank.gif IPv6 Configuration Library, Cisco IOS Release 15M&T

blank.gifIPv6 Implementation Guide, Cisco IOS Release 15.2M&T