Command line mode
After logging in to Kaspersky NGFW using the console and starting the command line, only one of the following modes is available, depending on the current state of the device:
The mode in which the command line is started depends on the current status of the device:
Service is not ready
message.Switching between access modes is not automatic. If the status of the device changes while the device is working (for example, the device goes from Initialization to OK), to gain access to a new set of commands, you need to exit the current session and re-authorize.
Commands and utilities
You can manage Kaspersky NGFW on the command line. You can use the following commands:
bfd
– a family of commands for configuring the Bidirectional Forwarding Detection (BFD) protocolbgp
– a family of commands for configuring the Border Gateway Protocol (hereinafter BGP)bond
– a family of commands for configuring and viewing aggregated interfacesbridge
– a family of commands for configuring L2 bridgesconfig
– a family of commands for managing the configurationcounters
– a family of commands for viewing event countersdecrypt
– a family of commands for configuring traffic decryption rulesdhcp-relay
– a family of commands for configuring DHCP relay serversdomain-object
– a family of commands for configuring objects that are collections of domain namesdpi
– a family of commands for managing the DPI subsystemexplicit-proxy
– a family of commands for configuring the HTTP proxy server of NGFWfailover
– a family of commands for configuring a high-availability clusterhealth
– a command that displays the status of system componentsinterface
– a family of commands for configuring and viewing interfacesip-reassembly
– a family of commands for configuring the processing of fragmented IP packetsip route
– a family of commands for configuring IP routesknbe-agent
– a family of commands for managing the agent responsible for synchronizing with the orchestratorksc-server
– a family of commands for configuring the Open Single Management Platform (OSMP) connectionksn
– a family of commands for configuring Kaspersky Security Network (KSN)licensing
– a family of commands for managing the licenselog
– a family of commands for managing the logging systemmf
– a family of commands for configuring traffic filtering by MAC addressnat
– a family of commands for configuring NAT/NAPT translation rulesobject
– a family of commands for configuring network objectsospf
– a family of commands for configuring the OSPF protocolpcapdump
– a family of commands for configuring, starting, stopping, and viewing the results of capturing local packets passing through Kaspersky NGFWpf session
– a family of commands for displaying and clearing the table of sessionspf
– a family of commands for configuring security rulesproxy
– a family of commands for configuring the proxy server connectionquit
– a command for exiting the command linerouting
– a family of commands for configuring routing filterssecurity-events-toggle
– a family of commands for configuring security event loggingsecurity
– a family of commands for configuring scanning and analysis of the contents of network trafficsend-net-unreachable
– a family of commands for configuring the sending of an ICMP message if the route for the incoming packet is unknownservice
– a family of commands for configuring servicessnmp
– a family of commands for configuring SNMP monitoringsoftware-updater
– a family of commands for the firmware update taskstat
– a family of commands for configuring and viewing interface statistics settingssystem
- a family of system commandstech-support-info
- command for gathering technical information on a Kaspersky NGFW instance for Technical Support in case of an incidenttimeouts
– a family of commands for configuring the session closing timeout for various network protocolstls
– a family of commands for managing the TLS/SSL encryption protocolsupdater
– a family of commands for the database update taskuser-awareness
– a family of commands for configuring the User awareness functionalityutils
– a family of commands for running utilitiesvrf
– a family of commands for configuring virtual routers (VRF-Lite)zone
– a family of commands for configuring and viewing data plane zonesA full description of the command line commands is given in the Managing Kaspersky NGFW using the command line document.
You can also use the following command line utilities and their options to diagnose and troubleshoot Kaspersky NGFW:
ping
is a utility for checking the connection quality in TCP/IP networks.You can use the ping
utility to set the maximum transmission unit (MTU) size and control the DF flag.
curl
is a utility for making HTTP requests.nslookup
is a utility for troubleshooting DNS.traceroute
is a utility for determining data routes in TCP/IP networks.tcpdump
is a packet capture utility.packet-tracer
is a utility for logging packets transiting data plane interfaces.These diagnostic utilities are available on all interfaces of Kaspersky NGFW. For detailed information on how to use these utilities, refer to the corresponding documentation.
Page top