Professional Documents
Culture Documents
Usermode Commands
2 enable
4 ping <ip-address>
6 traceroute <ip-address>
Privilegemode Commands
1 clear arp-cache
5 debug ip packet
7 disconnect <TELNET_ID>
11 ping <ip-address>
12 reload
13 resume <TELNET_ID>
15 show banner
20 show clock
26 show hosts
displays the lmi type that is being used and also sme
30 show interfaces serial 0
LMI statisstics.
31 show ip arp
36 show ip interface
43 show running-config
45 show startup-config
Display version information for the hardware and
46 show version
firmware.
47 telnet <host-name>
48 telnet <IP-address>
49 traceroute <hostname>
52 write erase
53 write memory
54 write terminal
Global configuration mode Commands
access-list <list-num> {permit | Only standard access list of the format given is
1
deny} <source-ip-address> supported.
6 cdp advertise-v2
8 cdp run
dialer-list<list-num>protocol ip
11
permit
14 end
15 hostname <host-name>
19 interface serial 0
22 ip default-network <ip-address>
23 ip domain-lookup
26 ip route <prefix> <mask> {next- The command supported by the simulator are:
ip route <prefix> <mask> <next-hop-ip> and
hop-ip-addr | interface-type}
ip route <prefix> <mask> serial
ip route<ip-address> <ip-address>
28
<ip-address>
30 ip routing
31 ipx routing
33 line aux
36 no banner motd
39 no ip routing
40 no router eigrp
41 no router ospf
42 no router rip
43 no vlan <vlan_num>
2 logging synchronous
3 password <password>
Interface subconfiguration mode Commands
2 cdp enable
6 dialer-group<dialer_list_#>
11 encapsulation framerelay<num> in
19 ip access-group <num> in
23 isdn spid2<spid_num>
24 keepalive <seconds>
25 login
26 no bandwidth
27 no cdp enable
28 no clock rate
33 no ip address
34 no shutdown
It disable the
35 shutdown interfaces.Interfaces are enabled
by default.
36 shutdown switchport
37 speed
9 ip address<ip-address> <subnet-mask>
10 no ip address
Privilegemode Commands
Sl.No. commands Comments, if any.
1 clock set hh:mm:ss <1-31> Month <2004-
2035>
2 configure terminal Allows to execute commands that change the switch's configuration.
6 erase startup-config
7 logout It exits switch from the user or privilege mode.
8 reload
9 show banner
10 show flash Used to view all IOS images and file stored in flash(Default location
of IOS images is in flash).
11 show history
12 show interfaces To view interfaces,status,and statistics for an interface.If u don't
lists a specific interface,all of the interfaces on the switch are listed.
15 show startup-config
16 show version Display version information for the hardware and firmware
2 cdp advertise-v2
3 cdp holdtime <seconds>
4 cdp run
Global Configuration mode Commands
Sl.No. commands Comments, if any.
5 cdp timer <seconds>
6 enable password <password> It sets the paasword.The level number is either 1 or 15.
8 end
9 hostname <name>
10 ip default-gateway <ip-address> Tells the switch which router or switch have to use when the switch
needs to reach the destination thats not in its configured subnet.
11 ip host<hostname> <ip-address>
12 interface fastethernet <0-0>/<0-24> Depends on the switch type. For module 0, port 1 the command is
interface fastethernet 0/1
13 interface vlan <vlan #> You can enter interface config mode.
example: interface vlan 1
(config-if)#ip address 192.168.10.1 255.255.255.0
14 line console 0
15 line vty 0 15
16 mac-address-table static <mac-
address> vlan <valn_num> interface
fastethernet <pnum>
17 snmp-server enable traps vtp
18 speed <speed> Enter switch port speed 10,100, auto.
4 ip name-server <ip-address>
5 login
6 no ip address
7 no shutdown It reenables the interface when the interface is disabled.By default
interfaces are enabled.
8 no switchport <port_security>
9 shutdown Disables a port and shuts-down management vlan. no shutdown command
enables a port.
Line Subconfiguration mode Commands
Sl.No. commands Comments, if any.
1 password <password>
VLAN numbers can range 1-1000,However only 64VLANs can be active ata
1 vlan<vlan_num>
time.
Defines the domain name for a specified switch.For switches to share VTP
3 vtp domain
informtion they must be in the same domain.
4 vtp password
5 vtp pruning
6 vtp server
7 vtp transparent
Workstation Commands
2 ping <ip-address>
3 ping <hostname>
4 telnet <host-name>
5 telnet <ip-address>
6 traceroute <hostname>
7 traceroute <ip-address>
Top