System
help
Command objective: This command displays a brief description of the given command.
Syntax: help [command]
Mode: All modes.
clear screen
Command Objective: This command clears all the contents from the screen.
Syntax: clear screen
Mode: All modes.
end
Command Objective: Exit from configure mode.
Syntax: end
Mode: All modes.
logout
Command Objective: This command exits from privileged EXEC or user EXEC mode to the ISS login prompt. When connected using telnet, this command terminates the session.
Syntax: logout
Mode: Privileged exec mode.
show privilege
Command Objective: Show the current privilege level.
Syntax: show privilege
Mode: Privileged exec mode.
show cli
Command Objective: This command displays TTY line information, such as the exec timeout.
Syntax: show cli
Mode: Privileged exec mode.
exit
Command Objective: This command exits the current mode and reverts to the mode used before the current mode.
Syntax: exit
Mode: All modes.
configure terminal
Command Objective: This command enters Global Configuration Mode, allowing the user to run all the commands in global configuration mode.
Syntax: configure terminal
Mode: Privileged exec mode.
listuser
Command Objective: This command lists all the default and newly created users and their permissible modes.
Syntax: listuser
Mode: Privileged exec mode.
show users
Command Objective: This command displays the information about the current user.
Syntax: show users
Mode: Privileged exec mode.
lock
Command Objective: This command locks the CLI console. It allows the user or system administrator to lock the console to prevent unauthorized users from gaining access to the CLI command shell. Enter the login password to release the console lock and access the CLI command shell.
Syntax: lock
Mode: Privileged exec mode.
show history
Command Objective: This command displays a list of recently executed commands.
Syntax: show history
Mode: Privileged exec mode.
username
Command Objective: You can use this command to create new users or change the password and privilege level of existing users.
The no
form of the command deletes a user.
Syntax:
username <username> password <password> confirm-password <password> privilege <1-15>
no username <username>
Parameter Description:
<username>
: The username you want to create or edit.-
<password>
: The password for the specified user. The password must meet the following requirements:- Minimum 10 characters
- Maximum 32 characters
- At least one letter and number
- One of the following special characters: @ ~ % * # + - =
-
privilege
: Restricts the user's ability to configure the switch and run CLI commands. Set a level from1
to15
, with15
being the highest level of privilege.
Mode: Global configuration mode.
line cli
Command Objective: This command identifies a specific configuration line, enters the line configuration mode, and allows the user to run all the commands that support line configuration mode.
Syntax: line cli
Mode: Global Configuration Mode.
logging synchronous
Command Objective: This command enables synchronous logging of messages.
This command is a complete standardized implementation of the existing command. It operates similarly to command logging.
Syntax: logging synchronous {severity [{<short (0-7)> | alerts | critical | debugging | emergencies | errors | informational | notification | warnings | all}] | limit <number-of-buffers(size(1-200))}
Mode: Line Configuration Mode.
exec-timeout
Command Objective: This command sets a time (in seconds) for EXEC line disconnection. This value ranges between 1 and 10000 seconds.
The no
form of this command resets the EXEC timeout to its default value.
Syntax:
exec-timeout <integer (1-18000)>
no exec-timeout
Mode: Line Configuration Mode.
set cli pagination
Command Objective: This command sets whether to use "--MORE--" paging for content too long to fit the console screen.
Syntax: set cli pagination {on | off}
Mode: Global configuration mode.
clear counters
Command Objective: This command clears all the current interface counters from the interface unless the optional arguments type and number are specified to clear only a specific interface type (serial, Ethernet, Token Ring, and so on).
Syntax: clear counters <interface-type> <interface-id>
Parameter Description:
: Configures the specified type of interface. : Configures the IP interface configuration for the specified interface identifier. This is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash. For example, 0/1 represents that the slot number is 0 and the port number is 1.
Mode: Privileged exec mode.
configure
Command Objective: This command enters the configuration mode. Configuration from memory or network isn't supported in the configuration mode.
Syntax: configure
Mode: Privileged exec mode.
interface
Command Objective: This command allows the configuration of interfaces such as VLAN.
Syntax: interface {vlan <vlan-id> | port-channel <integer (1-8)> |<interface-type> <interface-id>} no interface vlan <vlan-id>
Parameter Description:
- vlan
: VLAN ID is a unique value representing the specific VLAN. This value ranges between 1 and 4094. - port-channel\
: Configures the host's port to configure the router. This value ranges between 1 and 8. You can only create the port channel identifier, or port channel related configuration can be done if the LA feature is turned on in the switch. -
: Configures the specified type of interface. - gigabitethernet: A version of LAN standard architecture that supports data transfer up to 1 Gigabit per second.
- port-channel: Logical interface that represents an aggregator with several ports aggregated together.
Mode: Global configuration mode.
interface range
Command Objective: This command selects the range of physical interfaces to be configured.
Syntax: interface range {<interface-type> <slot/port-port>}
Parameter Description:
: Selects the range of the specified interface. : Selects the range of the specified interface identifier. This is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash.
Mode: Global configuration mode.
set ip-management-vlan
Command Objective: This command configures the IP management VLAN.
Syntax: set ip-management-vlan <integer(1-4094)>
Parameter Description:
: VlAN ID.
Mode: Global Configuration Mode
shutdown
Command Objective: Set the AdminStatus of Interface down/up.
Syntax:
shutdown
no shutdown
Description: Set the AdminStatus of Interface down/up.
Mode: Interface Configuration Mode.
description
Command Objective: Descriptions about the interface.
Syntax
description <description of this interface>
no description
Description: Descriptions about the interface, or cancel the descriptions about the interface.
Mode: Interface Configuration Mode.
show interface port-security
Command Objective: This command shows the maximum number of learning addresses and lock mode.
Syntax: show interface port-security [<iftype> <ifnum>]
Parameter Description:
-
: Displays the IP interface configuration for the specified interface type. The interface can be: - gigabitethernet: A version of LAN standard architecture that supports data transfer up to 1 Gigabit per second.
Mode: Privileged exec mode.
show interface cable-diag
Command Objective: Used to diagnose the copper cable. If there's an error on the cable, it can determine the type of error and the position where the error occurred.
Syntax: show interface cable-diag Gigabitethernet <ifnum>
Parameter Description:
- OK: This pair is connected to a partner network device, and the link is up.
- OPEN: This pair is left open.
- SHORT: There's a short between this pair.
- Unknown: The last diagnosis didn't obtain the cable status. Please try it again.
Mode: Privileged exec mode.
show interfaces
Command Objective: This command displays the interface status and configuration.
Syntax: show interfaces [{[<interface-type> | <interface-id>] [{ description | storm-control | flowcontrol | capabilities | status | port-security-state | rate-limit}] | {vlan <vlan-id>}}
Parameter Description:
-
: Displays the interface status and configuration for the specified interface type. The interface can be: - gigabitethernet: A version of LAN standard architecture that supports data transfer up to 1 Gigabit per second.
- port-channel: Logical interface that represents an aggregator with several ports aggregated together.
-
: Shows the interface status and configuration for the specified interface identifier. This is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash. For example, 0/1 represents slot number 0 and port number 1. - Description: Shows the interface description.
- storm-control: Shows the broadcast, multicast, and unicast storm suppression levels for the specified interface.
- flowcontrol: Shows the flow control related statistics information for the specified interface.
- capabilities: Shows the interface type, speed, duplex operation, and flowcontrol status for the specified interface.
- status: Shows the status, duplex details, speed, and negotiation mode of the specified interface.
- port-security-state: Shows the status of the port security option.
- vlan
: VLAN ID is a unique value representing the specific VLAN. This value ranges between 1 and 4094.
Mode: Privileged exec mode.
show interfaces - counters
Command Objective: This command displays the interface statistics for each port.
Syntax: show interfaces {counters | {<interface-type> <interface-id> counters }}
Parameter Description:
- counters: Shows the interface statistics for all the available interfaces.
-
: Shows the IP interface configuration for the specified interface type. The interface can be: - gigabitethernet: A version of LAN standard architecture that supports data transfer up to 1 Gigabit per second.
- port-channel: Logical interface that represents an aggregator with several ports aggregated together.
-
: Displays the IP interface configuration for the specified interface identifier. This is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash. For example, 0/1 represents slot number 0 and port number 1.
Mode: Privileged exec mode.
clear interfaces - counters
Command Objective: This command clears all the current interface counters from the interface unless the optional arguments type and number are specified to clear only a specific interface type (serial, Ethernet, Token Ring, and so on).
Syntax: clear interfaces <interface-type> <interface-id> counters
Parameter Description:
-
: Configures the specified type of interface. - gigabitethernet: A version of LAN standard architecture that supports data transfer up to 1 Gigabit per second.
- port-channel: Logical interface that represents an aggregator with several ports aggregated together.
-
: Displays the IP interface configuration for the specified interface identifier. This is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash. For example, 0/1 represents slot number 0 and port number 1.
Mode: Privileged exec mode.
show interface sfp-info
Command Objective: This command displays the SFP module information.
Syntax: show interface sfp-info <interface-type> <interface-id>
Parameter Description:
-
: Shows the IP interface configuration for the specified interface type. The interface can be: - gigabitethernet: A version of LAN standard architecture that supports data transfer up to 1 Gigabit per second.
- port-channel: Logical interface that represents an aggregator with several ports aggregated together.
-
: Displays the IP interface configuration for the specified interface identifier. This is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash. For example, 0/1 represents slot number 0 and port number 1.
Mode: Privileged exec mode.
show interface mtu
Command Objective: This command displays the Maximum Transmission Unit (MTU).
Syntax: show interface mtu [{ Vlan <vlan-id> | port-channel <port- channel-id (1-8> | <interface-type> <interface-id>}]
Parameter Description:
-
: Displays the IP interface configuration for the specified interface type. The interface can be: - gigabitethernet: A version of LAN standard architecture that supports data transfer up to 1 Gigabit per second.
- port-channel: Logical interface that represents an aggregator with several ports aggregated together.
-
: Displays the IP interface configuration for the specified interface identifier. This is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash. For example, 0/1 represents slot number 0 and port number 1.
Mode: Privileged exec mode.
show ip interface
Command Objective: This command displays IP interface status and configuration.
Syntax: show ip interface [vrf <string(32)>] [{[vlan <short(1-4094)> [switch <string(32)>]] | [<iftype> <ifnum>] | [ loopback] <short(0-100)>]}]
Parameter Description:
- Vrf: Name of the VRF instance.
- Vlan
: Displays the IP interface configuration for the specified VLAN ID. This is a unique value that represents the specific VLAN created. This value ranges between 1 and 4094. -
: Displays the IP interface configuration for the specified interface type. The interface can be: - gigabitethernet: A version of LAN standard architecture that supports data transfer up to 1 Gigabit per second.
-
: Displays the IP interface configuration for the specified interface identifier. This is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash. For example, 0/1 represents slot number 0 and port number 1. - loopback: Loopback ID(0-100).
Mode: Privileged exec mode.
show flow-control
Command Objective: This command displays the flow-control information.
Syntax: show flow-control [interface <interface-type> <interface-id>]
Parameter Description:
-
: Displays the flow-control information for the specified interface type. The interface can be: - gigabitethernet: A version of LAN standard architecture that supports data transfer up to 1 Gigabit per second.
- port-channel: Logical interface that represents an aggregator with several ports aggregated together.
-
: Displays the flow-control information for the specified interface identifier. This is a unique value that represents the specific interface. This value is a combination of slot number and port number separated by a slash. For example, 0/1 represents slot number 0 and port number 1.
Mode: Privileged exec mode.
snmp trap link-status
Command Objective: With this command, you can turn on or off trap generation on the interface. The interface generated linkUp or linkDown trap. The linkUp trap denotes that the communication link is available and ready for traffic flow. The linkDown trap denotes that the communication link failed and isn't ready for traffic flow.
Syntax:
snmp trap link-status
no snmp trap link-status
Mode: Interface Configuration Mode.
flowcontrol
Command Objective: Use this command to set the send or receive flow-control value for an interface.
Syntax: flowcontrol {on | off}
Parameter Description:
- on: If used with receive, allows an interface to operate with the attached device to send flow control packets. If used with send, the interface sends flowcontrol packets to a remote device if it supports it.
- off: Turns off the ability of the attached devices (when used with receive) or the local ports (when used with send) to send flow-control packets to an interface or a remote device.
Mode: Interface Configuration Mode.
port-security
Command Objective: This command configures the number of learning addresses on an interface port.
Syntax:
port-security <limit-size(1-256)>
no port-security
Parameter Description:
: Range is 1 to 256.
Mode: Interface Configuration Mode. This command is applicable in PORT Interface Mode.
mtu
Command Objective: Configures the Maximum Transmission Unit (MTU) for the interface.
Syntax: mtu <frame-size(1522-10240)>
Parameter Description:
: Range is 1522 to 10240.
Mode: Interface Configuration Mode. This command is applicable in PORT Interface Mode.
system mtu
Command Objective: Configures the Maximum Transmission Unit (MTU) for all interfaces.
Syntax:
system mtu <frame-size(1522-10240)>
no system mtu <frame-size(1522-10240)>
Parameter Description:
: Range is 1522 to 10240.
Mode: Global configuration mode.
system name
Command Objective: This command sets the system name.
Syntax: system name <systemname>
Mode: Global configuration mode.
no user-defined system name
Command Objective: This command sets the system name information to the default value.
Syntax: no user-defined system name
Mode: Global configuration mode.
system contact
Command Objective: This command sets the contact information.
Syntax: system contact <contact info>
Mode: Global configuration mode.
system location
Command Objective: This command sets the location name.
Syntax: system location <location name>
Mode: Global configuration mode.
switchport
Command Objective: Puts an interface that is in layer 3 mode into layer 2 mode for layer 2 configuration.
Syntax:
switchport
no switchport
Parameter Description:
: Range is 1522 to 10240. - no switchport: To set the interface to the routed-interface status and to erase all Layer 2 configurations.
Mode: Interface Configuration Mode. This command is applicable in PORT Interface Mode.
sntp
Command Objective: This command enters SNTP configuration mode, which allows the user to run all the commands that support SNTP configuration mode.
Syntax: sntp
Mode: Global configuration mode.
set sntp client
Command Objective: Turns the SNTP client module on or off.
Syntax: set sntp client {enabled | disabled}
Parameter Description:
- enabled: Enables SNTP client module and sends a request to the host for time synchronization.
- disabled: Disables SNTP client module. No request is sent to the host for time synchronization.
Mode: SNTP Configuration Mode.
set sntp client port
Command Objective: This command sets the listening port for the SNTP client, which refers to a port on a server waiting for a client connection. The value ranges between 1 and 65535.
The no
form of this command deletes the listening port for the SNTP client and sets the default value.
Syntax: set sntp client port <integer(1-65535)>
Syntax: no sntp client port <integer(1-65535)>
Mode: SNTP Configuration Mode.
set sntp client time-zone
Command Objective: This command sets the system time zone with respect to UTC. The no
form of command resets the system time zone to GMT.
Syntax:
set sntp client time-zone <UTC-offset value as (+HH:MM - HH:MM)(+00:00 to +14:00) (-00:00 to -12:00)>
Example: +05:30
no sntp client time-zone
Parameter Description:
-
+ | - : Sets the client time zone as after or before UTC. A plus sign indicates a time zone ahead of UTC. A minus sign indicates a time zone behind UTC.
-
UTC-offset value as: Sets the UTC offset value in hours
- +00:00 to +14:00
- 00:00 to -12:00
Mode: SNTP Configuration Mode.
set sntp client clock-summer-time
Command Objective: This command enables the DST (Daylight Saving Time).
The no
form of this command disables daylight saving time.
Syntax:
set sntp client clock-summer-time <week-day-month,hh:mm><week-day-month,hh:mm>
Example: set sntp client clock-summer-time First-Sun-Mar,05:10 Second-Sun-Nov,06:10
no sntp client clock summer-time
Parameter Description:
-
week-day-month: The options are as follows:
- week: First, Second, Third, Fourth, or Last week of the month.
- day: Sunday, Monday, Tuesday, Wednesday, Thursday, Friday, or Saturday.
- month: January, February, March, April, May, June, July, August, September, October, November, or December.
- hh:mm: Time in hours and minutes.
Mode: SNTP Configuration Mode.
set sntp unicast-server
Command Objective: This command configures the SNTP unicast-server.
The no
form of this command deletes the attributes and sets them to the default value.
Syntax:
set sntp unicast-server {ipv4 <ucast_addr> | ipv6 <ip6_addr> | domain-name <string(64)>} [port <integer(1-65535)>]
no sntp unicast-server {ipv4 <ucast_addr> | ipv6 <ip6_addr> | domain-name <string(64)>}
Parameter Description:
- ipv4
: Sets the address type of the unicast-server as IPv4. - ipv6
: Sets the address type of the unicast server as IPv6. - domain-name
: Sets the domain name for the unicast server. This value is a string with a maximum size of 64. - port
: Selects the port identifier numbers in the selected server. This value ranges between 1 and 65535.
Mode: SNTP Configuration Mode.
show sntp clock
Command Objective: This command displays the current time.
Syntax: show sntp clock
Mode: User / Privileged exec mode.
show sntp status
Command Objective: This command displays SNTP status.
Syntax: show sntp status
Mode: User / Privileged exec mode.
clock set
Command Objective: This command manages the system clock.
Syntax: clock set hh:mm:ss <day (1-31)> {january | february | march | april | may | june | july | august | september | october | november | december} <year(2000 - 2035)>
Parameter Description:
- hh
ss: Sets the current time. The format is hour, minutes, and seconds.
: Sets the current day. It ranges between 1 and 31. - january: Sets the month as January.
- february: Sets the month as February.
- march: Sets the month as March.
- april: Sets the month as April.
- may: Sets the month as May.
- june: Sets the month as June.
- july: Sets the month as July.
- august: Sets the month as August.
- september: Sets the month as September.
- october: Sets the month as October.
- november: Sets the month as November.
- december: Sets the month as December.
: Sets the year. It ranges between 2000 and 2035.
Mode: Privileged exec mode.
show clock
Command Objective: This command displays the system date and time.
Syntax: show clock
Mode: Privileged exec mode.
show system information
Command Objective: This command displays system information.
Syntax: show system information
Mode: Privileged exec mode.
show system utilization
Command Objective: This command displays the system utilization.
Syntax: show system utilization
Mode: Privileged exec mode.
reboot
Command Objective: This command restarts the switch.
Syntax: reboot
Mode: Privileged exec mode.
reboot-flick
Command Objective: This command restarts the switch but doesn't reset PoE.
Syntax: reboot-flick
Mode: Privileged exec mode.
restore-defaults
Command Objective: This command restores the default configuration.
Syntax: restore-defaults
Mode: Privileged exec mode.
restore-defaults-without-IP
Command Objective: This command restores the default configuration without IP.
Syntax: restore-defaults-without-IP
Mode: Privileged exec mode.
show telnet server
Command Objective: This command displays the telnet server status.
Syntax: show telnet server
Mode: Privileged exec mode.
show http server status
Command Objective: This command displays the HTTP server status and HTTP port.
Syntax: show http server status
Mode: Privileged exec mode.
port speed - duplex
Command Objective: This command configures the speed and duplex operation.
Syntax:
speed { 10 \| 100 \| 1000 \| 10000 } duplex { full \| half }
no speed
no duplex
Parameter Description
- 10: Port runs at 10Mbps.
- 100: Port runs at 100Mbps.
- 1000: Port runs at 1000Mbps.
- 10000: Port runs at 10000Mbps.
- full: Port is in full-duplex mode. That is, data will simultaneously communicate in both directions.
- half: Port is in half-duplex mode. Data can communicate in both directions but only in one direction simultaneously.
Mode: Interface Configuration
extended speed
Command Objective: This command enables extended speed on the port.
Syntax: extended speed
Mode: Interface Configuration
negotiation
Command Objective: This command enables auto-negotiation on the interface.
The no
form of the command disables auto-negotiation on the interface.
The port with auto-negotiation turned on negotiates with the other end for port properties such as speed and duplexity. The normal port uses the port property values configured by the administrator.
Syntax:
negotiation
no negotiation
Mode: Interface Configuration.
set switch-name
Command Objective: This command sets the name of the switch.
Syntax: set switch-name <switchname>
Mode: Global configuration mode.
set system description
Command Objective: This command configures the system description.
Syntax: set system description <switchname>
Mode: Global configuration mode.
set ip http
Command Objective: This command turns on or turns off HTTP in the switch.
Syntax: set ip http {enable | disable}
Parameter Description:
- enable: Enables HTTP in the switch.
- disable: Disables HTTP in the switch.
Mode: Global configuration mode.
ip telnet service
Command Objective: This command enables the telnet service in the system.
The no
form of this command disables the telnet service.
Syntax:
ip telnet service
no ip telnet service
Mode: Global configuration mode.
firmware upgrade
Command Objective: This command performs firmware upgrade using TFTP from a remote location.
Syntax: firmware upgrade { tftp://ip-address/filename} {flash:normal | flash:fallback} image <1-2>
Mode: Privileged exec mode.
save
Command Objective: This command copies variables from the running configuration to the startup configuration file in NVRAM, where the running-config
is the current configuration in the router, and the startup-config
is the configuration loaded when the switch boots up.
Syntax: save
Mode: Privileged exec mode.
copy startup-config
Command Objective: This command copies a file from a remote source site or flash to a destination remote site or flash. The copying process takes several minutes and differs from protocol to protocol and network to network.
Syntax: copy {flash: filename | tftp://ip-address/filename} startup-config
Parameter Description:
- tftp://ip-address/filename: Configures the TFTP details to back up the initial configuration in the TFTP server.
- ip-address: The IP address or hostname of the server.
- filename: The file's name in which to store the initial configuration. Filenames and directory names are case-sensitive.
Mode: Privileged exec mode.
copy - startup-config
Command Objective: This command copies the configuration or system logs from a remote site to flash.
Syntax: copy { tftp://ip-address/filename startup-config | flash:filename startup-config }
Parameter Description:
- tftp://ip-address/filename startup-config: Configures the address from which to copy the file and the file name which contains the configuration. This option configures the TFTP server details. Filenames and directory names are case-sensitive.
Mode: Privileged exec mode.
copy
Command Objective: This command copies a file.
Syntax: copy { tftp://ip-address/filename | flash: filename}{ tftp://ip-address/filename | flash: filename | filename}
Parameter Description:
- tftp://ip-address/filename | flash: filename: Configures the address from which to copy the file and the file which contains the configuration. This option configures the TFTP server details. Filenames and directory names are case-sensitive.
Mode: Privileged exec mode.
copy logs
Command Objective: This command writes the system logs to a remote site.
Syntax: copy logs {tftp://ip-address/filename}
Parameter Description:
- tftp://ip-address/filename: Configures the address from which to copy the file and the file which contains the configuration. This option configures the TFTP server details. Filenames and directory names are case-sensitive.
Mode: Privileged exec mode.
show activepartition
Command Objective: This command displays the active image partition.
Syntax: show activepartition
Mode: Privileged exec mode.
boot system
Command Objective: This command sets the system boot image partition.
Syntax: boot system {image1 | image2}
Mode: Privileged exec mode.
show current running-config
Command Objective: This command displays the current operating configuration in the system.
Syntax: show current running-config
Mode: Privileged exec mode.
show mab debug_log [remove]
Command Objective: This command displays mab debug_log.
Syntax: show mab debug_log [remove]
Parameter Description:
- remove: Delete log files.
Mode: Privileged exec mode.
show UBIRecoveryCount
Command Objective: This command displays the UBI recovery count.
Syntax: show UBIRecoveryCount
Mode: Privileged exec mode.
reset UBIRecoveryCount
Command Objective: This command resets the UBI recovery count.
Syntax: reset UBIRecoveryCount
Mode: Privileged exec mode.
ip http port
Command Objective: This command sets the HTTP port.
Syntax: ip http port <port-number(1-65535)>
Parameter Description:
: HTTP port.
Mode: Global configuration mode.
ip http session-idle-timeout
Command Objective: This command sets the HTTP session timeout (in minutes) for line disconnection.
Syntax: ip http session-idle-timeout <minutes(0-10000)>
Parameter Description:
: EXEC timeout value(in minutes).
Mode: Global configuration mode.
cli exec-timeout
Command Objective: This command sets the default exec timeout (in minutes) for line disconnection.
Syntax: cli exec-timeout <minutes (0-10000)>
Parameter Description:
: Exec timeout value(in minutes).
Mode: Global configuration mode.
no shutdown switch-instance-shared-port
Command Objective: This command starts the switch instance shared port (SISP) feature. Once started, you can map interfaces to more than one switch instance through appropriate SISP configurations.
Syntax: no shutdown switch-instance-shared-port
Mode: Global configuration mode.
ping
Command Objective: This command sends echo messages. The output displays the time taken for each packet to be transmitted, number of packets transmitted, number of packets received, and the packet loss percentage.
Syntax ping [ ip ] {IpAddress \| hostname } [{repeat | count} packet_count(1-10)] [size packet_size (8-5120)] [timeout time_out (1-100)]
Parameter Description:
- ip: Configures the IP address of the node to be pinged.
- ipAddress: Configures the source IP address of the node to be pinged.
- hostname: Configures the name of the host.
- repeat: Configures the number of ping messages.
- count: Configures the number of times to ping the specified node.
- size packet_size (8-5120): Configures the size of the data portion of the PING PDU. This value ranges between 8 and 5120.
- timeout time_out (1-100): Configures the time in seconds, after which the entity waiting for the ping response times out. The value ranges between 1 and 100.
Mode: Privileged exec mode.
traceroute
Command Objective: This command traces the route to the destination.
Syntaxtraceroute {<ip-address> | hostname | ipv6 <prefix>} [max-ttl <value (2-255)>
Parameter Description:
: Configures the destination IP address to which a route has to be traced. : Configures the destination IP hostname to which a route has to be traced. - ipv6
: Configures the destination IPv6 address to which a route has to be traced. - max-ttl
: Configures the maximum value of the TTL field to be filled up in the IP packets used for the traceroute.
Mode: Privileged exec mode.
free
Command Objective: This command gets a detailed report on the system's memory usage. The free command provides information about the total amount of the physical and swap memory and the free and used memory.
Syntax: free
Mode: Privileged exec mode.
mpstat
Command Objective: This command reports processor-related statistics. It accurately displays the statistics of the CPU usage of the system. It displays information about CPU utilization and performance.
Syntax: mpstat
Mode: Privileged exec mode.
clock time source
Command Objective: This command configures the time source of the primary clock.
The no
form of this command resets the time source of the primary clock to the default time source.
Syntax:
clock time source {ntp | internal-oscillator}
no clock time source {ntp | internal-oscillator}
Parameter Description:
- ntp: Primary time source of the system is NTP.
- internal-oscillator: Primary time source of the system is the internal-oscillator.
Mode: Global configuration mode.
clock utc-offset
Command Objective: This command sets the system time zone with respect to UTC. The no
form of command resets the system time zone to GMT.
Syntax:
clock utc-offset <offset>
no clock utc-offset
Parameter Description:
- +/-: Sets the client time zone as after or before UTC. Plus indicates forward time zone, and minus indicates backward time zone.
- offset: Sets the UTC offset value in hours.
- Current utc: offset value as (+HH:MM/-HH:MM)(+00:00 to +14:00)/ (-00:00 to -12:00)
For example, +05:30.
Mode: Global configuration mode.
clock set time
Command Objective: This command configures the time of the primary clock.
Syntax: clock set time <time-nanoseconds>
Mode: Global configuration mode.
show clock properties
Command Objective: This command displays primary system PTP clock properties.
Syntax: show clock properties
Mode: Privileged exec mode.