3.2.2. show

show interface

vrouter> show interface [vrf <string>] [type <identityref>] [LEVEL] [name <string>]

Show interface information.

Input Parameters

vrf <string>
VRF to look into.
type <identityref>
Interface type.
LEVEL

The level of information requested.

LEVEL values Description
statistics Display statistics.
details Display more details.
up Display UP interfaces only.
hardware-statistics Display hardware statistics. Implies physical type.
hardware-features Display hardware features. Implies physical type.
hardware-information Display hardware information. Implies physical type.
hardware-driver-information Display hardware driver information. Implies physical type.
name <string>
Display only one interface by this name.

show ipv4-routes

vrouter> show ipv4-routes [vrf <string>] [table <uint32>]

Show IPv4 routing table.

Input Parameters

vrf <string>
Specify the VRF.
table <uint32>
Non-main Kernel Routing Table.

show ipv6-routes

vrouter> show ipv6-routes [vrf <string>] [table <uint32>]

Show IPv6 routing table.

Input Parameters

vrf <string>
Specify the VRF.
table <uint32>
Non-main Kernel Routing Table.

show mpls table

vrouter> show mpls table [<uint32>]

Show MPLS table information.

Input Parameters

<uint32>
LSP to display information about.

show bgp

vrouter> show bgp pbr ipset [set <string>] iptable [chain <string>] [vrf <string>] \
...            [vrfs] [summary] [neighbors] neighbor [id ID] [route-map <string>] \
...            ipv4 ip [VALUE] [bestpath] [multipath] prefix [value VALUE] [bestpath] \
...            [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] \
...            [route-map <string>] flowspec ip [VALUE] [bestpath] [multipath] \
...            prefix [value VALUE] [bestpath] [multipath] [longer-prefixes] \
...            [detail] [cidr-only] [statistics] [summary] [route-map <string>] \
...            unicast ip [VALUE] [bestpath] [multipath] prefix [value VALUE] \
...            [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] \
...            [summary] [route-map <string>] multicast ip [VALUE] [bestpath] \
...            [multipath] prefix [value VALUE] [bestpath] [multipath] [longer-prefixes] \
...            [cidr-only] [statistics] [summary] [route-map <string>] labeled-unicast \
...            ip [VALUE] [bestpath] [multipath] prefix [value VALUE] [bestpath] \
...            [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] \
...            [route-map <string>] vpn ip [VALUE] [bestpath] [multipath] prefix \
...            [value VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] \
...            [statistics] [summary] [route-map <string>] neighbor [id ID] \
...            [advertised-routes] [dampened-routes] [filtered-routes] [flap-statistics] \
...            [prefix-counts] received [prefix-filter] [received-routes] [routes] \
...            [neighbors] ipv6 ip [value VALUE] [bestpath] [multipath] prefix \
...            [VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] \
...            [statistics] [summary] [route-map <string>] flowspec ip [value VALUE] \
...            [bestpath] [multipath] prefix [VALUE] [bestpath] [multipath] \
...            [longer-prefixes] [detail] [cidr-only] [statistics] [summary] \
...            [route-map <string>] unicast ip [value VALUE] [bestpath] [multipath] \
...            prefix [VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] \
...            [statistics] [summary] [route-map <string>] multicast ip [value VALUE] \
...            [bestpath] [multipath] prefix [VALUE] [bestpath] [multipath] \
...            [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>] \
...            labeled-unicast ip [value VALUE] [bestpath] [multipath] prefix \
...            [VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] \
...            [statistics] [summary] [route-map <string>] vpn ip [value VALUE] \
...            [bestpath] [multipath] prefix [VALUE] [bestpath] [multipath] \
...            [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>] \
...            neighbor [id ID] [advertised-routes] [dampened-routes] [filtered-routes] \
...            [flap-statistics] [prefix-counts] received [prefix-filter] [received-routes] \
...            [routes] [neighbors]

Show BGP information.

Input Parameters

pbr ipset [set <string>] iptable [chain <string>]

Display information about PBR configured by BGP.

ipset [set <string>]

Display information about PBR IPSETs configured by BGP.

set <string>
Display information about this set.
iptable [chain <string>]

Display information about PBR IPTables chainsa configured by BGP.

chain <string>
Display information about this chain.
vrf <string>
Specify the VRF.
vrfs
Show BGP VRFs.
summary
Summary of BGP neighbor status.
neighbors
Display information about all BGP neighbors.
neighbor [id ID]

Display information about one BGP neighbor.

id ID

Display information about one BGP neighbor.

