|
List of
Router Commands |
|
Sl. No. |
Command |
Comments, if any. |
|
1 |
access-list <list-num>
{permit | deny} <source-ip-address> |
Only standard access
list of the format given is supported. |
|
2 |
banner motd <banner> |
|
|
3 |
bandwidth <kilobits> |
Required bandwidth, in
kilobits per second. |
|
4
|
cdp advertise-v2 |
|
|
5
|
cdp enable |
|
|
6
|
cdp run |
|
|
7
|
cdp holdtime <seconds> |
|
|
8
|
cdp timer <seconds> |
|
|
9
|
clear arp-cache |
|
|
10
|
clock rate <bps> |
Desired clock rate in
bits per second: 1200, 2400, 4800, 9600, 19200, 38400, 56000, 64000 etc. |
|
11
|
config-register <value> |
Hexadecimal or decimal
value that represents the 16-bit configuration register value. It is used at
the router start-up. The value range is from 0x0 to 0xFFFF (0 to 65535 in
decimal). Normally, the default value is 0x2102 |
|
12
|
configure terminal |
|
|
13 |
copy running-config
startup-config |
|
|
14 |
copy startup-config
running-config |
|
|
15 |
description <string> |
Character string from
1 to 80 characters. |
|
16 |
debug ip packet |
|
|
17 |
disable |
|
|
18 |
disconnect |
|
|
19 |
disconnect <TELNET_ID> |
|
|
20 |
enable |
|
|
21 |
enable password <password> |
|
|
22 |
enable secret <password> |
|
|
23 |
erase startup-config |
|
|
24 |
encapsulation <encapsulation-type> |
Only PPP/HDLC are
supported at this time by the simulator.
ex: encapsulation hdlc |
|
25 |
end |
|
|
26 |
exec-timeout <minutes>
[seconds] |
seconds is
optional. |
|
27 |
hostname <host-name> |
|
|
28 |
interface ethernet 0 |
|
|
29 |
interface serial 0 |
|
|
29 |
ip access-group <num> in |
|
|
30 |
ip access-group <num> out |
|
|
31 |
ip address <ip-address> <sub-net
mask> |
|
|
32 |
ip domain-lookup |
|
|
33 |
ip route
<prefix> <mask> {next-hop-ip-addr | interface-type} |
The command supported
by the simulator are:
ip route <prefix> <mask> <next-hop-ip> and
ip route <prefix> <mask> serial |
|
34 |
ip route 0.0.0.0 0.0.0.0 <ip-address> |
|
|
35 |
ip route<ip-address> <ip-address> <ip-address> |
|
|
36 |
ip route
<ip-address> <ip-address> serial 0 |
Not supported at this
time |
|
37 |
ip host <name> <ip-address> |
Complete syntax for
this command: ip host name [tcp-port-number] address1 [address2...address8] |
|
38 |
ip routing |
|
|
39 |
ipx routing |
|
|
40 |
keepalive <seconds> |
|
|
41 |
line aux |
|
|
42 |
line console 0 |
|
|
43 |
line vty |
|
|
44 |
logging synchronous |
|
|
45 |
login |
|
|
46 |
logout |
|
|
47 |
network <ip-address> |
Used with
routing rip, igrp etc. |
|
48 |
no cdp enable |
|
|
49 |
no ip routing |
|
|
50 |
no cdp run |
|
|
51 |
no ip domain-lookup |
|
|
52 |
no shutdown |
|
|
53 |
password <password> |
|
|
54 |
ping <host-name> |
|
|
55 |
ping <ip-address> |
|
|
56 |
reload |
|
|
57 |
resume <TELNET_ID> |
|
|
58 |
router rip |
|
|
59 |
shutdown |
|
|
60 |
show access-list |
|
|
61 |
show cdp neighbor |
|
|
62 |
show flash |
|
|
63 |
show history |
|
|
64 |
show hosts |
|
|
65 |
show ip arp |
|
|
66 |
show ip eigrp neighbors detail |
|
|
67 |
show ip eigrp neighbors |
|
|
68 |
show ip eigrp topology |
|
|
69 |
show ip eigrp traffic |
|
|
70 |
show ip interface brief |
|
|
71 |
show ip interface |
|
|
72 |
show ip ospf interface |
|
|
73 |
show ip ospf database |
|
|
74 |
show ip ospf neighbor detail |
|
|
75 |
show ip route |
|
|
76 |
show interfaces |
|
|
77 |
show interfaces ethernet 0 |
|
|
78 |
show interfaces serial 0 |
|
|
79 |
show protocols |
|
|
80 |
show running-config |
|
|
81 |
show sessions |
|
|
82 |
show startup-config |
|
|
83 |
show version |
|
|
84 |
telnet <host-name> |
|
|
85 |
telnet <IP-address> |
|
|
86 |
username <name> password
<password> |
|
|
87 |
write erase |
|
|
88 |
write memory |
|
|
89 |
write terminal |
|
| |
|
|
|
List of Switch Commands
Supported |
| Sl.No. |
commands |
Comments,
if any. |
| 1 |
banner
motd <phrase> |
|
| 2 |
copy
startup-config running-config |
|
| 3 |
configure
terminal |
|
| 4 |
cdp
advertise-v2 |
|
| 6 |
copy
running-config startup-config |
|
| 7 |
cdp
holdtime <seconds> |
|
| 8 |
cdp
timer <seconds> |
|
| 9 |
clock
set hh:mm:ss <1-31> Month <2004-2035> |
|
| 10 |
cdp
run |
|
| 11 |
duplex
<duplex-type> |
|
| 12 |
description
<phrase> |
|
| 13 |
disable |
|
| 14 |
enable |
|
| 15 |
erase
startup-config |
|
| 16 |
enable
secret <secret> |
|
| 17 |
enable
password <password> |
|
| 18 |
end |
|
| 19 |
hostname
<name> |
|
| 20 |
interface
fastethernet <0-0>/<0-24> |
Depends
on the switch type. For module 0, port 1 the command is interface
fastethernet 0/1 |
| 21 |
ip
default-gateway <ip-address> |
|
| 22 |
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 |
| 23 |
ip
name-server <ip-address> |
|
| 24 |
ip
address <ip-address> <subnet mask> |
A
switch can have one IP address. The IP address of the switch can be
accessed only through ports that belong to the management VLAN. |
| 25 |
line
vty 0 15 |
|
| 26 |
line
console 0 |
|
| 27 |
login |
|
| 28 |
logout |
|
| 29 |
password
<password> |
|
| 30 |
reload |
|
| 31 |
show
interfaces |
|
| 32 |
show
history |
|
| 33 |
show
version |
Display
version information for the hardware and firmware |
| 34 |
show
startup-config |
|
| 35 |
show
flash |
|
| 36 |
show
running-config |
|
| 37 |
show
ip interface brief |
|
| 38 |
shutdown |
Disables
a port and shuts-down management vlan. no shutdown command enables a
port. |
| 39 |
snmp-server
enable traps vtp |
|
| 40 |
speed
<speed> |
Enter
switch port speed 10,100, auto. |
| 41 |
vlan
<1-1005> name <name> |
|
| 42 |
vtp
client |
Place
the switch in VTP client mode. But it does not store VLAN information
in non-volatile memory. |
| 43 |
vlan
database |
|
| 44 |
vtp
transparent |
SW(vlan)#
vtp transparent
Sets the switch to VTP TRANSPARENT mode. |
| 45 |
vtp
password <password> |
Passwords
are case sensitive. Passwords should match on all switches in the same
domain. |
| 46 |
vtp
domain <name> |
VTP
domain name can be 1 to 32 characters long and identifies the VTP
administrative domain for the switch. The domain name is case
sensitive. |
| 47 |
vtp
pruning |
|
| 48 |
vtp
server |
Place
the switch in VTP server mode. Stores VLAN information in non-volatile
memory. Generates VLAN advertisements. |
| |