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.
LEVELThe level of information requested.
LEVELvaluesDescription
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>] [to TO]
Show IPv4 routing table.
Input Parameters¶
vrf <string>Specify the VRF.
table <uint32>Non-main Kernel Routing Table.
to TOFind the route entry used to reach an IP address.
TO
An IPv4 address.
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.
vrfsShow BGP VRFs.
summarySummary of BGP neighbor status.
neighborsDisplay information about all BGP neighbors.
neighbor [id ID]Display information about one BGP neighbor.
id IDDisplay information about one BGP neighbor.
IDvaluesDescription
<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.
VALUEDisplay this address in the BGP routing table.
VALUE
An IPv4 address.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
prefix [value VALUE] [bestpath] [multipath] [longer-prefixes]Display this prefix in the BGP routing table.
value VALUEDisplay this prefix in the BGP routing table.
VALUE
An IPv4 prefix: address and CIDR mask.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
longer-prefixesDisplay route and more specific routes.
cidr-onlyDisplay only routes with non-natural netmask.
statisticsDisplay BGP RIB advertisement statistics.
summaryDisplay 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.
VALUEDisplay this address in the BGP routing table.
VALUE
An IPv4 address.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
prefix [value VALUE] [bestpath] [multipath] [longer-prefixes]Display this prefix in the BGP routing table.
value VALUEDisplay this prefix in the BGP routing table.
VALUE
An IPv4 prefix: address and CIDR mask.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
longer-prefixesDisplay route and more specific routes.
detailDisplay detailed information on flowspec entries.
cidr-onlyDisplay only routes with non-natural netmask.
statisticsDisplay BGP RIB advertisement statistics.
summaryDisplay 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.
VALUEDisplay this address in the BGP routing table.
VALUE
An IPv4 address.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
prefix [value VALUE] [bestpath] [multipath] [longer-prefixes]Display this prefix in the BGP routing table.
value VALUEDisplay this prefix in the BGP routing table.
VALUE
An IPv4 prefix: address and CIDR mask.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
longer-prefixesDisplay route and more specific routes.
cidr-onlyDisplay only routes with non-natural netmask.
statisticsDisplay BGP RIB advertisement statistics.
summaryDisplay 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.
VALUEDisplay this address in the BGP routing table.
VALUE
An IPv4 address.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
prefix [value VALUE] [bestpath] [multipath] [longer-prefixes]Display this prefix in the BGP routing table.
value VALUEDisplay this prefix in the BGP routing table.
VALUE
An IPv4 prefix: address and CIDR mask.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
longer-prefixesDisplay route and more specific routes.
cidr-onlyDisplay only routes with non-natural netmask.
statisticsDisplay BGP RIB advertisement statistics.
summaryDisplay 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.
VALUEDisplay this address in the BGP routing table.
VALUE
An IPv4 address.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
prefix [value VALUE] [bestpath] [multipath] [longer-prefixes]Display this prefix in the BGP routing table.
value VALUEDisplay this prefix in the BGP routing table.
VALUE
An IPv4 prefix: address and CIDR mask.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
longer-prefixesDisplay route and more specific routes.
cidr-onlyDisplay only routes with non-natural netmask.
statisticsDisplay BGP RIB advertisement statistics.
summaryDisplay 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.
VALUEDisplay this address in the BGP routing table.
VALUE
An IPv4 address.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
prefix [value VALUE] [bestpath] [multipath] [longer-prefixes]Display this prefix in the BGP routing table.
value VALUEDisplay this prefix in the BGP routing table.
VALUE
An IPv4 prefix: address and CIDR mask.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
longer-prefixesDisplay route and more specific routes.
cidr-onlyDisplay only routes with non-natural netmask.
statisticsDisplay BGP RIB advertisement statistics.
summaryDisplay 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 IDDisplay information about one BGP neighbor.
IDvaluesDescription
<A.B.C.D>
An IPv4 address.
<string>
No description.
advertised-routesDisplay the routes advertised to a BGP neighbor.
dampened-routesDisplay the dampened routes received from neighbor.
filtered-routesDisplay the filtered routes received from neighbor.
flap-statisticsDisplay the flap statistics of the routes learned from neighbor.
prefix-countsDisplay detailed prefix count information.
received [prefix-filter]Display information received from a BGP neighbor.
prefix-filterDisplay the prefixlist filter.
received-routesDisplay the received routes from neighbor.
routesDisplay routes learned from neighbor.
neighborsDisplay 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 VALUEDisplay this address in the BGP routing table.
VALUE
An IPv6 address.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
prefix [VALUE] [bestpath] [multipath] [longer-prefixes]Display this prefix in the BGP routing table.
VALUEDisplay this prefix in the BGP routing table.
VALUE
An IPv6 prefix: address and CIDR mask.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
longer-prefixesDisplay route and more specific routes.
cidr-onlyDisplay only routes with non-natural netmask.
statisticsDisplay BGP RIB advertisement statistics.
summaryDisplay 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 VALUEDisplay this address in the BGP routing table.
VALUE
An IPv6 address.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
prefix [VALUE] [bestpath] [multipath] [longer-prefixes]Display this prefix in the BGP routing table.
VALUEDisplay this prefix in the BGP routing table.
VALUE
An IPv6 prefix: address and CIDR mask.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
longer-prefixesDisplay route and more specific routes.
detailDisplay detailed information on flowspec entries.
cidr-onlyDisplay only routes with non-natural netmask.
statisticsDisplay BGP RIB advertisement statistics.
summaryDisplay 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 VALUEDisplay this address in the BGP routing table.
VALUE
An IPv6 address.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
prefix [VALUE] [bestpath] [multipath] [longer-prefixes]Display this prefix in the BGP routing table.
VALUEDisplay this prefix in the BGP routing table.
VALUE
An IPv6 prefix: address and CIDR mask.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
longer-prefixesDisplay route and more specific routes.
cidr-onlyDisplay only routes with non-natural netmask.
statisticsDisplay BGP RIB advertisement statistics.
summaryDisplay 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 VALUEDisplay this address in the BGP routing table.
VALUE
An IPv6 address.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
prefix [VALUE] [bestpath] [multipath] [longer-prefixes]Display this prefix in the BGP routing table.
VALUEDisplay this prefix in the BGP routing table.
VALUE
An IPv6 prefix: address and CIDR mask.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
longer-prefixesDisplay route and more specific routes.
cidr-onlyDisplay only routes with non-natural netmask.
statisticsDisplay BGP RIB advertisement statistics.
summaryDisplay 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 VALUEDisplay this address in the BGP routing table.
VALUE
An IPv6 address.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
prefix [VALUE] [bestpath] [multipath] [longer-prefixes]Display this prefix in the BGP routing table.
VALUEDisplay this prefix in the BGP routing table.
VALUE
An IPv6 prefix: address and CIDR mask.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
longer-prefixesDisplay route and more specific routes.
cidr-onlyDisplay only routes with non-natural netmask.
statisticsDisplay BGP RIB advertisement statistics.
summaryDisplay 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 VALUEDisplay this address in the BGP routing table.
VALUE
An IPv6 address.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
prefix [VALUE] [bestpath] [multipath] [longer-prefixes]Display this prefix in the BGP routing table.
VALUEDisplay this prefix in the BGP routing table.
VALUE
An IPv6 prefix: address and CIDR mask.
bestpathDisplay only the best path.
multipathDisplay only multipaths.
longer-prefixesDisplay route and more specific routes.
cidr-onlyDisplay only routes with non-natural netmask.
statisticsDisplay BGP RIB advertisement statistics.
summaryDisplay 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 IDDisplay information about one BGP neighbor.
IDvaluesDescription
<X:X::X:X>
An IPv6 address.
<string>
No description.
advertised-routesDisplay the routes advertised to a BGP neighbor.
dampened-routesDisplay the dampened routes received from neighbor.
filtered-routesDisplay the filtered routes received from neighbor.
flap-statisticsDisplay the flap statistics of the routes learned from neighbor.
prefix-countsDisplay detailed prefix count information.
received [prefix-filter]Display information received from a BGP neighbor.
prefix-filterDisplay the prefixlist filter.
received-routesDisplay the received routes from neighbor.
routesDisplay routes learned from neighbor.
neighborsDisplay 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.
routeOSPF routing table.
database [default] router [ADDRESS]Database summary.
defaultDatabase summary.
router [ADDRESS]Database Router link states.
ADDRESSThe router address.
ADDRESSvaluesDescription
<A.B.C.D>
An IPv4 address.
self-originate
Self-originated link states.
neighborNeighbor list.
interface [NAME]Interface information.
NAMEThe 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.
statusShow 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.
DESTINATIONThe route destination.
DESTINATIONvaluesDescription
<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.
defaultDatabase summary.
routerDatabase Router link states.
neighborNeighbor list.
interface [NAME]Interface information.
NAMEThe interface name. If not specified, show all interfaces.
NAME
An interface name.
show ripng¶
vrouter> show ripng [status]
Show RIPng information.
Input Parameters¶
statusShow 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.
detailShow detailed information.
interfaceInterface information.
capabilitiesDisplay neighbor capability information.
neighbor [LSR-ID] [capabilities] [detail]Neighbor information.
LSR-IDOSPF routing table.
LSR-ID
An IPv4 address.
capabilitiesDisplay neighbor capability information.
detailShow detailed information.
binding [PREFIX] [longer-prefixes] [local-label <uint32>] [remote-label <uint32>] [neighbor NEIGHBOR] [detail] [ipv4] [ipv6]Label Information Base (LIB) information.
PREFIXDestination prefix.
PREFIXvaluesDescription
<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-prefixesInclude longer matches.
local-label <uint32>Locally assigned label value.
remote-label <uint32>Match remotely assigned label values.
neighbor NEIGHBORDisplay labels from LDP neighbor.
NEIGHBOR
An IPv4 address.
detailShow detailed information.
ipv4IPv4 Address Family.
ipv6IPv6 Address Family.
show bfd¶
vrouter> show bfd [vrf VRF] [address ADDRESS] [HOP-TYPE] [source SOURCE] [interface INTERFACE] \
... [counters]
Show BFD information.
Input Parameters¶
vrf VRFSpecify the VRF.
VRFvaluesDescription
main
The main vrf.
<string>
The vrf name.
address ADDRESSIP address of the peer.
ADDRESSvaluesDescription
<A.B.C.D>
An IPv4 address.
<X:X::X:X>
An IPv6 address.
HOP-TYPEShow single or multi hop session.
HOP-TYPEvaluesDescription
single-hop
Show single-hop session.
multi-hop
Show multi-hop session.
source SOURCELocal IP address.
SOURCEvaluesDescription
<A.B.C.D>
An IPv4 address.
<X:X::X:X>
An IPv6 address.
any
Accept any source addresses.
interface INTERFACEInterface used to contact peer.
INTERFACE
An interface name.
countersShow BFD session counters information.
show path-monitoring¶
vrouter> show path-monitoring [vrf VRF] [address ADDRESS] [operational]
Show path monitoring information.
Input Parameters¶
vrf VRFSpecify the VRF.
VRFvaluesDescription
main
The main vrf.
<string>
The vrf name.
address ADDRESSIP address of the peer.
ADDRESSvaluesDescription
<A.B.C.D>
An IPv4 address.
<X:X::X:X>
An IPv6 address.
operationalShow session operational information.
show log¶
vrouter> show log [max-lines <uint16>] [service <identityref>] [vrf <string>] [facility FACILITY] \
... level [greater-or-equal GREATER-OR-EQUAL] not
Print log.
Input Parameters¶
max-lines <uint16>Log max lines.
service <identityref>Filter logs by service.
vrf <string>Filter logs by VRF.
facility FACILITYFilter logs by facility.
FACILITYvaluesDescription
kernel
Filter kernel messages.
mail
Filter mail system messages.
news
Filter network news subsystem messages.
user
Filter random user-level messages.
auth
Filter security/authorization messages.
authpriv
Filter security/authorization messages (private).
cron
Filter clock daemon messages.
daemon
Filter system daemons messages.
line-printer
Filter line printer subsystem messages.
FTP
Filter FTP daemon messages.
syslog
Filter messages generated internally by the syslog daemon.
uucp
Filter UUCP subsystem messages.
local0
Filter messages from local0.
local1
Filter messages from local1.
local2
Filter messages from local2.
local3
Filter messages from local3.
local4
Filter messages from local4.
local5
Filter messages from local5.
local6
Filter messages from local6.
local7
Filter messages from local7.
any
Filter messages from any facilities.
level [greater-or-equal GREATER-OR-EQUAL] notFilter logs by level.
greater-or-equal GREATER-OR-EQUALFilter messages with a greater or equal level than the selected one.
GREATER-OR-EQUALvaluesDescription
emergency
System is unusable.
alert
Action must be taken immediately.
critical
Critical conditions.
error
Error conditions.
warning
Warning conditions.
notice
Normal but significant condition.
info
Informational messages.
debug
Debug-level messages.
notSelect levels to not show.
show ntp¶
vrouter> show ntp [vrf <string>] [details]
Show NTP information.
Input Parameters¶
vrf <string>VRF to look into.
detailsShow per server details.
show dhcp-server¶
vrouter> show dhcp-server [vrf <string>]
Show DHCP server leases.
Input Parameters¶
vrf <string>Specify the VRF.
show conntracks¶
vrouter> show conntracks [vrf <string>] [family FAMILY] [protocol PROTOCOL]
Show conntracks.
Input Parameters¶
vrf <string>The VRF in which to show the conntracks.
family FAMILYDisplay only this layer 3 family.
FAMILYvaluesDescription
ipv4
IPv4 only.
ipv6
IPv6 only.
<string>
No description.
protocol PROTOCOLDisplay only this layer 4 protocol.
PROTOCOLvaluesDescription
tcp
TCP only.
udp
UDP only.
<string>
No description.
show cg-nat pool-usage¶
vrouter> show cg-nat pool-usage [vrf <string>] pool-name <string> [address ADDRESS]
Show address usage of a CG-NAT pool.
Input Parameters¶
vrf <string>VRF.
pool-name <string>(mandatory)IP address pool name.
address ADDRESSIP address in the pool.
ADDRESS
An IPv4 address.
show cg-nat port-usage¶
vrouter> show cg-nat port-usage [vrf <string>] rule-id <uint16> user-address USER-ADDRESS
Show port usage of a CG-NAT user.
Input Parameters¶
vrf <string>VRF.
rule-id <uint16>(mandatory)Rule id.
user-address USER-ADDRESS(mandatory)User IP address.
USER-ADDRESS
An IPv4 address.
show cg-nat user¶
vrouter> show cg-nat user [vrf <string>] rule-id <uint16> [user-address USER-ADDRESS] [threshold-errors <uint32>] \
... [usage-min <uint8>]
Show user(s) of a CG-NAT rule.
Input Parameters¶
vrf <string>VRF.
rule-id <uint16>(mandatory)Rule id.
user-address USER-ADDRESSUser IP address.
USER-ADDRESS
An IPv4 address.
threshold-errors <uint32>Users having more errors than a given threshold.
usage-min <uint8>Users usage by at least the given rate.
show cg-nat blocks¶
vrouter> show cg-nat blocks [vrf <string>] rule-id <uint16> user-address USER-ADDRESS
Show blocks of a CG-NAT user.
Input Parameters¶
vrf <string>VRF.
rule-id <uint16>(mandatory)Rule id.
user-address USER-ADDRESS(mandatory)User IP address.
USER-ADDRESS
An IPv4 address.
show cg-nat conntracks¶
vrouter> show cg-nat conntracks [vrf <string>] rule-id <uint16> user-address USER-ADDRESS
Show conntracks of a CG-NAT user.
Input Parameters¶
vrf <string>VRF.
rule-id <uint16>(mandatory)Rule id.
user-address USER-ADDRESS(mandatory)User IP address.
USER-ADDRESS
An IPv4 address.
show cg-nat conntrack-statistics¶
vrouter> show cg-nat conntrack-statistics [vrf <string>] rule-id <uint16>
Show conntracks usage statistics of a CG-NAT rule.
Input Parameters¶
vrf <string>VRF.
rule-id <uint16>(mandatory)Rule id.
show cg-nat port-statistics¶
vrouter> show cg-nat port-statistics [vrf <string>] rule-id <uint16> [protocol PROTOCOL]
Show port usage statistics of a CG-NAT rule.
Input Parameters¶
vrf <string>VRF.
rule-id <uint16>(mandatory)Rule id.
protocol PROTOCOLProtocol.
PROTOCOLvaluesDescription
tcp
Transmission Control Protocol.
udp
User Datagram Protocol.
icmp
Internet Control Message Protocol.
gre-pptp
Generic Routing Encapsulation for Point-to-Point Tunneling Protocol.
show cg-nat block-statistics¶
vrouter> show cg-nat block-statistics [vrf <string>] rule-id <uint16> [protocol PROTOCOL]
Show block usage statistics of a CG-NAT rule.
Input Parameters¶
vrf <string>VRF.
rule-id <uint16>(mandatory)Rule id.
protocol PROTOCOLProtocol.
PROTOCOLvaluesDescription
tcp
Transmission Control Protocol.
udp
User Datagram Protocol.
icmp
Internet Control Message Protocol.
gre-pptp
Generic Routing Encapsulation for Point-to-Point Tunneling Protocol.
show cg-nat hash-table-statistics¶
vrouter> show cg-nat hash-table-statistics
Show hash table statistics.