EXEC Command Reference (8) Flashcards
Lists the currently used configuration
show running-config
Pipes (sends) the command output to the begin command, which only lists output beginning with the first line that contains the text “line vty”
show running-config | begin line vty
Lists any information the switch acquires as a DHCP client. This includes IP address, subnet mask, and default gateway information
show dhcp lease
Lists the public and shared key created for use with SSH using the crypto key generate rsa global configuration command
show crypto key mypubkey rsa
Lists status information for the SSH server, including the SSH version
show ip ssh
Lists status information for current SSH connections into and out of the local switch
show ssh
Lists the interface status, the switch’s IPv4 address and mask, and much more
show interfaces vlan number
Lists the switch’s setting for its IPv4 default gateway
show ip default-gateway
Changes the length of the history buffer for the current user only, only for the current login to the switch
terminal history size x
Lists the commands in the current history buffer
show history