© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v IPv6 Operations Examining Cisco IOS Software Commands
© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v Cisco IOS IPv6 Configuration Example Router1 configuration scenario: Manually configure IPv6 address on all interfaces. Configure router advertisement for LAN1 and LAN2 only. Install default route to Router2. LAN1: 2001:db8:c18:1::/64 LAN2: 2001:db8:c18:2::/64 Ethernet0 Ethernet1 Router1 Router2 fe80::260:3eff:fe47:1530 IPv6 Internet
© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v ipv6 unicast-routing interface Ethernet0 ipv6 address 2001:db8:c18:1::a/64 ipv6 nd prefix 2001:db8:c18:1::/ interface Ethernet1 ipv6 address 2001:db8:c18:2::a/64 ipv6 nd prefix 2001:db8:c18:2::/ ipv6 route ::/0 Ethernet0 fe80::260:3eff:fe47:1530 Default Route to Router2 Router Advertisement on LAN2 IPv6 Address on Ethernet Interfaces LAN1: 2001:db8:c18:1::/64 LAN2: 2001:db8:c18:2::/64 Ethernet0 Ethernet1 Router1 Router2 fe80::260:3eff:fe47:1530 Cisco IOS IPv6 Configuration Example (Cont.) IPv6 Internet
© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v Cisco IOS show Commands router# ping 2001:DB8:C18:1:260:3EFF:FE47:1530 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 2001:DB8:C18:1:260:3EFF:FE47:1530, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms IPv6 ICMP echo request to the default router: router# show ipv6 neighbors IPv6 Address Age Link-layer Addr State Interface FE80:: 260:3EFF:FE47: e REACH Ethernet0 2001:DB8:C18:1:260:3EFF:FE47: e REACH Ethernet0 Display the neighbor discovery cache on the router:
© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v Cisco IOS debug Commands Some debug commands are available: debug ipv6 packet router# IPv6 packet-level debugging debug ipv6 icmp ICMPv6 debugging debug ipv6 nd Neighbor discovery debugging debug ipv6 routing IPv6 routing table event debugging
© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v Cisco IOS debug Command Example debug ipv6 icmp example: router# debug ipv6 icmp ICMPv6: Sending echo request to 2001:DB8:C18:1::85 ICMPv6: Received ICMPv6 packet from 2001:DB8:C18:1::85, type 129 ICMPv6: Received ICMPv6 packet from FE80::260:3EFF:FE47:1530, type 134 IPv6 ICMP Echo Request and Reply to Router Router Advertisement Message
© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v Summary Many commands are used within Cisco IOS to configure IPv6, including global commands to enable IPv6 routing and interface-specific commands to alter default settings for prefix advertisement. All commands will be familiar to anyone who uses the Cisco CLI for IPv4 configuration. Troubleshooting an IPv6 implementation is accomplished using the Cisco CLI show and debug commands, which allow the current state of the device to be reviewed. Debugging provides a real-time view of activity.
© 2006 Cisco Systems, Inc. All rights reserved.IP6FD v2.02-8