show ipv6 route
Use this command to display the IP routing table for a protocol or from a particular table, including database entries known by NSM. When multiple entries are available for the same prefix, NSM uses an internal route selection mechanism based on protocol administrative distance and metric values to choose the best route. The best routes in the FIB can be viewed using show ipv6 route.
Command Syntax
show ipv6 route vrf WORD (database|)
show ipv6 route vrf WORD (database|) (bgp|connected|isis|kernel|ospf|rip|static|summary)
show ipv6 route (database)
show ipv6 route (database) (bgp|connected|isis|kernel|ospf|rip|static)
show ipv6 route X:X::X:X
show ipv6 route X:X::X:X/M
show ipv6 route summary
show ipv6 route vrf all summary
Parameters
X:X::X:X
Network in the IP routing table.
X:X::X:X/M
Prefix <network>/<length>, e.g., 35.0.0.0/8
all
All IPv6 routes
bgp
Border Gateway Protocol.
connected
Connected.
database
IPv6 routing table database.
isis
IS-IS.
IFNAME
Interface name
kernel
Kernel.
ospf
Open Shortest Path First.
rip
Routing Information Protocol.
static
Static routes.
summary
Summarize all routes
vrf WORD
Routes from a Virtual Routing and Forwarding instance.
vrf all
Routes for all VRF instances.
Default
None
Command Mode
Execution mode and Privileged execution mode
Applicability
Introduced before OcNOS version 1.3. Added the Total number of IPv6 routes (All VRFs) field to the show ipv6 route vrf all summary display output in OcNOS version 7.0.0.
Examples
See Table 116. route codes and modifiers and Table 117. route entry output details tables for an explanation of the codes and fields in the output.
#show ipv6 route
Codes: K - kernel route, C - connected, S - static, R - RIPng, O - OSPFv3,
I - IS-IS, B - BGP, > - selected route, * - FIB route, p - stale info.
C> * ::1/128 is directly connected, lo
C> * 3ffe:1::/48 is directly connected, eth1
C> * 3ffe:2:2::/48 is directly connected, eth2
OcNOS#show ipv6 route vrf all summary
-----------------------------------------------
IPv6 routing table name is Default-IPv6-Routing-Table(0)
-----------------------------------------------
IPv6 routing table maximum-paths : 8
Total number of IPv6 routes : 1
Total number of IPv6 paths : 1
Pending routes (due to route max reached): 0
Route Source Networks
connected 1
Total 1
FIB 1
ECMP statistics (active in ASIC):
Total number of IPv6 ECMP routes : 0
Total number of IPv6 ECMP paths : 0
-----------------------------------------------
IPv6 routing table name is management(1)
-----------------------------------------------
IPv6 routing table maximum-paths : 8
Total number of IPv6 routes : 2
Total number of IPv6 paths : 2
Pending routes (due to route max reached): 0
Route Source Networks
connected 2
Total 2
FIB 2
ECMP statistics (active in ASIC):
Total number of IPv6 ECMP routes : 0
Total number of IPv6 ECMP paths : 0
-----------------------------------------------
IPv6 routing table name is red(2)
-----------------------------------------------
IPv6 routing table maximum-paths : 8
Total number of IPv6 routes : 2
Total number of IPv6 paths : 2
Pending routes (due to route max reached): 0
Route Source Networks
connected 2
Total 2
FIB 2
ECMP statistics (active in ASIC):
Total number of IPv6 ECMP routes : 0
Total number of IPv6 ECMP paths : 0
Total number of IPv6 routes (All VRFs) : 5