4 Command Line Interface

Showing Commands

If you enter a “?” at the command prompt, the system will display the first level of keywords for the current command class (Normal Exec or Privileged Exec) or configuration class (Global, ACL, DHCP, Interface, Line, Router, VLAN Database, or MSTP). You can also display a list of valid keywords for a specific command. For example, the command “show ?” displays a list of possible show commands:

Console#show ?

 

access-group

Access groups

access-list

Access lists

bridge-ext

Bridge extension information

calendar

Date and time information

dns

DNS information

dot1x

802.1x content

garp

GARP properties

gvrp

GVRP interface information

history

History information

hosts

Host information

interfaces

Interface information

ip

IP information

lacp

LACP statistics

line

TTY line information

log

Login records

logging

Login setting

mac

MAC access list

mac-address-table

Configuration of the address table

management

Management IP filter

map

Maps priority

marking

Configuration for packet marking

port

Port characteristics

protocol-vlan

Protocol-VLAN information

public-key

Public key information

pvlan

Private VLAN information

queue

Priority queue information

radius-server

RADIUS server information

running-config

Information on the running configuration

snmp

Simple Network Management Protocol statistics

sntp

Simple Network Time Protocol configuration

spanning-tree

Spanning-tree configuration

ssh

Secure shell server connections

startup-config

Startup system configuration

system

System information

tacacs-server

TACACS server settings

users

Information about terminal lines

version

System hardware and software versions

vlan

Virtual LAN settings

Console#show

 

 

 

The command “show interfaces ?” will display the following information:

Console#show interfaces ?

 

counters

Information of interfaces

counters

protocol-vlan

Protocol-vlan information

 

status

Information of interfaces

status

switchport

Information of interfaces

switchport

Console#

 

 

 

 

 

4-4