View Routes Information
View routes information to view the current configuration.
About this task
Not all parameters are available in non-default VRFs.
IPv6 host routes created for the IPv6 local interfaces do not display in the routing table.
Procedure
Example
Switch:1(config-if)#show ipv6 route ======================================================================================================================== IPv6 Routing Table Information - GlobalRouter ======================================================================================================================== Destination Address/PrefixLen NEXT HOP NH VRF/ISID VID/BID/TID PROTO COST AGE TYPE PREF ------------------------------------------------------------------------------------------------------------------------ 22:0:0:0:0:0:0:0/64 0:0:0:0:0:0:0:0 - V-22 LOCAL 1 0 B 0 123:0:0:0:0:0:0:0/64 0:0:0:0:0:0:0:0 - C-1 LOCAL 1 0 B 0 ------------------------------------------------------------------------------------------------------------------------ 4 out of 4 Total Num of Route Entries displayed. ------------------------------------------------------------------------------------------------------------------------ TYPE Legend: A=Alternative Route, B=Best Route, E=Ecmp Route
Switch:1#show ipv6 route count-summary ================================================================================ IPv6 Route Summary - GlobalRouter ================================================================================ VRF NAME TOTAL OSPF RIP BGP STATIC LOCAL ISIS -------------------------------------------------------------------------------- GlobalRouter 13 10 0 3 1 2 7 ================================================================================
Switch:1#show ipv6 route static ==================================================================================================== Static Route Information - GlobalRouter ==================================================================================================== DEST-IP NET IFINDX(VID/BRT/TUN) ENABLE STATUS NAME NEXT-HOP PREFERENCE ---------------------------------------------------------------------------------------------------- 22:0:0:0:0:0:0:0 64 2059 (V-11 ) enable NotReachable ExtSer10 66:0:0:0:0:0:0:66 5 1 out of 1 Total Num of Static Routes displayed. Global IPv6 Static Routes Admin Status: enable
Switch:1#show ipv6 route spbm-nh-as-mac ================================================================================ IPv6 Routing Table Information - GlobalRouter ================================================================================ Destination Address/PrefixLen NEXT HOP NH VRF/ISID VID/BID/TID PROTO COST AGE TYPE PREF ---------------------------------------------------------------------------------------------------------- 2001:cdab:0:0:0:0:0:0/32 0:0:0:0:0:0:0:0 - V-611 LOCAL 1 0 B 0 2002:cdab:0:0:0:0:0:0/32 80:2d:30:00:00:01 - V-10 ISIS 1 0 B 0 ----------------------------------------------------------------------------------------------------------
Variable Definitions
Use the data in the following table to use the show ipv6 route command.
Variable |
Value |
---|---|
count-summary |
Shows the total number of OSPF, static, and local routes. |
dest WORD<0–46> |
Specifies the IPv6 destination network address. The prefix value must match the prefix length. |
next-hop WORD<0–46> |
Specifies the IPv6 address of the next hop on this route. |
spbm-nh-as-mac |
Shows the B-MAC address as the next hop rather than the host name. |
{slot/port[/sub-port]} |
Identifies a single slot and port. If the platform supports channelization and the port is channelized, you must also specify the sub-port in the format slot/port/sub-port. |
static |
Shows static IPv6 routes. |
tunnel <1–2000> |
Shows route entries for a specific tunnel ID. |
vlan<1-4059> |
Shows route entries for a specific VLAN ID. |
vrfWORD<1–16> |
Shows the VRF name. |
vrfidsWORD<1–256> |
Shows the VRF ID. |