■ Vertical bars (|) separate alternative, mutually exclusive elements.
■ Square brackets ([ ]) indicate an optional element.
■ Braces ({ }) indicate a required choice.
■ Braces within brackets ([{ }]) indicate a required choice within an optional element.
■ > User View promt
■ ] System-view promt
- Several commands
display current-configuration - Similar to Cisco “show run”
display ip interface brief
display interface description
display port vlan
display port vlan active
display transceiver interface <Interface> verbose - Dicplay F.O parameters on a port (Rx/Tx)
display lldp neighbor brief - Check LLDP neighbor info
display logbuffer
display trapbuffer - Check whether powered on and powered off information is frequently displayed
clear configuration interface ? - Similar to “default interface” of Cisco, the interface turns “shutdown”
- Hardware Information / Device status
dis device - Display device status
dis elabel brief - Display electronic labels of a device
BarCode=xxxxxxxx //Indicate a serial number.
Item=xxxxx //Indicate a part number.
dis sn all - Similar to “sh invent” of Cisco
dis fan - View fan
dis temperature all - View device temperature
dis version - Similar to “sh ver” of Cisco
dis startup -
display power
- PoE Power
display poe-power - Check PoE power supply info
display poe information
display poe power slot 0 - Display the output power per port
- Check SSH
display ssh server status - Display SSH server status, stelnet must be enable, can be enable with stelnet server
enable
display users
display user-interface máximum-vty
display rsa local-key-pair public - Check whether the RSA public key exists, can be config with rsa local-key-pair create
- High CPU Usage
display cpu-defend statistics - Check statistics about packets sent to the CPU
display stp topology-change - Check the alarms or logs generated by switches to determine whether the STP
topology has ever changed
display stp tc-bpdu statistics - Check statistics about TC BPDUs received by interfaces
display mac-address flapping record - Check all historical records of MAC address flapping
- High Memory usage
display memory-usage - Check memory usage
- ARP
>arp -a - Dislay ARP Table (ARP Cache)
>display arp all
>display arp track
>system-view - Access System view / similar “enable”
]sysname <NAME> - Set name
>clock timezone <TIMEZONE_NAME> [add | minus] - Set time zone
- [add] Add time zone offset, format HH:MM:SS
- [minus] Minus time zone offset, format HH:MM:SS
>clock datetime <HH:MM:SS> <YYYY-MM-DD> - Set current time
>clock daylight-saving-time ? - Set daylight saving time to maintain clock synchronization, used ? to help with
parameters
]header login information “TEXT” - Set TEXT to displayed on login attempt
]header shell information “TEXT” - Set TEXT to displayed on sucess login attempt to CLI
]command-privilege level 3 view user save - Page 166 HCNA, indicates that only a user "level 3" can execute the command "save"
in "user view"
]screen-length <0 - 512> - Console/VTY mode] Modify number of lines displayed, default are 24, max 512
- If screen-legth is set to 0, nothing is display=very bad
]non-authentication - Console/VTY mode] It’s the default value in Console Line, no credential are needed to
enter the device
>display interface <INTERFACE> - Display interface status