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 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>] 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>] 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>] 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.
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>] 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.
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 ROUTER] [neighbor] \
...            [interface INTERFACE]

Show OSPF information.

Input Parameters

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

Database summary.

default
Database summary.
router ROUTER

Database Router link states.

ROUTER values Description
<A.B.C.D> An IPv4 address.
self-originate Self-originated link states.
neighbor
Neighbor list.
interface INTERFACE

Interface information.

INTERFACE 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 [route ROUTE] database [default] [router] [neighbor] [interface INTERFACE]

Show OSPFv3 information.

Input Parameters

route ROUTE

OSPFv3 routing table.

ROUTE 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 INTERFACE

Interface information.

INTERFACE An interface name.

show ripng

vrouter> show ripng [status]

Show RIPng information.

Input Parameters

status
Show RIPng status.

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 ike

vrouter> show ike [vrf <string>] counters [vpn <string>] ike-sa [details] selector \
...            [vpn <string>] [remote-ip <string>] [remote-id <string>] [state STATE] \
...            ike-sa-count [state STATE] child-sa-count [fastpath]

Show filtered SA state or general information.

Input Parameters

vrf <string>
Show objects in selected netns only.
counters [vpn <string>]

Show IKE counters.

vpn <string>
Show counters for selected VPN.
ike-sa [details] selector [vpn <string>] [remote-ip <string>] [remote-id <string>] [state STATE]

Show SA state.

details
Show detailed output.
selector [vpn <string>] [remote-ip <string>] [remote-id <string>] [state STATE]

Show state of a selected type of SAs.

vpn <string>
Show SA for selected VPN.
remote-ip <string>
Show SAs to selected remote-ip.
remote-id <string>
Show SAs to selected remote-id.
state STATE

Show SAs in selected state.

STATE values Description
created IKE SA just got created, but is not initiating nor responding yet.
connecting IKE SA gets initiated actively or passively.
established IKE SA is fully established.
passive IKE SA is managed externally and does not process messages.
rekeying IKE SA rekeying in progress.
rekeyed IKE SA has been rekeyed (or is redundant).
deleting IKE SA deletion in progress.
destroying IKE SA object gets destroyed.
ike-sa-count [state STATE]

Show SA count.

state STATE

Only count SAs in selected state.

STATE values Description
created IKE SA just got created, but is not initiating nor responding yet.
connecting IKE SA gets initiated actively or passively.
established IKE SA is fully established.
passive IKE SA is managed externally and does not process messages.
rekeying IKE SA rekeying in progress.
rekeyed IKE SA has been rekeyed (or is redundant).
deleting IKE SA deletion in progress.
destroying IKE SA object gets destroyed.
child-sa-count [fastpath]

Show child SA count from Linux.

fastpath
Show child SA count from Fast-Path.