ID values Description
<A.B.C.D> An IPv4 address.
<X:X::X:X> An IPv6 address.
<string> No description.
route-map <string>
Display information about this route map.
ipv4 ip [VALUE] [bestpath] [multipath] prefix [value VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>] flowspec ip [VALUE] [bestpath] [multipath] prefix [value VALUE] [bestpath] [multipath] [longer-prefixes] [detail] [cidr-only] [statistics] [summary] [route-map <string>] unicast ip [VALUE] [bestpath] [multipath] prefix [value VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>] multicast ip [VALUE] [bestpath] [multipath] prefix [value VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>] labeled-unicast ip [VALUE] [bestpath] [multipath] prefix [value VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>] vpn ip [VALUE] [bestpath] [multipath] prefix [value VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>] neighbor [id ID] [advertised-routes] [dampened-routes] [filtered-routes] [flap-statistics] [prefix-counts] received [prefix-filter] [received-routes] [routes] [neighbors]

Display information about BGP IPv4.

ip [VALUE] [bestpath] [multipath]

Display this address in the BGP routing table.

VALUE

Display this address in the BGP routing table.

VALUE An IPv4 address.
bestpath
Display only the best path.
multipath
Display only multipaths.
prefix [value VALUE] [bestpath] [multipath] [longer-prefixes]

Display this prefix in the BGP routing table.

value VALUE

Display this prefix in the BGP routing table.

VALUE An IPv4 prefix: address and CIDR mask.
bestpath
Display only the best path.
multipath
Display only multipaths.
longer-prefixes
Display route and more specific routes.
cidr-only
Display only routes with non-natural netmask.
statistics
Display BGP RIB advertisement statistics.
summary
Display summary of BGP neighbor status.
route-map <string>
Display information about this route map.
flowspec ip [VALUE] [bestpath] [multipath] prefix [value VALUE] [bestpath] [multipath] [longer-prefixes] [detail] [cidr-only] [statistics] [summary] [route-map <string>]

Display information for flowspec address family.

ip [VALUE] [bestpath] [multipath]

Display this address in the BGP routing table.

VALUE

Display this address in the BGP routing table.

VALUE An IPv4 address.
bestpath
Display only the best path.
multipath
Display only multipaths.
prefix [value VALUE] [bestpath] [multipath] [longer-prefixes]

Display this prefix in the BGP routing table.

value VALUE

Display this prefix in the BGP routing table.

VALUE An IPv4 prefix: address and CIDR mask.
bestpath
Display only the best path.
multipath
Display only multipaths.
longer-prefixes
Display route and more specific routes.
detail
Display detailed information on flowspec entries.
cidr-only
Display only routes with non-natural netmask.
statistics
Display BGP RIB advertisement statistics.
summary
Display summary of BGP neighbor status.
route-map <string>
Display information about this route map.
unicast ip [VALUE] [bestpath] [multipath] prefix [value VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>]

Display information for unicast address family.

ip [VALUE] [bestpath] [multipath]

Display this address in the BGP routing table.

VALUE

Display this address in the BGP routing table.

VALUE An IPv4 address.
bestpath
Display only the best path.
multipath
Display only multipaths.
prefix [value VALUE] [bestpath] [multipath] [longer-prefixes]

Display this prefix in the BGP routing table.

value VALUE

Display this prefix in the BGP routing table.

VALUE An IPv4 prefix: address and CIDR mask.
bestpath
Display only the best path.
multipath
Display only multipaths.
longer-prefixes
Display route and more specific routes.
cidr-only
Display only routes with non-natural netmask.
statistics
Display BGP RIB advertisement statistics.
summary
Display summary of BGP neighbor status.
route-map <string>
Display information about this route map.
multicast ip [VALUE] [bestpath] [multipath] prefix [value VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>]

Display information for multicast address family.

ip [VALUE] [bestpath] [multipath]

Display this address in the BGP routing table.

VALUE

Display this address in the BGP routing table.

VALUE An IPv4 address.
bestpath
Display only the best path.
multipath
Display only multipaths.
prefix [value VALUE] [bestpath] [multipath] [longer-prefixes]

Display this prefix in the BGP routing table.

value VALUE

Display this prefix in the BGP routing table.

VALUE An IPv4 prefix: address and CIDR mask.
bestpath
Display only the best path.
multipath
Display only multipaths.
longer-prefixes
Display route and more specific routes.
cidr-only
Display only routes with non-natural netmask.
statistics
Display BGP RIB advertisement statistics.
summary
Display summary of BGP neighbor status.
route-map <string>
Display information about this route map.
labeled-unicast ip [VALUE] [bestpath] [multipath] prefix [value VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>]

