adjacency counters

  1. adjacency counters [enable|disable]

api trace

  1. api trace [on|off][first <n>][last <n>][status][free][post-mortem-on][dump|custom-dump|save|replay <file>]

app ns

  1. app ns [add] id <namespace-id> secret <secret> sw_if_index <sw_if_index>

bfd key del

  1. bfd key del conf-key-id <id>

bfd key set

  1. bfd key set conf-key-id <id> type <keyed-sha1|meticulous-keyed-sha1> secret <secret>

bfd udp echo-source del

  1. bfd udp echo-source del

bfd udp echo-source set

  1. bfd udp echo-source set interface <interface>

bfd udp session add

  1. bfd udp session add interface <interface> local-addr <local-address> peer-addr <peer-address> desired-min-tx <desired min tx interval> required-min-rx <required min rx interval> detect-mult <detect multiplier> [ conf-key-id <config key ID> bfd-key-id <BFD key ID>]

bfd udp session auth activate

  1. bfd udp session auth activate interface <interface> local-addr <local-address> peer-addr <peer-address> conf-key-id <config key ID> bfd-key-id <BFD key ID> [ delayed <yes|no> ]

bfd udp session auth deactivate

  1. bfd udp session auth deactivate interface <interface> local-addr <local-address> peer-addr <peer-address>[ delayed <yes|no> ]

bfd udp session del

  1. bfd udp session del interface <interface> local-addr <local-address> peer-addr<peer-address>

bfd udp session mod

  1. bfd udp session mod interface <interface> local-addr <local-address> peer-addr <peer-address> desired-min-tx <desired min tx interval> required-min-rx <required min rx interval> detect-mult <detect multiplier>

bfd udp session set-flags

  1. bfd udp session set-flags interface <interface> local-addr <local-address> peer-addr <peer-address> admin <up|down>

bier route

  1. bier route [add|del] sd <sud-domain> set <set> bsl <bit-string-length> bp <bit-position> via [next-hop-address] [next-hop-interface] [next-hop-table <value>] [weight <value>] [preference <value>] [udp-encap-id <value>] [ip4-lookup-in-table <value>] [ip6-lookup-in-table <value>] [mpls-lookup-in-table <value>] [resolve-via-host] [resolve-via-connected] [rx-ip4 <interface>] [out-labels <value value value>]

bier table

  1. bier table [add|del] sd <sub-domain> set <SET> bsl <bit-string-length> [mpls <label>]

binary-api

  1. binary-api [help] <name> [<args>]

bond add

  1. bond add <BondEthernetx> <slave-interface> [passive] [long-timeout]

bond del

  1. bond del <slave-interface>

bvi create

  1. bvi create [mac <mac-addr>] [instance <instance>]

bvi delete

  1. bvi delete <interface>

classify filter

  1. classify filter <intfc> | pcap mask <mask-value> match <match-value> | trace mask <mask-value> match <match-value> [del] [buckets <nn>] [memory-size <n>]

classify session

  1. classify session [hit-next|l2-input-hit-next|l2-output-hit-next|acl-hit-next <next_index>|policer-hit-next <policer_name>] table-index <nn> match [hex] [l2] [l3 ip4] [opaque-index <index>] [action set-ip4-fib-id|set-ip6-fib-id|set-sr-policy-index <n>] [del]

classify table

  1. classify table [miss-next|l2-miss_next|acl-miss-next <next_index>] mask <mask-value> buckets <nn> [skip <n>] [match <n>] [current-data-flag <n>] [current-data-offset <n>] [table <n>] [memory-size <nn>[M][G]] [next-table <n>] [del] [del-chain]

clear api histogram

  1. clear api histogram

clear counters

  1. clear all active counters

clear dpdk crypto devices statistics

  1. clear dpdk crypto devices statistics

clear dpdk crypto placement

  1. clear dpdk crypto placement <device> [<thread>]

clear errors

  1. Clear error counters

clear fib walk

  1. clear fib walk

clear hardware-interfaces

  1. clear hardware-interfaces [<interface> [<interface> [..]]] [<sw_idx> [<sw_idx> [..]]]

clear interface tag

  1. clear interface tag <interface>

clear interfaces

  1. clear interfaces

clear ioam rewrite

  1. clear ioam rewrite

clear ipsec counters

  1. clear ipsec counters

clear ipsec sa

  1. clear ipsec sa [index]

clear l2fib

  1. clear l2fib

clear logging

  1. clear logging

clear node counters

  1. Clear node counters

clear runtime

  1. Clear packet processing runtime statistics

clear session

  1. clear session thread <thread> session <index>

clear sr localsid-counters

  1. clear sr localsid-counters

clear tcp stats

  1. clear tcp stats

clear trace

  1. Clear trace buffer and free memory

configure policer

  1. configure policer name <name> <params>

cop interface

  1. cop interface <interface-name> [disable]

cop whitelist

  1. cop whitelist <interface-name> [ip4][ip6][default][fib-id <NN>][disable]

create 6rd tunnel

  1. create 6rd tunnel ip6-pfx <ip6-pfx> ip4-pfx <ip4-pfx> ip4-src <ip4-addr> ip4-table-id <ID> ip6-table-id <ID> [security-check]

create bond

  1. create bond mode {round-robin | active-backup | broadcast | {lacp | xor} [load-balance { l2 | l23 | l34 } [numa-only]]} [hw-addr <mac-address>] [id <if-id>] [gso]

create bridge-domain

  1. create bridge-domain <bridge-domain-id> [learn <0|1>] [forward <0|1>] [uu-flood <0|1>] [flood <0|1>] [arp-term <0|1>] [arp-ufwd <0|1>] [mac-age <nn>] [bd-tag <tag>] [del]

create geneve tunnel

  1. create geneve tunnel local <local-vtep-addr> {remote <remote-vtep-addr>|group <mcast-vtep-addr> <intf-name>} vni <nn> [encap-vrf-id <nn>] [decap-next [l2|node <name>]] [del]

