Skip to main content
Version: current

monitor


interface/ethernet/switch/l3hw-settings/monitor

Syscap: rbswitch and crs_prestera
Type: Command

This command allows monitoring switch chip and L3HW related driver stats.

/interface/ethernet/switch/l3hw-settings/monitor
ipv4-routes-total: 99363
ipv4-routes-hw: 61250
ipv4-routes-cpu: 38112
ipv4-shortest-hw-prefix: 24
ipv4-hosts: 87
ipv6-routes-total: 15
ipv6-routes-hw: 11
ipv6-routes-cpu: 4
ipv6-shortest-hw-prefix: 0
ipv6-hosts: 7
route-queue-size: 118
fasttrack-ipv4-conns: 2031
fasttrack-hw-min-speed: 0
nexthop-cap: 8192
nexthop-usage: 93
vxlan-mtu-packet-drop: 0
Read-only ArgumentTypeDescription
stateenum (ok | stopping | starting | fib-failure | net-failure | switch-failure | fasttrack-failure | out-of-memory) { ok:0, stopping:1, starting:2, fib-failure:3, net-failure:4, switch-failure:5, fasttrack-failure:6, out-of-memory:0xFFFFFFF4 }Current state of the L3HW driver.
ipv4-routes-totalnumThe total number of IPv4 routes handled by the switch driver.
ipv4-routes-hwnumThe number of hardware-offloaded IPv4 routes.
ipv4-routes-cpunumThe number of IPv4 routes redirected to the CPU.
ipv4-shortest-hw-prefixnumShortest Hardware Prefix (SHWP) for IPv4. If the entire IPv4 routing table does not fit into the hardware memory, partial offloading is applied, where the longest prefixes are hw-offloaded while the shorter ones are redirected to the CPU. This field shows the shortest route prefix (/x) that is offloaded to the hardware memory. All prefixes shorter than this are processed by the CPU. ipv4-shortest-hw-prefix=0 means the entire IPv4 routing table is offloaded to the hardware memory.
ipv4-hostsnumThe number of hardware-offloaded IPv4 hosts (/32 routes).
ipv6-routes-totalnumThe total number of IPv6 routes handled by the switch driver.
ipv6-routes-hwnumThe number of hardware-offloaded IPv6 routes (a.k.a. hardware routes). Shown only when IPv6 hardware routing is enabled (ipv6-hw=yes).
ipv6-routes-cpunumThe number of IPv6 routes redirected to the CPU (a.k.a. software routes). Shown only when IPv6 hardware routing is enabled (ipv6-hw=yes).
ipv6-shortest-hw-prefixnumShortest Hardware Prefix (SHWP) for IPv6. If the entire IPv6 routing table does not fit into the hardware memory, partial offloading is applied, where the longest prefixes are hw-offloaded while the shorter ones are redirected to the CPU. This field shows the shortest route prefix (/x) that is offloaded to the hardware memory. All prefixes shorter than this are processed by the CPU. ipv6-shortest-hw-prefix=0 means the entire IPv6 routing table is offloaded to the hardware memory. Shown only when IPv6 hardware routing is enabled (ipv6-hw=yes).
ipv6-hostsnumThe number of hardware-offloaded IPv6 hosts (/128 routes).
route-queue-size (syscap=!prestera-cpss)numThe number of routes in the queue for processing by the switch chip driver. Under normal working conditions, this field is 0, meaning that all routes are processed by the driver.
nexthop-capnumThe nexthop capacity.
nexthop-usagenumThe number of currently used nexthops.
vxlan-mtu-packet-drop (syscap=prestera-bc2)numThe number of dropped VXLAN packets due to exceeded interface MTU settings.
fasttrack-ipv4-conns (syscap=prestera-bc2)numThe number of hardware-offloaded FastTrack connections. Parammeter appear only when hardware offloading of FastTrack connections is enabled.
fasttrack-hw-min-speed (syscap=prestera-bc2)numWhen the hardware memory for storing FastTrack is full, this field shows the minimum speed (in bytes per second) of a hw-offloaded FastTrack connection. Parammeter appear only when hardware offloading of FastTrack connections is enabled.