Display information for labeled unicast address family.

ip [VALUE] [bestpath] [multipath]

Display this address in the BGP routing table.

VALUE

Display this address in the BGP routing table.

VALUE An IPv4 address.
bestpath
Display only the best path.
multipath
Display only multipaths.
prefix [value VALUE] [bestpath] [multipath] [longer-prefixes]

Display this prefix in the BGP routing table.

value VALUE

Display this prefix in the BGP routing table.

VALUE An IPv4 prefix: address and CIDR mask.
bestpath
Display only the best path.
multipath
Display only multipaths.
longer-prefixes
Display route and more specific routes.
cidr-only
Display only routes with non-natural netmask.
statistics
Display BGP RIB advertisement statistics.
summary
Display summary of BGP neighbor status.
route-map <string>
Display information about this route map.
vpn ip [VALUE] [bestpath] [multipath] prefix [value VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>]

Display information for VPN address family.

ip [VALUE] [bestpath] [multipath]

Display this address in the BGP routing table.

VALUE

Display this address in the BGP routing table.

VALUE An IPv4 address.
bestpath
Display only the best path.
multipath
Display only multipaths.
prefix [value VALUE] [bestpath] [multipath] [longer-prefixes]

Display this prefix in the BGP routing table.

value VALUE

Display this prefix in the BGP routing table.

VALUE An IPv4 prefix: address and CIDR mask.
bestpath
Display only the best path.
multipath
Display only multipaths.
longer-prefixes
Display route and more specific routes.
cidr-only
Display only routes with non-natural netmask.
statistics
Display BGP RIB advertisement statistics.
summary
Display summary of BGP neighbor status.
route-map <string>
Display information about this route map.
neighbor [id ID] [advertised-routes] [dampened-routes] [filtered-routes] [flap-statistics] [prefix-counts] received [prefix-filter] [received-routes] [routes]

Display information about one BGP neighbor.

id ID

Display information about one BGP neighbor.

ID values Description
<A.B.C.D> An IPv4 address.
<string> No description.
advertised-routes
Display the routes advertised to a BGP neighbor.
dampened-routes
Display the dampened routes received from neighbor.
filtered-routes
Display the filtered routes received from neighbor.
flap-statistics
Display the flap statistics of the routes learned from neighbor.
prefix-counts
Display detailed prefix count information.
received [prefix-filter]

Display information received from a BGP neighbor.

prefix-filter
Display the prefixlist filter.
received-routes
Display the received routes from neighbor.
routes
Display routes learned from neighbor.
neighbors
Display information about all BGP neighbors.
ipv6 ip [value VALUE] [bestpath] [multipath] prefix [VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>] flowspec ip [value VALUE] [bestpath] [multipath] prefix [VALUE] [bestpath] [multipath] [longer-prefixes] [detail] [cidr-only] [statistics] [summary] [route-map <string>] unicast ip [value VALUE] [bestpath] [multipath] prefix [VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>] multicast ip [value VALUE] [bestpath] [multipath] prefix [VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>] labeled-unicast ip [value VALUE] [bestpath] [multipath] prefix [VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>] vpn ip [value VALUE] [bestpath] [multipath] prefix [VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>] neighbor [id ID] [advertised-routes] [dampened-routes] [filtered-routes] [flap-statistics] [prefix-counts] received [prefix-filter] [received-routes] [routes] [neighbors]

Display information about BGP IPv6.

ip [value VALUE] [bestpath] [multipath]

Display this address in the BGP routing table.

value VALUE

Display this address in the BGP routing table.

VALUE An IPv6 address.
bestpath
Display only the best path.
multipath
Display only multipaths.
prefix [VALUE] [bestpath] [multipath] [longer-prefixes]

Display this prefix in the BGP routing table.

VALUE

Display this prefix in the BGP routing table.

VALUE An IPv6 prefix: address and CIDR mask.
bestpath
Display only the best path.
multipath
Display only multipaths.
longer-prefixes
Display route and more specific routes.
cidr-only
Display only routes with non-natural netmask.
statistics
Display BGP RIB advertisement statistics.
summary
Display summary of BGP neighbor status.
route-map <string>
Display information about this route map.
flowspec ip [value VALUE] [bestpath] [multipath] prefix [VALUE] [bestpath] [multipath] [longer-prefixes] [detail] [cidr-only] [statistics] [summary] [route-map <string>]

Display information for flowspec address family.

ip [value VALUE] [bestpath] [multipath]

Display this address in the BGP routing table.

value VALUE

Display this address in the BGP routing table.