create gre tunnel

  1. create gre tunnel src <addr> dst <addr> [instance <n>] [outer-fib-id <fib>] [teb | erspan <session-id>] [del]

create host-interface

  1. create host-interface name <ifname> [hw-addr <mac-addr>]

create interface virtio

  1. create interface virtio <pci-address> [feature-mask <hex-mask>] [gso-enabled] [csum-enabled]

create ipip tunnel

  1. create ipip tunnel src <addr> dst <addr> [instance <n>] [outer-table-id <ID>]

create ipsec tunnel

  1. create ipsec tunnel local-ip <addr> local-spi <spi> remote-ip <addr> remote-spi <spi> [instance <inst_num>] [udp-encap] [use-esn] [use-anti-replay] [tx-table <table-id>]

create l2tpv3 tunnel

  1. create l2tpv3 tunnel client <ip6> our <ip6> local-cookie <hex> remote-cookie <hex> local-session <dec> remote-session <dec>

create loopback interface

  1. create loopback interface [mac <mac-addr>] [instance <instance>]

create packet-generator

  1. create packet-generator interface <interface name> [gso-enabled gso-size <size>]

create sub-interfaces

  1. create sub-interfaces <interface> {<subId> [default|untagged]} | {<subId>-<subId>} | {<subId> dot1q|dot1ad <vlanId>|any [inner-dot1q <vlanId>|any] [exact-match]}

create tap

  1. create tap {id <if-id>} [hw-addr <mac-address>] [num-rx-queues <n>] [rx-ring-size <size>] [tx-ring-size <size>] [host-ns <netns>] [host-bridge <bridge-name>] [host-ip4-addr <ip4addr/mask>] [host-ip6-addr <ip6-addr>] [host-ip4-gw <ip4-addr>] [host-ip6-gw <ip6-addr>] [host-mac-addr <host-mac-address>] [host-if-name <name>] [host-mtu-size <size>] [no-gso|gso|csum-offload|gro-coalesce] [persist] [attach] [tun]

create teib

  1. create teib <interface> peer <addr> nh <addr> [nh-table-id <ID>]

create vhost-user

  1. create vhost-user socket <socket-filename> [server] [feature-mask <hex>] [hwaddr <mac-addr>] [renumber <dev_instance>] [gso] [packed]

create vxlan tunnel

  1. create vxlan tunnel src <local-vtep-addr> {dst <remote-vtep-addr>|group <mcast-vtep-addr> <intf-name>} vni <nn> [instance <id>] [encap-vrf-id <nn>] [decap-next [l2|node <name>]] [del]

create vxlan-gbp tunnel

  1. create vxlan-gbp tunnel src <local-vtep-addr> {dst <remote-vtep-addr>|group <mcast-vtep-addr> <intf-name>} vni <nn> [instance <id>] [encap-vrf-id <nn>] [decap-next [l2|node <name>]] [del]

create vxlan-gpe tunnel

  1. create vxlan-gpe tunnel local <local-addr> {remote <remote-addr>|group <mcast-addr> <intf-name>} vni <nn> [next-ip4][next-ip6][next-ethernet][next-nsh] [encap-vrf-id <nn>] [decap-vrf-id <nn>] [del]

define

  1. define <variable-name> <value>

delete 6rd tunnel

  1. delete 6rd tunnel sw_if_index <sw_if_index>

delete bond

  1. delete bond {<interface> | sw_if_index <sw_idx>}

delete host-interface

  1. delete host-interface name <ifname>

delete interface virtio

  1. delete interface virtio {<interface> | sw_if_index <sw_idx>}

delete ipip tunnel

  1. delete ipip tunnel sw_if_index <sw_if_index>

delete loopback interface

  1. delete loopback interface intfc <interface>

delete sub-interface

  1. delete sub-interface <interface>

delete tap

  1. delete tap {<interface> | sw_if_index <sw_idx>}

delete teib

  1. delete teib <interface> peer <addr>

delete vhost-user

  1. delete vhost-user {<interface> | sw_if_index <sw_idx>}

disable ip6 interface

  1. disable ip6 interface <interface>

echo

  1. echo <rest-of-line>

elog trace

  1. elog trace [api][cli][barrier][dispatch] [circuit-node <name> e.g. ethernet-input][disable]

enable ip6 interface

  1. enable ip6 interface <interface>

event-logger clear

  1. Clear the event log

event-logger resize

  1. event-logger resize <nnn>

event-logger restart

  1. Restart the event-logger

event-logger save

  1. event-logger save <filename> (saves log in /tmp/<filename>)

event-logger stop

  1. Stop the event-logger

exec

  1. exec <filename>

gpe encap

  1. gpe encap [lisp|vxlan]

gpe entry

  1. gpe entry add/del vni <vni> vrf/bd <id> [leid <leid>]reid <reid> [loc-pair <lloc> <rloc> w <weight>] [negative action <action>]

gpe iface

  1. gpe iface add/del vni <vni> vrf <vrf>

gpe native-forward

  1. gpe native-forward [del] via <nh-ip-addr> [iface] [table <table>]

gpe

  1. gpe [enable|disable]

history

  1. Show current session command history

interface collect detailed-stats

  1. interface collect detailed-stats <enable|disable>

ip container

  1. ip container <address> <interface>

