946
Configuring IPv6 Unicast Routing
Configuring 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.
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:
Enable routing by using the ip routing global configuration command.
Enable the forwarding of IPv6 packets by using the ipv6 unicast-routing global configuration command.
Enable IPv6 on any Layer 3 interfaces on which IPv6 RIP is to be enabled.
3. end Return to privileged EXEC mode.
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 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 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.
5. copy running-config
startup-config
(Optional) Save your entries in the configuration file.
Command Purpose