VALUE An IPv6 address.
bestpath
Display only the best path.
multipath
Display only multipaths.
prefix [VALUE] [bestpath] [multipath] [longer-prefixes]

Display this prefix in the BGP routing table.

VALUE

Display this prefix in the BGP routing table.

VALUE An IPv6 prefix: address and CIDR mask.
bestpath
Display only the best path.
multipath
Display only multipaths.
longer-prefixes
Display route and more specific routes.
detail
Display detailed information on flowspec entries.
cidr-only
Display only routes with non-natural netmask.
statistics
Display BGP RIB advertisement statistics.
summary
Display summary of BGP neighbor status.
route-map <string>
Display information about this route map.
unicast ip [value VALUE] [bestpath] [multipath] prefix [VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>]

Display information for unicast address family.

ip [value VALUE] [bestpath] [multipath]

Display this address in the BGP routing table.

value VALUE

Display this address in the BGP routing table.

VALUE An IPv6 address.
bestpath
Display only the best path.
multipath
Display only multipaths.
prefix [VALUE] [bestpath] [multipath] [longer-prefixes]

Display this prefix in the BGP routing table.

VALUE

Display this prefix in the BGP routing table.

VALUE An IPv6 prefix: address and CIDR mask.
bestpath
Display only the best path.
multipath
Display only multipaths.
longer-prefixes
Display route and more specific routes.
cidr-only
Display only routes with non-natural netmask.
statistics
Display BGP RIB advertisement statistics.
summary
Display summary of BGP neighbor status.
route-map <string>
Display information about this route map.
multicast ip [value VALUE] [bestpath] [multipath] prefix [VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>]

Display information for multicast address family.

ip [value VALUE] [bestpath] [multipath]

Display this address in the BGP routing table.

value VALUE

Display this address in the BGP routing table.

VALUE An IPv6 address.
bestpath
Display only the best path.
multipath
Display only multipaths.
prefix [VALUE] [bestpath] [multipath] [longer-prefixes]

Display this prefix in the BGP routing table.

VALUE

Display this prefix in the BGP routing table.

VALUE An IPv6 prefix: address and CIDR mask.
bestpath
Display only the best path.
multipath
Display only multipaths.
longer-prefixes
Display route and more specific routes.
cidr-only
Display only routes with non-natural netmask.
statistics
Display BGP RIB advertisement statistics.
summary
Display summary of BGP neighbor status.
route-map <string>
Display information about this route map.
labeled-unicast ip [value VALUE] [bestpath] [multipath] prefix [VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>]

Display information for labeled unicast address family.

ip [value VALUE] [bestpath] [multipath]

Display this address in the BGP routing table.

value VALUE

Display this address in the BGP routing table.

VALUE An IPv6 address.
bestpath
Display only the best path.
multipath
Display only multipaths.
prefix [VALUE] [bestpath] [multipath] [longer-prefixes]

Display this prefix in the BGP routing table.

VALUE

Display this prefix in the BGP routing table.

VALUE An IPv6 prefix: address and CIDR mask.
bestpath
Display only the best path.
multipath
Display only multipaths.
longer-prefixes
Display route and more specific routes.
cidr-only
Display only routes with non-natural netmask.
statistics
Display BGP RIB advertisement statistics.
summary
Display summary of BGP neighbor status.
route-map <string>
Display information about this route map.
vpn ip [value VALUE] [bestpath] [multipath] prefix [VALUE] [bestpath] [multipath] [longer-prefixes] [cidr-only] [statistics] [summary] [route-map <string>]

Display information for VPN address family.

ip [value VALUE] [bestpath] [multipath]

Display this address in the BGP routing table.

value VALUE

Display this address in the BGP routing table.

VALUE An IPv6 address.
bestpath
Display only the best path.
multipath
Display only multipaths.
prefix [VALUE] [bestpath] [multipath] [longer-prefixes]

Display this prefix in the BGP routing table.

VALUE

Display this prefix in the BGP routing table.

VALUE An IPv6 prefix: address and CIDR mask.
bestpath
Display only the best path.
multipath
Display only multipaths.
longer-prefixes
Display route and more specific routes.
cidr-only
Display only routes with non-natural netmask.
statistics
Display BGP RIB advertisement statistics.
summary
Display summary of BGP neighbor status.
route-map <string>
Display information about this route map.
neighbor [id ID] [advertised-routes] [dampened-routes] [filtered-routes] [flap-statistics] [prefix-counts] received [prefix-filter] [received-routes] [routes]

Display information about one BGP neighbor.

id ID

Display information about one BGP neighbor.