ip mroute

  1. ip mroute [add|del] <dst-ip-addr>/<width> [table <table-id>] [rpf-id <ID>] [via <next-hop-ip-addr> [<interface>],

ip neighbor

  1. ip neighbor [del] <intfc> <ip-address> <mac-address> [static] [no-fib-entry] [count <count>] [fib-id <fib-id>] [proxy <lo-addr> - <hi-addr>]

ip punt policer

  1. ip punt policer [add|del] <index>

ip punt redirect

  1. ip punt redirect [add|del] rx [<interface>|all] via [<nh>] <tx_interface>

ip route

  1. ip route [add|del] [count <n>] <dst-ip-addr>/<width> [table <table-id>] via [next-hop-address] [next-hop-interface] [next-hop-table <value>] [weight <value>] [preference <value>] [udp-encap-id <value>] [ip4-lookup-in-table <value>] [ip6-lookup-in-table <value>] [mpls-lookup-in-table <value>] [resolve-via-host] [resolve-via-connected] [rx-ip4 <interface>] [out-labels <value value value>]

ip syn filter

  1. ip syn filter <interface-name> [disable]

ip table

  1. ip table [add|del] <table-id>

ip virtual

  1. ip virtual <addr> <interface> [mac <Mi>]+ [next-hop <ip4_address>]+

ip6 nd address autoconfig

  1. ip6 nd address autoconfig <interface> [default-route|disable]

ip6 nd

  1. ip6 nd <interface> ...

ip6 punt policer

  1. ip6 punt policer [add|del] <index>

ip6 punt redirect

  1. ip6 punt redirect [add|del] rx [<interface>|all] via [<nh>] <tx_interface>

ip6 table

  1. ip6 table [add|del] <table-id>

ipfix classify table

  1. ipfix classify table add|del <table-index>

ipfix flush

  1. flush the current ipfix data [for make test]

ipsec policy

  1. ipsec policy [add|del] spd <id> priority <n>

ipsec sa

  1. ipsec sa [add|del]

ipsec select backend

  1. ipsec select backend <ah|esp> <backend index>

ipsec spd

  1. ipsec spd [add|del] <id>

ipsec tunnel protect

  1. ipsec tunnel protect <interface> input-sa <SA> output-sa <SA>

l2 rewrite entry

  1. l2 rewrite entry [index <index>] [mask <hex-mask>] [value <hex-value>] [skip <n_bytes>] [del]

l2fib add

  1. l2fib add <mac> <bridge-domain-id> filter | <intf> [static | bvi]

l2fib del

  1. l2fib del <mac> <bridge-domain-id> []

l2fib flush-mac all

  1. l2fib flush-mac all

l2fib flush-mac bridge-domain

  1. l2fib flush-mac bridge-domain <bd-id>

l2fib flush-mac interface

  1. l2fib flush-mac interface <if-name>

lisp adjacency

  1. lisp adjacency add|del vni <vni> reid <remote-eid> leid <local-eid>

lisp eid-table map

  1. lisp eid-table map [del] vni <vni> vrf <vrf> | bd <bdi>

lisp eid-table

  1. lisp eid-table add/del [vni <vni>] eid <eid> locator-set <locator-set> [key <secret-key> key-id sha1|sha256 ]

lisp locator-set

  1. lisp locator-set add/del <name> [iface <iface-name> p <priority> w <weight>]

lisp locator

  1. lisp locator add/del locator-set <name> iface <iface-name> p <priority> w <weight>

lisp map-register

  1. lisp map-register [enable|disable]

lisp map-request itr-rlocs

  1. lisp map-request itr-rlocs add/del <locator_set_name>

lisp map-request mode

  1. lisp map-request mode dst-only|src-dst

lisp map-resolver

  1. lisp map-resolver add/del <ip_address>

lisp map-server

  1. lisp map-server add|del <ip>

lisp pitr

  1. lisp pitr [disable] ls <locator-set-name>

lisp remote-mapping

  1. lisp remote-mapping add|del [del-all] vni <vni> eid <est-eid> [action <no-action|natively-forward|send-map-request|drop>] rloc <dst-locator> p <prio> w <weight> [rloc <dst-locator> ... ]

lisp rloc-probe

  1. lisp rloc-probe [enable|disable]

lisp use-petr

  1. lisp use-petr [disable] <petr-ip>

lisp

  1. lisp [enable|disable]

loopback create-interface

  1. loopback create-interface [mac <mac-addr>] [instance <instance>]

loopback delete-interface

  1. loopback delete-interface intfc <interface>

memory-trace

  1. memory-trace on|off [api-segment] [stats-segment] [main-heap] [numa-heap <numa-id>]

mpls local-label

  1. mpls local-label [add|del] <label-value> [eos|non-eos] via [next-hop-address] [next-hop-interface] [next-hop-table <value>] [weight <value>] [preference <value>] [udp-encap-id <value>] [ip4-lookup-in-table <value>] [ip6-lookup-in-table <value>] [mpls-lookup-in-table <value>] [resolve-via-host] [resolve-via-attached] [rx-ip4 <interface>] [out-labels <value value value>]

mpls table

  1. mpls table [add|del] <table-id>

mpls tunnel

  1. mpls tunnel [multicast] [l2-only] via [next-hop-address] [next-hop-interface] [next-hop-table <value>] [weight <value>] [preference <value>] [udp-encap-id <value>] [ip4-lookup-in-table <value>] [ip6-lookup-in-table <value>] [mpls-lookup-in-table <value>] [resolve-via-host] [resolve-via-connected] [rx-ip4 <interface>] [out-labels <value value value>]

one adjacency

  1. one adjacency add|del vni <vni> reid <remote-eid> leid <local-eid>

one eid-table map

  1. one eid-table map [del] vni <vni> vrf <vrf> | bd <bdi>

one eid-table

  1. one eid-table add/del [vni <vni>] eid <eid> locator-set <locator-set> [key <secret-key> key-id sha1|sha256 ]

one l2 arp

  1. one l2 arp [del] bd <bd> mac <mac> ip <ipv4>

one locator-set

  1. one locator-set add/del <name> [iface <iface-name> p <priority> w <weight>]

one locator

  1. one locator add/del locator-set <name> iface <iface-name> p <priority> w <weight>

one map-register fallback-threshold

  1. one map-register fallback-threshold <count>

one map-register ttl

  1. one map-register ttl

one map-register

  1. one map-register [enable|disable]

one map-request itr-rlocs

  1. one map-request itr-rlocs add/del <locator_set_name>

one map-request mode

  1. one map-request mode dst-only|src-dst

one map-resolver

  1. one map-resolver add/del <ip_address>

one map-server

  1. one map-server add|del <ip>

one ndp

  1. one ndp [del] bd <bd> mac <mac> ip <ipv6>

one nsh-mapping

  1. one nsh-mapping [del] ls <locator-set-name>

one petr mode

  1. one petr mode [enable|disable]

one pitr mode

  1. one pitr mode [enable|disable]

one pitr

  1. one pitr [disable] ls <locator-set-name>

one remote-mapping

  1. one remote-mapping add|del [del-all] vni <vni> eid <est-eid> [action <no-action|natively-forward|send-map-request|drop>] rloc <dst-locator> p <prio> w <weight> [rloc <dst-locator> ... ]

one rloc-probe

  1. one rloc-probe [enable|disable]

one statistics flush

  1. Flush ONE statistics

one statistics

  1. enable/disable ONE statistics collecting

one use-petr

  1. one use-petr [disable] <petr-ip>

one xtr mode

  1. one xtr mode [enable|disable]

one

  1. one [enable|disable]

p2p_ethernet

  1. p2p_ethernet <intfc> <mac-address> [sub-id <id> | del]

packet-generator capture

  1. packet-generator capture <interface name> pcap <filename> [count <n>]

packet-generator configure

  1. Change packet generator stream parameters

packet-generator delete

  1. Delete stream with given name

packet-generator disable-stream

  1. Disable packet generator streams

packet-generator enable-stream

  1. Enable packet generator streams

packet-generator new

  1. Create packet generator stream

pcap dispatch trace

  1. pcap dispatch trace [on|off] [max <nn>] [file <name>] [status] [buffer-trace <input-node-name> <nn>]

pcap trace

  1. pcap trace rx tx drop off [max <nn>] [intfc <interface>|any] [file <name>] [status] [max-bytes-per-pkt <nnnn>][filter]

pipe create

  1. pipe create [instance <instance>]

pipe delete

  1. pipe delete <interface>

punt socket deregister

  1. punt socket deregister [IPV4|ipv6] [UDP|tcp] [ALL|<port-num>]

punt socket register

  1. punt socket register [IPV4|ipv6] [UDP|tcp] [ALL|<port-num>] socket <socket>

qos egress map

  1. qos egress map id %d [delete] {[SOURCE][INPUT]=OUTPUT}

qos mark

  1. qos mark <SOURCE> <INTERFACE> id <MAP>

qos record

  1. qos record <record-source> <INTERFACE> [disable]

qos store

  1. qos store <store-source> <INTERFACE> [disable]

quit

  1. Exit CLI

q

  1. Exit CLI

renumber interface

  1. renumber interface <interface> <new-dev-instance>

restart

  1. restart process

session replay fifo

  1. session replay fifo <session>

session rule

  1. session rule [add|del] appns <ns_id> proto <proto> <lcl-ip/plen> <lcl-port> <rmt-ip/plen> <rmt-port> action <action>

session

  1. session [enable|disable]

set api-trace

  1. API trace [on][on tx][on rx][off][free][debug on][debug off]

set arp proxy

  1. set arp proxy [del] table-ID <table-ID> start <start-address> end <end-addres>

set bridge-domain arp entry

  1. set bridge-domain arp entry <bridge-domain-id> [<ip-addr> <mac-addr> [del] | del-all]

set bridge-domain arp term

  1. set bridge-domain arp term <bridge-domain-id> [disable]

set bridge-domain arp-ufwd

  1. set bridge-domain arp-ufwd <bridge-domain-id> [disable]

set bridge-domain flood

  1. set bridge-domain flood <bridge-domain-id> [disable]

set bridge-domain forward

  1. set bridge-domain forward <bridge-domain-id> [disable]

set bridge-domain learn

  1. set bridge-domain learn <bridge-domain-id> [disable]

set bridge-domain mac-age

  1. set bridge-domain mac-age <bridge-domain-id> <mins>

set bridge-domain rewrite

  1. set bridge-domain rewrite <bridge-domain> [disable]

set bridge-domain uu-flood

  1. set bridge-domain uu-flood <bridge-domain-id> [disable]

set crypto async handler

  1. set crypto async handler type [type2 type3 ...] engine

set crypto handler

  1. set crypto handler cipher [cipher2 cipher3 ...] engine [simple|chained]

set cryptodev assignment

  1. set cryptodev assignment thread <thread_index> resource <inst_index>

set dpdk crypto placement

  1. set dpdk crypto placement (<device> <thread> | auto)

set dpdk interface descriptors

  1. set dpdk interface descriptors <interface> [rx <nn>] [tx <nn>]

set fib walk histogram elements size

  1. set fib walk histogram elements size

set fib walk quota

  1. set fib walk quota

set flow classify

  1. set flow classify interface <int> [ip4-table <index>] [ip6-table <index>] [del]

set flow-offload vxlan

  1. set flow-offload vxlan hw <interface-name> rx <tunnel-name> [del]

set host-interface l4-cksum-offload

  1. set host-interface l4-cksum-offload <host-if-name> <on|off>

set interface bond

  1. set interface bond <interface> | sw_if_index <idx> weight <value>

set interface feature gso

  1. set interface feature gso <intfc> [enable | disable]

set interface feature

  1. set interface feature <intfc> <feature_name> arc <arc_name> [disable]

set interface handoff

  1. set interface handoff <interface-name> workers <workers-list> [symmetrical|asymmetrical]

set interface hw-class

  1. Set interface hardware class

set interface input acl

  1. set interface input acl intfc <int> [ip4-table <index>] [ip6-table <index>] [l2-table <index>] [del]

set interface ip address

  1. set interface ip address [del] <interface> <ip-addr>/<mask> | [all]

set interface ip directed-broadcast

  1. set interface enable <interface> <enable|disable>

set interface ip geneve-bypass

  1. set interface ip geneve-bypass <interface> [del]

set interface ip source-and-port-range-c

  1. set interface ip source-and-port-range-check <interface> [tcp-out-vrf <table-id>] [udp-out-vrf <table-id>] [tcp-in-vrf <table-id>] [udp-in-vrf <table-id>] [del]

set interface ip table

  1. set interface ip table <interface> <table-id>

set interface ip vxlan-bypass

  1. set interface ip vxlan-bypass <interface> [del]

set interface ip vxlan-gbp-bypass

  1. set interface ip vxlan-gbp-bypass <interface> [del]

set interface ip vxlan-gpe-bypass

  1. set interface ip vxlan-gpe-bypass <interface> [del]

set interface ip6 geneve-bypass

  1. set interface ip6 geneve-bypass <interface> [del]

set interface ip6 l2tpv3

  1. set interface ip6 l2tpv3 <intfc> [del]

set interface ip6 table

  1. set interface ip6 table <interface> <table-id>

set interface ip6 vxlan-bypass

  1. set interface ip6 vxlan-bypass <interface> [del]

set interface ip6 vxlan-gbp-bypass

  1. set interface ip6 vxlan-gbp-bypass <interface> [del]

set interface ip6 vxlan-gpe-bypass

  1. set interface ip6 vxlan-gpe-bypass <interface> [del]

set interface ipsec spd

  1. set interface ipsec spd <int> <id>

set interface l2 bridge

  1. set interface l2 bridge <interface> <bridge-domain-id> [bvi|uu-fwd] [shg]

set interface l2 efp-filter

  1. set interface l2 efp-filter <interface> [disable]

set interface l2 flood

  1. set interface l2 flood <interface> [disable]

set interface l2 forward

  1. set interface l2 forward <interface> [disable]

set interface l2 input classify

  1. set interface l2 input classify intfc <interface-name> [ip4-table <n>] [ip6-table <n>] [other-table <n>]

set interface l2 learn

  1. set interface l2 learn <interface> [disable]

set interface l2 output classify

  1. set interface l2 output classify intfc <<interface-name>> [ip4-table <n>] [ip6-table <n>] [other-table <n>]

set interface l2 pbb-tag-rewrite

  1. set interface l2 pbb-tag-rewrite <interface> [disable | pop | push | translate_pbb_stag <outer_tag> dmac <address> smac <address> s_id <nn> [b_vlanid <nn>]]

set interface l2 rewrite

  1. set interface l2 rewrite <interface> [table <table index>] [miss-index <entry-index>]

set interface l2 tag-rewrite

  1. set interface l2 tag-rewrite <interface> [disable | pop {1|2} | push {dot1q|dot1ad} <tag> <tag>]

set interface l2 xconnect

  1. set interface l2 xconnect <interface> <peer interface>

set interface l2 xcrw

  1. set interface l2 xcrw <interface> next <node-name> [del] [tx-fib-id <id>] [ipv6] rw <hex-bytes>

set interface l3

  1. set interface l3 <interface>

set interface lldp

  1. set interface lldp <interface> | sw_if_index <idx> [port-desc <string>] [mgmt-ip4 <string>] [mgmt-ip6 <string>] [mgmt-oid <string>] [disable]

set interface mac address

  1. set interface mac address <interface> <mac-address>

set interface mpls

  1. Enable/Disable an interface for MPLS forwarding

set interface mtu

  1. set interface mtu [packet|ip4|ip6|mpls] <value> <interface>

set interface output acl

  1. set interface output acl intfc <int> [ip4-table <index>] [ip6-table <index>] [l2-table <index>] [del]

set interface promiscuous

  1. set interface promiscuous [on|off] <interface>

set interface proxy-arp

  1. set interface proxy-arp <intfc> [enable|disable]

set interface reassembly

  1. set interface reassembly <interface-name> [on|off|ip4|ip6]

set interface rx-mode

  1. set interface rx-mode <interface> [queue <n>] [polling | interrupt | adaptive]

set interface rx-placement

  1. set interface rx-placement <interface> [queue <n>] [worker <n> | main]

set interface secondary-mac-address

  1. set interface secondary-mac-address <interface> <mac-address> [(add|del)]

set interface span

  1. set interface span <if-name> [l2] {disable | destination <if-name> [both|rx|tx]}

set interface state

  1. set interface state <interface> [up|down|punt|enable]

set interface tag

  1. set interface tag <interface> <tag>

set interface unnumbered

  1. set interface unnumbered [<interface> use <interface> | del <interface>]

set ioam rewrite

  1. set ioam [trace] [pot] [seqno] [analyse]

set ip classify

  1. set ip classify intfc <interface> table-index <classify-idx>

set ip flow-hash

  1. set ip flow-hash table <table-id> [src] [dst] [sport] [dport] [proto] [reverse]

set ip neighbor

  1. set ip neighbor [del] <intfc> <ip-address> <mac-address> [static] [no-fib-entry] [count <count>] [fib-id <fib-id>] [proxy <lo-addr> - <hi-addr>]

set ip source-and-port-range-check

  1. set ip source-and-port-range-check vrf <table-id> <ip-addr>/<mask> {port nn | range <nn> - <nn>} [del]

set ip6 classify

  1. set ip6 classify intfc <interface> table-index <classify-idx>

set ip6 flow-hash

  1. set ip6 flow-hash table <table-id> [src] [dst] [sport] [dport] [proto] [reverse]

set ip6 nd proxy

  1. set ip6 nd proxy <interface> [del] <host-ip>

set ipfix classify stream

  1. set ipfix classify stream[domain <domain-id>] [src-port <src-port>]

set ipfix exporter

  1. set ipfix exporter collector <ip4-address> [port <port>] src <ip4-address> [fib-id <fib-id>] [path-mtu <path-mtu>] [template-interval <template-interval>] [udp-checksum]

set ipsec async mode

  1. set ipsec async mode on|off

set l2tpv3 tunnel cookie

  1. set l2tpv3 tunnel cookie <intfc> local <hex> remote <hex>

set li

  1. set li src <ip4-address> collector <ip4-address> udp-port <nnnn>

set lldp

  1. set lldp [system-name <string>] [tx-hold <value>] [tx-interval <value>]

set logging class

  1. set logging class <class> [rate-limit <int>] [level <level>] [syslog-level <level>]

set logging size

  1. set logging size <int>

set logging unthrottle-time

  1. set logging unthrottle-time <int>

set node function

  1. set node function <node-name> <variant-name>

set policer classify

  1. set policer classify interface <int> [ip4-table <index>] [ip6-table <index>] [l2-table <index>] [del]

set punt

  1. set punt [IPV4|ip6|ipv6] [UDP|tcp] [del] [ALL|<port-num>]

set sr encaps hop-limit

  1. set sr encaps hop-limit <value>

set sr encaps source

  1. set sr encaps source addr <ip6_addr>

set syslog filter

  1. set syslog filter severity <severity>

set syslog sender

  1. set syslog sender collector <ip4-address> [port <port>] src <ip4-address> [vrf-id <vrf-id>] [max-msg-size <max-msg-size>]

set tap offload

  1. set tap offload {<interface> | sw_if_index <sw_idx>} <gso-enable | gso-disable | csum-offload-enable | csum-offload-disable>

set terminal ansi

  1. set terminal ansi [on|off]

set terminal history

  1. set terminal history [on|off] [limit <lines>]

set terminal pager

  1. set terminal pager [on|off] [limit <lines>]

set virtio pci

  1. set virtio pci {<interface> | sw_if_index <sw_idx>} [gso-enabled | csum-offload-enabled | offloads-disabled]

show adj nbr

  1. show adj nbr [<adj_index>] [interface]

show adj

  1. show adj [<adj_index>] [interface] [summary]

show api clients

  1. Client information

show api dump

  1. show api dump file <filename> [numeric | compare-current]

show api histogram

  1. show api histogram

show api message-table

  1. Message Table

show api plugin

  1. show api plugin

show api ring-stats

  1. Message ring statistics

show api trace-status

  1. Display API trace status

show app certificate

  1. list app certs and keys present in store

show app ns

  1. show app ns

show app

  1. show app [app_id] [server|client] [mq] [verbose]

show arp proxy

  1. show ip arp

show bfd

  1. show bfd [keys|sessions|echo-source]

show bier bift

  1. show bier bift [set <value>] [sd <value>] [bsl <value>]

show bier disp entry

  1. show bier disp entry index

show bier disp table

  1. show bier disp table [index]

show bier fib

  1. show bier fib [table-index] [bit-position]

show bier fmask

  1. show bier fmask

show bier imp

  1. show bier imp [index]

show bihash

  1. show bihash

show bond

  1. show bond [details]

show bridge-domain

  1. show bridge-domain [bridge-domain-id [detail|int|arp|bd-tag]]

show buffers

  1. Show packet buffer allocation

show classify filter

  1. show classify filter [verbose [nn]]

show classify flow

  1. show classify flow type [ip4|ip6]

show classify policer

  1. show classify policer type [ip4|ip6|l2]

show classify tables

  1. show classify tables [index <nn>]

show cli

  1. show cli [mp-safe][not-mp-safe][hit][clear-hit]

show cli-sessions

  1. Show current CLI sessions

show clock

  1. show clock

show cpu

  1. Show cpu information

show crypto async handlers

  1. show crypto async handlers

show crypto engines

  1. show crypto engines

show crypto handlers

  1. show crypto handlers

show cryptodev assignment

  1. show cryptodev assignment

show dpdk buffer

  1. show dpdk buffer

show dpdk crypto devices

  1. show dpdk crypto devices

show dpdk crypto placement verbose

  1. show dpdk crypto placement verbose

show dpdk crypto placement

  1. show dpdk crypto placement

show dpdk crypto pools

  1. show dpdk crypto pools

show dpdk physmem

  1. show dpdk physmem

show dpdk version

  1. show dpdk version

show dpo memory

  1. show dpo memory

show errors

  1. Show error counts

show event-logger

  1. Show event logger info

show features

  1. show features [verbose]

show fib entry

  1. show fib entry

show fib entry-delegate

  1. show fib entry delegate

show fib memory

  1. show fib memory

show fib path-lists

  1. show fib path-lists

show fib paths

  1. show fib paths

show fib source

  1. show fib source [prio]

show fib uRPF

  1. show fib uRPF

show fib walk

  1. show fib walk

show flow entry

  1. show flow entry [index <index>]

show flow interface

  1. show flow interface <interface name>

show flow ranges

  1. show flow ranges

show frame-queue histogram

  1. show frame-queue histogram

show frame-queue

  1. show frame-queue trace

show gdb

  1. Describe functions which can be called from gdb

show geneve tunnel

  1. show geneve tunnel

show gpe adjacency

  1. show gpe adjacency commands

show gpe encap

  1. show GPE encapulation mode

show gpe entry

  1. show gpe entry vni <vni> vrf <vrf> [leid <leid>] reid <reid>

show gpe interface

  1. show gpe interface

show gpe native-forward

  1. show gpe native-forward

show gpe sub-interface

  1. show gpe sub-interface

show gpe tenant

  1. show gpe tenant

show gpe tunnel

  1. show gpe tunnel commands

show gre tunnel

  1. show gre tunnel commands

show hardware-interfaces

  1. show hardware-interfaces [brief|verbose|detail] [bond] [<interface> [<interface> [..]]] [<sw_idx> [<sw_idx> [..]]]

show inacl

  1. show inacl type [ip4|ip6|l2]

show init-function

  1. show init-function [init | enter | exit][verbose [nn]]

show interface rx-placement

  1. show interface rx-placement

show interface secondary-mac-address

  1. show interface secondary-mac-address [<interface>]

show interface span

  1. Shows SPAN mirror table

show interface

  1. show interface [address|addr|features|feat|vtr] [<interface> [<interface> [..]]] [verbose]

show ioam summary

  1. show ioam summary

show ip container

  1. show ip container <address> <interface>

show ip fib

  1. show ip fib [summary] [table <table-id>] [index <fib-id>] [<ip4-addr>[/<mask>]] [mtrie] [detail]

show ip local

  1. show ip local

show ip mfib

  1. show ip mfib [summary] [table <table-id>] [index <fib-id>] [<grp-addr>[/<mask>]] [<grp-addr>] [<src-addr> <grp-addr>]

show ip neighbor-watcher

  1. show ip neighbors-watcher

show ip neighbors

  1. show ip neighbors [interface]

show ip neighbor

  1. show ip neighbor [interface]

show ip neighbor-config

  1. show ip neighbor-config

show ip punt redirect

  1. show ip punt redirect

show ip source-and-port-range-check

  1. show ip source-and-port-range-check vrf <table-id> <ip-addr> [port <n>]

show ip4 neighbor-sorted

  1. show ip4 neighbor-sorted

show ip4 neighbors

  1. show ip4 neighbors [interface]

show ip4 neighbor

  1. show ip4 neighbor [interface]

show ip4-full-reassembly

  1. show ip4-full-reassembly [details]

show ip4-sv-reassembly

  1. show ip4-sv-reassembly [details]

show ip6 fib

  1. show ip6 fib [summary] [table <table-id>] [index <fib-id>] [<ip6-addr>[/<width>]] [detail]

show ip6 hbh

  1. show ip6 hbh

show ip6 interface

  1. show ip6 interface <interface>

show ip6 local

  1. show ip6 local

show ip6 mfib

  1. show ip mfib [summary] [table <table-id>] [index <fib-id>] [<grp-addr>[/<mask>]] [<grp-addr>] [<src-addr> <grp-addr>]

show ip6 neighbors

  1. show ip6 neighbors [interface]

show ip6 neighbor

  1. show ip6 neighbor [interface]

show ip6 neighbor-sorted

  1. show ip6 neighbor-sorted

show ip6 punt redirect

  1. show ip6 punt redirect

show ip6-full-reassembly

  1. show ip6-full-reassembly [details]

show ip6-ll

  1. show ip6-ll [summary] [interface] [<ip6-addr>[/<width>]] [detail]

show ip6-sv-reassembly

  1. show ip6-sv-reassembly [details]

show ipip tunnel

  1. show ipip tunnel commands

show ipip tunnel-hash

  1. show ipip tunnel-hash

show ipsec all

  1. show ipsec all

show ipsec backends

  1. show ipsec backends

show ipsec protect

  1. show ipsec protect

show ipsec protect-hash

  1. show ipsec protect-hash

show ipsec sa

  1. show ipsec sa [index]

show ipsec spd

  1. show ipsec spd [index]

show ipsec tunnel

  1. show ipsec tunnel

show l2 rewrite entries

  1. show l2 rewrite entries

show l2 rewrite interfaces

  1. show l2 rewrite interfaces

show l2fib

  1. show l2fib [all] | [bd_id <nn> | bd_index <nn>] [learn | add] | [raw]

show l2patch

  1. Show l2 interface cross-connect entries

show l2tpv3

  1. show l2tpv3 [verbose]

show l2xcrw

  1. show l2xcrw

show lisp adjacencies

  1. show lisp adjacencies

show lisp eid-table map

  1. show lisp eid-table l2|l3

show lisp eid-table

  1. Shows EID table

show lisp locator-set

  1. Shows locator-sets

show lisp map-request itr-rlocs

  1. Shows map-request itr-rlocs

show lisp map-request mode

  1. show lisp map-request mode

show lisp map-resolvers

  1. show lisp map-resolvers

show lisp petr

  1. Show petr

show lisp pitr

  1. Show pitr

show lisp status

  1. show lisp status

show lldp

  1. show lldp [detail]

show load-balance

  1. show load-balance [<index>]

show load-balance-map

  1. show load-balance-map [<index>]

show logging configuration

  1. show logging configuration

show logging

  1. show logging

show lookup-dpo

  1. show lookup-dpo [<index>]

show macro

  1. show macro [noevaluate]

show memory

  1. show memory [api-segment][stats-segment][verbose] [numa-heaps]

show mfib entry

  1. show mfib entry

show mfib interface

  1. show mfib interface

show mfib itf flags

  1. Flags applicable to an MFIB interfaces

show mfib route flags

  1. Flags applicable to an MFIB route

show mode

  1. show mode [<if-name1> <if-name2> ...]

show mpls fib

  1. show mpls fib [summary] [table <n>]

show mpls tunnel

  1. show mpls tunnel commands

show node counters

  1. Show node counters

show node

show node [index] <node-name | node-index>

show one adjacencies

show one adjacencies

show one eid-table map

show one eid-table l2|l3

show one eid-table

Shows EID table

show one l2 arp entries

Show ONE L2 ARP entries

show one locator-set

Shows locator-sets

show one map-register fallback-threshold

show one map-register fallback-threshold

show one map-register state

show one map-register state

show one map-register ttl

show one map-register ttl

show one map-request itr-rlocs

Shows map-request itr-rlocs

show one map-request mode

show one map-request mode

show one map-resolvers

show one map-resolvers

show one map-servers

show one map servers

show one modes

show one modes

show one ndp entries

Show ONE NDP entries

show one petr

Show petr

show one pitr

Show pitr

show one rloc state

show one RLOC state

show one statistics details

show ONE statistics

show one statistics status

show ONE statistics enable/disable status

show one status

show one status

show outacl

show outacl type [ip4|ip6|l2]

show packet-generator

show packet-generator [verbose]

show pci

show pci [all]

show physmem

show physmem [verbose | detail | map]

show plugins

show loaded plugins

show policer pools

show policer pools

show policer

show policer [name]

show punt client

show client[s] registered with the punt infra

show punt db

show the punt DB

show punt reasons

show all punt reasons

show punt socket registrations

show punt socket registrations [l4|exception]

show punt stats

show the punt stats

show qos egress map

show qos egress map id %d

show qos mark

show qos mark [interface]

show qos record

show qos record [interface]

show qos store

show qos store [interface]

show replicate

show replicate [<index>]

show runtime

Show packet processing runtime

show segment-manager

show segment-manager [segments][verbose]

show session fifo trace

show session fifo trace <session>

show session rules

show session rules [<proto> appns <id> <lcl-ip/plen> <lcl-port> <rmt-ip/plen> <rmt-port> scope <scope>]

show session

show session [verbose [n]] [listeners <proto>] [<session-id> [elog]] [thread <n> [index <n>] [proto <proto>] [state <state>] [range <min> [<max>]] [protos] [states]

show sr localsids behaviors

show sr localsids behaviors

show sr localsids

show sr localsids

show sr mpls policies

show sr mpls policies

show sr mpls steering policies

show sr mpls steering policies

show sr policies

show sr policies

show sr policy behaviors

show sr policy behaviors

show sr steering-policies

show sr steering-policies

show statistics segment

show statistics segment [verbose]

show syslog filter

show syslog filter

show syslog sender

show syslog sender

show tap

show tap {<interface>] [descriptors]

show tcp half-open

show tcp half-open [verbose <n>] [range <start> <end>]

show tcp punt

show tcp punt

show tcp scoreboard trace

show tcp scoreboard trace <connection>

show tcp stats

show tcp stats

show teib

show teib

show terminal

Show current session terminal settings

show threads

Show threads

show trace

Show trace buffer [max COUNT]

show tun

show tun {<interface>] [descriptors]

show udp encap

show udp encap [ID]

show udp punt

show udp punt [ipv4|ipv6]

show unix errors

Show Unix system call error history

show unix files

Show Unix files in use

show version

show version [verbose] [cmdline]

show vhost-user

show vhost-user [<interface> [<interface> [..]]] [[descriptors] [verbose]]

show virtio pci

show virtio pci [<interface>] [descriptors | desc] [debug-device]

show vlib frame-allocation

Show node dispatch frame statistics

show vlib graph

Show packet processing node graph

show vlib graphviz

Dump packet processing node graph as a graphviz dotfile

show vxlan tunnel

show vxlan tunnel [raw]

show vxlan-gbp tunnel

show vxlan-gbp tunnel [raw]

show vxlan-gpe

show vxlan-gpe commands

sr localsid

sr localsid (del) address XX:XX::YY:YY(fib-table 8) behavior STRING

sr mpls policy te

sr mpls policy te bsid xxxxx endpoint x.x.x.x color 12341234

sr mpls policy

sr mpls policy [add||del||mod] bsid 2999 next 10 next 20 next 30 (weight 1) (spray)

sr mpls steer

sr mpls steer (del) l3 <ip_addr/mask> via [sr policy bsid <mpls_label> || next-hop <ip46_addr> color <u32> co <0|1|2|3> ](fib-table <fib_table_index>)(vpn-label 500)

sr policy

sr policy [add||del||mod] [bsid 2001::1||index 5] next A:: next B:: next C:: (weight 1) (fib-table 2) (encap|insert)

sr steer

sr steer (del) [l3 <ip_addr/mask>|l2 <sf_if>] via [index <sr_policy_index>|bsid <bsid_ip6_addr>] (fib-table <fib_table_index>)

suspend

suspend debug CLI for 30ms

tcp debug

tcp [show] [debug group <N> level <N>]

tcp replay scoreboard

tcp replay scoreboard <connection>

tcp src-address

tcp src-address <ip-addr> [- <ip-addr>] add src address range

test counters

increment all active counters

test dpdk buffer

test dpdk buffer [allocate <nn>] [free <nn>]

test fib-walk-process

test fib-walk-process [enable|disable]

test flow

test flow add [src-ip <ip-addr/mask>] [dst-ip <ip-addr/mask>] [src-port <port/mask>] [dst-port <port/mask>] [proto <ip-proto>

test frame-queue nelts

test frame-queue nelts (4,8,16,32)

test frame-queue threshold

test frame-queue threshold N (0=no limit)

test ip6 link

test ip6 link <mac-address>

test l2fib

test l2fib [add|del|check] mac <base-addr> count <nn>

test l2patch

test l2patch rx <intfc> tx <intfc> [del]

test log

test log <level> <class> <subclass> <message>

test lookup

test lookup <ipv4-addr> [table <fib-id>] [count <nn>]

test one nsh add-dummy-decap-node

test one nsh add-dummy-decap-node commands

test one nsh

test gpe nsh pcap <path-to-pcap-file>

test policer

intfc <intfc> policer <policer-config-name> [del]

test syslog

test syslog <facility> <severity> <app-name> <msgid> [sd-id <sd-id> sd-param <name> <value>] [<message]

trace add

Trace given number of packets

trace filter

filter trace output - include NODE COUNT | exclude NODE COUNT | none

trace frame-queue

trace frame-queue (on|off)

udp encap

udp encap [add|del] <id ID> <src-ip> <dst-ip> [<src-port>] <dst-port>  [src-port-is-entropy] [table-id <table>]

undefine

undefine <variable-name>

wait

wait <sec>