The SR Linux CLI is a python application that can load dynamic libraries from other applications.This flexibility allows users to create their own show commands, and also allows each application to own its own show command tree. In addition to custom show commands, Nokia provides pre-defined plug-ins.
The following sections provide the commands and syntax for pre-defined python plug-ins.
Users can also create their own customer reports using CLI Plug-ins. For more information, refer to the SR Linux CLI Plug-In Guide.
show acl capture-filter filter type
Tree DescriptionShow a list of ACL capture filters. Specify either ipv4-filter or ipv6-filter.
ConfigurableFalse
show acl capture-filter ipv4-filter
Tree DescriptionShow a list of ACL capture IPv4 filters.
show acl capture-filter ipv4-filter entry number
Tree DescriptionShow a specific ACL capture IPv4 filter.
show acl capture-filter ipv6-filter
Tree DescriptionShow a list of ACL capture IPv6 filters.
show acl capture-filter ipv6-filter entry number
Tree DescriptionShow a specific ACL capture IPv6 filter.
show acl cpm-filter filter type
Tree DescriptionShow a list of ACL CPM filters. Specify either ipv4-filter or ipv6-filter.
show acl cpm-filter ipv4-filter
Tree DescriptionShow a list of ACL CPM IPv4 filters.
show acl cpm-filter ipv4-filter entry number
Tree DescriptionShow a specific ACL CPM IPv4 filter.
show acl cpm-filter ipv6-filter
Tree DescriptionShow a list of ACL CPM IPv6 filters.
show acl cpm-filter ipv6-filter entry number
Tree DescriptionShow a specific ACL CPM IPv6 filter.
show acl ipv4-filter name entry number
Tree DescriptionShow ACL IPv4 filter policies by entry ID.
show acl ipv4-filter name subinterface string
Tree DescriptionShow ACL IPv4 filter policies by subinterface.
show acl ipv6-filter name
Tree DescriptionShow ACL IPv6 filter policies.
ConfigurableFalse
show acl ipv6-filter name entry number
Tree DescriptionShow ACL IPv6 filter policies by entry ID.
show acl ipv6-filter name subinterface string
Tree DescriptionShow ACL IPv6 filter policies by subinterface.
Show a report of all ARPND neighbors including associated interfaces, subinterfaces, origin, and state.
show arpnd neighbors interface interface name
Tree DescriptionShow a ARPND neighbor report for a specified interface name.
Show a report of all ARPND entries including associated interfaces, subinterfaces, origin, and expiry.
show arpnd arp-entries interface interface name
Tree DescriptionShow a ARPND entries report for a specified interface name.
show interface interface port name
Tree DescriptionContainer for Interface show reports. Can be used to show a report of all interfaces and subinterfaces with an operational state of up, or for a specified interface if an optional name is entered. Interfaces that are operationally down are not displayed; use the all option to display both up and down interfaces.
show interface interface port name brief
Tree DescriptionShow a report that provides a summarized view of all interfaces and subinterfaces, or for a specified interface if an optional name is entered. Displays the administrative state, operational state, speed, and type.
show interface interface port name all
Tree DescriptionShow a report that displays all up and down interfaces and subinterfaces, or for a specified interface if an optional name is entered. For interfaces with an operational state of up, IP addresses are displayed in addition to speed and type. For interfaces with an operational state of down, a reason for this state is provided.
show interface interface port name detail
Tree DescriptionShow a detail report for all up and down interfaces and subinterfaces, or for a specified interface if an optional name is entered. In addition to operational state, last changed, flow control and mac address details, this report includes queue parameters, statistics, and transceiver/transceiver channel details.
show interface interface port name queue-detail
Tree DescriptionShow an egress queues and VOQs report for all interfaces and subinterfaces, or for a specified interface if an optional name is entered.
Container for lag show reports. Can be used to show a report of all LAGs, or for a specified LAG instance if an optional ID is entered.This includes a summary report of all operationally up and down LAGs.
Show a report that provides a summarized view of all LAGs, or for a specified LAG if an optional ID is entered. Displays the administrative state, operational state, aggregate speed, and min and active links.
Show a detail report for all LAGs, or for a specified LAG if an optional ID is entered. This report includes the operational status of the LAG, list of member links and their operational status, aggregated queue statistics, aggregated traffic/error statistics, and aggregated traffic rate.
show lag lag instance lacp-state
Tree DescriptionShow a LAG report that details all LAGs or a specific LAG it is enabled. Report also includes the LACP configuration mode and per member link statistics state details (operation state, activity, timeout, etc.).
show lag lag instance lacp-statistics
Tree DescriptionShow a LAG report that details all LAGs or specific LAGs statistics. Report can include per member link statistics such as LACP in-pkts, out-pkts, rx-errors, tx-errors, unknown errors, and LACP errors.
show lag lag instance member-statistics
Tree DescriptionShow a LAG report that displays all member-statistics.
show lag lag instance queue-detail
Tree DescriptionShow a LAG report that displays aggregated queue statistics for all LAG link members.
Container for MPLS reports. Can be used to show all MPLS abstract forwarding tables.
show mpls-aft network-instance network-instance name
Tree DescriptionShow an MPLS abstract forwarding table for a specified network instance.
show network-instance name
Tree DescriptionShow network-instance for specified name or additional command (bridge-table, interfaces, protocols, route-table, or summary)
show network-instance name bridge-table
Tree DescriptionShow MAC bridge tables. Specify mac-duplication duplication-entries or mac-table.
show network-instance name bridge-table mac-duplication duplication-entries
Treemac-duplication duplication-entries
DescriptionShow all MAC learned entries.
show network-instance name bridge-table mac-table
Tree DescriptionShow a MAC table report. Specify option of all, mac, or summary.
show network-instance name bridge-table mac-table all
Tree DescriptionShow all MAC table entries
show network-instance name bridge-table mac-table mac address
Tree DescriptionShow MAC table entry for specific address.
show network-instance name bridge-table mac-table summary
Tree DescriptionShow a MAC table summary report.
show network-instance name interfaces interface name
Tree DescriptionShow all network-instance interfaces.
show network-instance name protocols
Tree DescriptionShow network-instance protocol details. Specify bgp, isis, or ospf.
show network-instance name protocols bgp
Tree DescriptionShow bgp status report. Specify neighbor, routes, or summary.
show network-instance name protocols bgp neighbor IP address
Tree DescriptionShow a bgp neighbor report. Specify a peer address to see a report for the specified address.
show network-instance name protocols bgp neighbor IP address advertised-routes
Tree DescriptionShow a bgp neighbor advertised routes report. The network-instance name and neighbor peer IP address must be specified.
show network-instance name protocols bgp neighbor IP address advertised-routes evpn
Tree DescriptionShow a bgp neighbor advertised routes report for EVPN. The network-instance name and neighbor peer IP address must be specified.
show network-instance name protocols bgp neighbor IP address advertised-routes ipv4
Tree DescriptionShow a bgp neighbor advertised routes report for IPv4. The network-instance name and neighbor peer IP address must be specified.
show network-instance name protocols bgp neighbor IP address advertised-routes ipv6
Tree DescriptionShow a bgp neighbor advertised routes report for IPv6. The network-instance name and neighbor peer IP address must be specified.
show network-instance name protocols bgp neighbor IP address maintenance
Tree DescriptionShow a bgp neighbor report that shows the maintenance mode and group.
show network-instance name protocols bgp neighbor IP address received-routes
Tree DescriptionShow a bgp neighbor received routes report. network-instance name and neighbor peer IP address must be specified.
show network-instance name protocols bgp neighbor IP address received-routes evpn
Tree DescriptionShow a bgp neighbor received routes report for EVPN. The network-instance name and neighbor peer IP address must be specified.
show network-instance name protocols bgp neighbor IP address received-routes ipv4
Tree DescriptionShow a bgp neighbor received routes report for IPv4. The network-instance name and neighbor peer IP address must be specified.
show network-instance name protocols bgp neighbor IP address received-routes ipv6
Tree DescriptionShow a bgp neighbor received routes report for IPv6. The network-instance name and neighbor peer IP address must be specified.
show network-instance name protocols bgp neighbor IP address detail
Tree DescriptionShow a bgp neighbor detailed report. network-instance name and neighbor peer IP address must be specified.
show network-instance name protocols bgp routes
Tree DescriptionShow bgp route report for an IP family (EVPN, IPv4 or IPv6).
show network-instance name protocols bgp routes evpn
Tree DescriptionShow a bgp EVPN route report. Additional parameters can define a report for a specific route type, and a detailed verses summary report.
show network-instance name protocols bgp routes evpn route-type route type
Tree DescriptionShow a bgp EVPN route report for a specific route type. Route type can be numeric or of type esi, mac-address, and originating-router.
show network-instance name protocols bgp routes evpn route-type route type detail
Tree DescriptionShow a detailed bgp EVPN route report for a specific route type.
show network-instance name protocols bgp routes evpn route-type route type summary
Tree DescriptionShow a summarized bgp EVPN route report for a specific route type.
show network-instance name protocols bgp routes ipv4
Tree DescriptionShow a bgp IPv4 route report. Specify an IP prefix or summary.
show network-instance name protocols bgp routes ipv4 prefix IP prefix
Tree DescriptionShow a bgp IPv4 route report for a specified IP prefix.
show network-instance name protocols bgp routes ipv4 summary
Tree DescriptionShow a bgp IPv4 route summary report.
show network-instance name protocols bgp routes ipv6
Tree DescriptionShow a bgp IPv6 route report. Specify an IP prefix or summary.
show network-instance name protocols bgp routes ipv6 prefix IP prefix
Tree DescriptionShow a bgp IPv6 route report for a specified IP prefix.
show network-instance name protocols bgp routes ipv6 summary
Tree DescriptionShow a bgp IPv6 route summary report.
show network-instance name protocols bgp summary
Tree DescriptionShow a bgp summary report.
show network-instance name protocols bgp-evpn
Tree DescriptionShow a bgp-evpn status report.
show network-instance name protocols bgp-evpn bgp-instance instance
Tree DescriptionShow a bgp-evpn status report for a specific bgp instance.
show network-instance name protocols bgp-vpn
Tree DescriptionShow a bgp-vpn status report.
show network-instance name protocols bgp-vpn bgp-instance instance
Tree DescriptionShow a bgp-vpn status report for a specific bgp instance.
show network-instance name protocols isis
Tree DescriptionShow ISIS status report. Specify adjacency, database, hostnames, interface, or summary.
show network-instance name protocols isis adjacency interface_name
Tree DescriptionShow a list of ISIS adjacencies formed through this interface.
show network-instance name protocols isis adjacency interface_name neighbor-system-id ID
Tree DescriptionShow a list of ISIS adjacencies for a specified system ID of a neighbor router.
show network-instance name protocols isis adjacency interface_name neighbor-system-id ID adjacency-level value
Tree DescriptionShow a list of ISIS adjacencies for a specified adjacency level.
show network-instance name protocols isis adjacency interface_name neighbor-system-id ID adjacency-level value detail
Tree DescriptionShow a detailed ISIS adjacency report.
show network-instance name protocols isis database
Tree DescriptionShow an ISIS database report.
show network-instance name protocols isis database lsp-id ID
Tree DescriptionShow an ISIS database report for a specified lsp-id (ID format: 6 octets of adjacency system-id followed by 1 octet Lan-ID and 1 octet LSP Number).
show network-instance name protocols isis database detail
Tree DescriptionShow a detailed ISIS database report.
show network-instance name protocols isis interface name
Tree DescriptionShow an ISIS interface report for all interfaces or optionally specify an interface name.
show network-instance name protocols isis interface name detail
Tree DescriptionShow a detailed ISIS interface report for all interfaces or optionally specify an interface name.
show network-instance name protocols isis hostnames
Tree DescriptionShow an ISIS hostname report.
show network-instance name protocols isis hostnames detail
Tree DescriptionShow a detailed ISIS hostname report.
show network-instance name protocols isis summary
Tree DescriptionShow a summarized ISIS report.
show network-instance name protocols ospf
Tree DescriptionShow OSPF status report. Specify area, interface, neighbor, or status.
show network-instance name protocols ospf area
Tree DescriptionShow OSPF report for areas where the local system exists.
show network-instance name protocols ospf area detail
Tree DescriptionShow detailed OSPF report for areas where the local system exists.
show network-instance name protocols ospf database
Tree DescriptionShow OSPF database report.
show network-instance name protocols ospf database type
Tree DescriptionShow OSPF database report for a specific database type. For example: router-lsa
show network-instance name protocols ospf instance instance name
Tree DescriptionShow OSPF report for a specific instance. After the instance name, a more detailed report can be generated by specifying area, database, interface, neighbor, statistics, or status after the instance name.
show network-instance name protocols ospf interface
Tree DescriptionShow OSPF report for OSPF interfaces that act as a connection between a router and one ofits attached networks.
show network-instance name protocols ospf interface detail
Tree DescriptionShow detailed OSPF report for OSPF interfaces that act as a connection between a router and one of its attached networks.
show network-instance name protocols ospf neighbor
Tree DescriptionShow OSPF report for OSPF neighbors.
show network-instance name protocols ospf neighbor detail
Tree DescriptionShow detailed OSPF report for OSPF neighbors.
show network-instance name protocols ospf statistics
Tree DescriptionShow OSPF Rx, Tx, and packet statistics report.
show network-instance name protocols ospf status
Tree DescriptionShow an overall status report for OSPF (router IDs, version, admin state, backbone and area border router settings, etc.).
show network-instance name route-table
Tree DescriptionShow a network-instance route table report. Specify all, ipv4-unicast, ipv6-unicast, next-hop, or, summary.
show network-instance name route-table all
Tree DescriptionShow a report of all routes that includes prefix, ID, active status and next-hop details.
show network-instance name route-table summary
Tree DescriptionShow a summary report of active routes by name and protocol.
show network-instance name route-table ipv4-unicast
Tree DescriptionShow a IPv4 route table report. Specify a summary report or by prefix ID.
show network-instance name route-table ipv4-unicast prefix <ID> detail
Tree DescriptionShow a IPv4 route table report for a specified prefix. Report includes destination, ID, owner, active status and details when it was last changed.
show network-instance name route-table ipv4-unicast summary
Tree DescriptionShow a IPv4 route table summary report that includes prefix, IDs, active status, and next-hop details.
show network-instance name route-table ipv6-unicast
Tree DescriptionShow a IPv6 route table report. Specify a summary report or by prefix ID.
show network-instance name route-table ipv6-unicast prefix <ID> detail
Tree DescriptionShow a IPv6 route table report for a specified prefix. Report includes destination, ID, owner, active status and details when it was last changed.
show network-instance name route-table ipv6-unicast summary
Tree DescriptionShow a IPv6 route table summary report that includes prefix, IDs, active status, and next-hop details.
show network-instance name route-table next-hop index
Tree DescriptionShow a report of all next-hop route tables or optionally provide an index number to show a report for a specified route table.
show network-instance name summary
Tree DescriptionShow a summary report for all network-instances, or specify a network-name to refine the report.
show network-instance name tunnel-table
Tree DescriptionContext for all tunnels in a tunnel table. Use with options all, IPv4, or IPv6.
show network-instance name tunnel-table all
Tree DescriptionShows a network instance tunnel report that includes the prefix, type, ID, metric, preference, and last updated fields.
show network-instance name tunnel-table ipv4 <ip address> type
Tree DescriptionShow a network instance IPv4 tunnel report that includes the prefix, type, ID, metric, preference, and last updated fields. Report can be defined further by specifying the type (such as vxlan, ldp, and * (all types).
show network-instance name tunnel-table ipv6 <ip address> type
Tree DescriptionShow a network instance IPv6 tunnel report that includes the prefix, type, ID, metric, preference, and last updated fields. Report can be defined further by specifying the type (such as vxlan, ldp, and * (all types).
show network-instance name vxlan-interface name
Tree DescriptionShow a network instance vxlan-interface report that defines the type, operation state and operation down reason for a specified interface or all interfaces (when the vxlan-interface name is “*”).
Show a report for the control module configuration and state. Shows all modules unless a specific slot is provided.
Show a report for the platform environment (state and temperature) for all components.
Show a report for the fabric module configuration and state. Shows all modules unless a specific slot is provided.
show platform fan-tray slot ID
Tree DescriptionShow a report for the fan tray configuration and state. Shows all modules unless a specific slot is provided.
show platform linecard slot ID
Tree DescriptionShow a report for the linecard configuration and state. Shows all modules unless a specific slot is provided.
Show a report for the power-supply configuration and state. Shows all modules unless a specific ID is provided.
Show a platform redundancy report.
show platform resource-monitoring
Tree DescriptionShow a resource-monitoring report for areas such as ACL, TCAM, IP MPLS forwarding, etc.
show system aaa authentication session session ID
Tree DescriptionShow a list of all active sessions in the system or for a specific session ID user if an ID is specified.
show system application application name
Tree DescriptionShow a list of all applications and their status in the system or for a specific application if a name is specified.
Show a report of all LLDP neighbors that includes system name, chassis ID, first message, last update, port and related BGP details.
show system lldp neighbor interface interface name
Tree DescriptionShow a report of a specific LLDP neighbors by specifying an interface name.
Shows a list of system logs, type, and directory path.
Shows a report of type buffer log files maintained in memory (non-persistent across system reboots).
show system logging buffer messages
Tree DescriptionShow a report of the messages associated with the system logging buffer (/var/log/srlinux/buffer/messages)
show system logging buffer system
Tree DescriptionShow a report of the system related information in the system logging buffer (/var/log/srlinux/buffer/system)
Shows a report of log files that have been directed to a specific file (/var/log/srlinux/file).
show system logging file messages
Tree DescriptionShow a report of the messages associated with logs in a specific file (/var/log/srlinux/file/messages)
show system network-instance ethernet-segments name
Treenetwork-instance ethernet-segments
DescriptionShow a report that defines ethernet-segments details such as ESI, Alg, peers, and associated network instances.
Show an sflow status report that includes the state, and sample size and rate.
Show a tunnel report specific to VXLAN tunnels. Report includes the VXLAN tunnel endpoint address, index and when last updated. Specify a specific VTEP ip address or ‘all’ to display all vxlan tunnels.
Show a tunnel report specific to all VXLAN tunnels. Report includes the VXLAN tunnel endpoint address, index, and when last updated.
show tunnel vxlan-tunnel vtep ip address
Tree DescriptionShow a tunnel report for a specific VXLAN tunnel. Report includes the VXLAN tunnel endpoint address, index, and when last updated.
show tunnel-interface interface
Tree DescriptionEnter the context for tunnel interface (reports for EVPN Layer-2). Specify a tunnel-interface name or an asterisk (*) for all interfaces.
show tunnel-interface interface vxlan-interface interface
Tree DescriptionShow a vxlan interface report for EVPN-VXLAN for layer-2. Specify an vxlan-interface name or an asterisk (*) for all interfaces. Report options include brief, detail, or bridge-table.
show tunnel-interface interface vxlan-interface interface bridge-table
Tree DescriptionShow a bridge-table vxlan interface report for EVPN-VXLAN for layer-2. Options to use with bridge table include mac-table, multicast-destinations, and unicast-destination.
show tunnel-interface interface vxlan-interface interface bridge-table mac-table
Tree DescriptionShow a mac-table vxlan interface report for EVPN-VXLAN for layer-2. Report includes the address, desination, VNI, index, type, and last updated.
show tunnel-interface interface vxlan-interface interface bridge-table multicast-destinations
Tree DescriptionShow a multicast-destinations vxlan interface report for EVPN-VXLAN for layer-2. Use with the destination or VNI options.
show tunnel-interface interface vxlan-interface interface bridge-table multicast-destinations destination | VNI
Tree DescriptionShow a unicast-destinations vxlan interface report for EVPN-VXLAN for layer-2 for a specific destination or VNI or use the asterisk after either option to see all destinations/VNIs.
show tunnel-interface interface vxlan-interface interface bridge-table unicast-destinations
Tree DescriptionShow a unicast-destinations vxlan interface report for EVPN-VXLAN for layer-2. Use with the destination or VNI options.
show tunnel-interface interface vxlan-interface interface bridge-table unicast-destinations destination | VNI
Tree DescriptionShow a unicast-destinations vxlan interface report for EVPN-VXLAN for layer-2 for a specific destination or VNI or use the asterisk after either option to see all destinations/VNIs.
show tunnel-interface interface vxlan-interface interface brief
Tree DescriptionShow a brief vxlan interface report for EVPN-VXLAN for layer-2. The brief report includes the tunnel-interface, VXLAN-interface, type (bridged/routed), ingress VNI, and egress source-ip.
show tunnel-interface interface vxlan-interface interface detail
Tree DescriptionShow a detailed vxlan interface report for EVPN-VXLAN for layer-2. The detailed report includes the same details as the brief report (tunnel-interface, VXLAN-interface, type (bridged/routed), ingress VNI, and egress source-ip), plus bridge table and summary details.