NSX CLI Guide

Associated Commands:

CLI Description Command

Clear a BFD session stats


Clear the statistics for the specified BFD session
clear bfd-session local-ip <ip46-address> remote-ip <ip46-address> stats

Clear BFD sessions stats


Clear the statistics for all BFD sessions.
clear bfd-sessions stats

Display logical router BFD config


Display parameters defined in global logical router BFD
get bfd-config

Display info for a BFD session


Display information about the specified BFD session.
get bfd-session local-ip <ip46-address> remote-ip <ip46-address>

Display stats for a BFD session


Display statistics for the specified BFD session.
get bfd-session local-ip <ip46-address> remote-ip <ip46-address> stats

Display info about BFD sessions


Display information about BFD sessions.
get bfd-sessions

Display logical router BFD sessions


Display BFD sessions in a logical router
get bfd-sessions [stats]

Display BFD sessions stats


Display the BFD sessions statistics.
get bfd-sessions stats

Display gateway BFD config


Display parameters defined in global gateway BFD
get gateway <dpd-uuid-lrouter-arg> bfd-config

Display gateway BFD sessions


Display BFD sessions in a gateway
get gateway <uuid> bfd-sessions [stats]

Display the gateway forwarding table


Display the forwarding table for the specified gateway. Optionally specify a prefix to display only the entry that matches that network.
get gateway <uuid> forwarding [<prefix>]

Display gateway BFD config


Display parameters defined in global gateway BFD
get gateway bfd-config

Display gateway BFD sessions


Display BFD sessions in a gateway
get gateway bfd-sessions [stats]

Display logical router BFD config


Display parameters defined in global logical router BFD
get logical-router <dpd-uuid-lrouter-arg> bfd-config (Deprecated)

Display logical router BFD sessions


Display BFD sessions in a logical router
get logical-router <uuid> bfd-sessions [stats] (Deprecated)

Total commands: 15