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

Copy
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

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

WORD

Routes from a Virtual Routing and Forwarding instance

Default

None

Command Mode

Execution mode and Privileged execution mode

Applicability

This command was introduced before OcNOS version 1.3.

Examples

See Table 111. route codes and modifiers and Table 112. route entry output details tables for an explanation of the codes and fields in the output.

Copy
#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