37-10
Cisco IE 3000 Switch Software Configuration Guide
OL-13018-03
Chapter 37 Configuring IPv6 Host Functions
Displaying IPv6
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.
This example shows how to configure a floating static route with an administrative distance of 130 to an
interface:
Switch(config)#
ipv6 route 2001:0DB8::/32 gigabitethernet0/1 130
For more information about configuring static IPv6 routing, see the “Implementing Static Routes for
IPv6” chapter in the
Cisco IOS IPv6 Configuration Library
on Cisco.com
.
Displaying IPv6
For complete syntax and usage information on these commands, see the Cisco IOS command reference
publications.
Table 37-2
shows the privileged EXEC commands for monitoring IPv6 on the switch.
Step 4
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 contents of the IPv6 routing
table.
•
interface
interface-id—
(Optional)
Display only those static
routes with the specified interface as an egress interface.
•
recursive
—(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
included in the command syntax.
•
detail
—(Optional)
Display this additional information:
–
For valid recursive routes, the output path set, and
maximum resolution depth.
–
For invalid routes, the reason why the route is not valid.
Step 5
copy running-config startup-config
(Optional) Save your entries in the configuration file.
Command
Purpose
Table 37-2
Commands for Monitoring IPv6
Command
Purpose
show ipv6 access-list
Display a summary of access lists.
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 prefix-list
Display a list of IPv6 prefix lists.
show ipv6 protocols
Display IPv6 routing protocols on the switch.
show ipv6 route
Display the IPv6 route table entries.
show ipv6 static
Display IPv6 static routes.
show ipv6 traffic
Display IPv6 traffic statistics.