ID values Description
<X:X::X:X> An IPv6 address.
<string> No description.
advertised-routes
Display the routes advertised to a BGP neighbor.
dampened-routes
Display the dampened routes received from neighbor.
filtered-routes
Display the filtered routes received from neighbor.
flap-statistics
Display the flap statistics of the routes learned from neighbor.
prefix-counts
Display detailed prefix count information.
received [prefix-filter]

Display information received from a BGP neighbor.

prefix-filter
Display the prefixlist filter.
received-routes
Display the received routes from neighbor.
routes
Display routes learned from neighbor.
neighbors
Display information about all BGP neighbors.

show ospf

vrouter> show ospf [vrf <string>] [route] database [default] router [ADDRESS] [neighbor] \
...            interface [NAME]

Show OSPF information.

Input Parameters

vrf <string>
Specify the VRF.
route
OSPF routing table.
database [default] router [ADDRESS]

Database summary.

default
Database summary.
router [ADDRESS]

Database Router link states.

ADDRESS

The router address.

ADDRESS values Description
<A.B.C.D> An IPv4 address.
self-originate Self-originated link states.
neighbor
Neighbor list.
interface [NAME]

Interface information.

NAME

The interface name. If not specified, show all interfaces.

NAME An interface name.

show rip

vrouter> show rip [vrf <string>] [status]

Show RIP information.

Input Parameters

vrf <string>
Specify the VRF.
status
Show RIP status.

show ospf6

vrouter> show ospf6 [vrf <string>] route [DESTINATION] database [default] [router] \
...            [neighbor] interface [NAME]

Show OSPFv3 information.

Input Parameters

vrf <string>
Specify the VRF.
route [DESTINATION]

OSPFv3 routing table.

DESTINATION

The route destination.

DESTINATION values Description
<X:X::X:X> An IPv6 address.
<X:X::X:X/M> An IPv6 prefix: address and CIDR mask.
detail Detailed information.
external-1 Display Type-1 External routes.
external-2 Display Type-2 External routes.
inter-area Display Inter-Area routes.
intra-area Display Intra-Area routes.
summary Route table summary.
database [default] [router]

Database summary.

default
Database summary.
router
Database Router link states.
neighbor
Neighbor list.
interface [NAME]

Interface information.

NAME

The interface name. If not specified, show all interfaces.

NAME An interface name.

show ripng

vrouter> show ripng [status]

Show RIPng information.

Input Parameters

status
Show RIPng status.

show mpls ldp

vrouter> show mpls ldp discovery [detail] [interface] [capabilities] neighbor [LSR-ID] \
...            [capabilities] [detail] binding [PREFIX] [longer-prefixes] [local-label <uint32>] \
...            [remote-label <uint32>] [neighbor NEIGHBOR] [detail] [ipv4] [ipv6]

Show MPLS LDP information.

Input Parameters

discovery [detail]

Discovery Hello Information.

detail
Show detailed information.
interface
Interface information.
capabilities
Display neighbor capability information.
neighbor [LSR-ID] [capabilities] [detail]

Neighbor information.

LSR-ID

OSPF routing table.

LSR-ID An IPv4 address.
capabilities
Display neighbor capability information.
detail
Show detailed information.
binding [PREFIX] [longer-prefixes] [local-label <uint32>] [remote-label <uint32>] [neighbor NEIGHBOR] [detail] [ipv4] [ipv6]

Label Information Base (LIB) information.

PREFIX

Destination prefix.

PREFIX values Description
<A.B.C.D/M> An IPv4 prefix: address and CIDR mask.
<X:X::X:X/M> An IPv6 prefix: address and CIDR mask.
longer-prefixes
Include longer matches.
local-label <uint32>
Locally assigned label value.
remote-label <uint32>
Match remotely assigned label values.
neighbor NEIGHBOR

Display labels from LDP neighbor.

NEIGHBOR An IPv4 address.
detail
Show detailed information.
ipv4
IPv4 Address Family.
ipv6
IPv6 Address Family.

show log

vrouter> show log [max-lines <uint16>] [service <identityref>] [vrf <leafref>] \
...            [kernel]

Print log.

Input Parameters

max-lines <uint16>
Log max lines.
service <identityref>
Filter logs by service.
vrf <leafref>
Filter logs by VRF.
kernel
Show kernel message log from the current boot.

show ntp

vrouter> show ntp [vrf <string>] [details]

Show NTP information.

Input Parameters

vrf <string>
VRF to look into.
details
Show per server details.

show dhcp-server

vrouter> show dhcp-server [vrf <leafref>]

Show DHCP server leases.

Input Parameters

vrf <leafref>
Specify the VRF.