You are on page 1of 2

Router# Router(config)# Router(config-line)#

brief br banner motd ba m exec-timeout 0 0 exec-t 0 0


clear ip ospf process cl ip o p cdp enable cd e logging synchronous logg s
configure terminal conf t disable disa login logi
copy running-config startup-config cop r s enable password ena p password cisco pas cisco
copy running-config tftp cop r t enable secret ena s
copy startup-config running-config cop s r exit exi
debug eigrp fsm de e f hostname h Router(config-if)#
enable en interface ethernet 0/0 int e0/0 bandwidth 1024 b 1024
erase startup-config er s interface fastethernet 0/0 int f0/0 clock rate clo r
exit exi interface gigabitethernet 0/0 int g0/0 description des
login logi interface serial 0/0/0 int se0/0/0 ip address x.x.x.x mask x.x.x.x ip add
logout l ip domain-lookup ip domain-lo ip bandwidth-percent eigrp 1 50 ip b eigrp 1
password pas ip route 0.0.0.0 0.0.0.0 s0/0/0 ip ro ip bandwidth-percent eigrp 1 50 ip b e 1
ping p ip route x.x.x.x mask x.x.x.x s0/0/1 ip ro ip domain-lookup ip domain-l
reload rel line console 0 lin co 0 ip hello-interval eigrp 1 60 ip he e 1
service password-encryption ser p line vty 0 4 li v 0 4 ip hold-tme eigrp 1 180 ip ho e 1
sh cdp neighbors detail sh cd ne d router eigrp 1 ro e 1 ip ospf cost 64 ip o c
show sh router ospf 1 ro o 1 ip ospf dead-interval 40 ip o d
show cdp sh cd router rip ro ri ip ospf hello-interval 10 ip o hell
show cdp neighbors sh cd ne d ip ospf priority [0-255] ip o p
show ip [e|o] interface f0/0 sh ip [e|o] int f0/0 ip summary-address eigrp 1 x.x.x.x mask x.x.x.x ip s e 1
show ip [e|o] neighbors sh ip [e|o] ne shutdown sh
show ip eigrp topology sh ip e to
show ip eigrp topology all-links sh ip e to all
show ip hosts sh ip ho Router(config-router)#
show ip interface brief sh ip int bri default-information originate (RIP,OSPF) de o
show ip ospf sh ip o auto-cost reference-bandwidth 10000 (OSPF) ar
show ip protocols sh ip pro eigrp log-neighbor-changes eigrp l
show ip route sh ip ro network x.x.x.x (RIP) net
show mac-address-table sh ma network x.x.x.x [wildcard] (EIGRP) net
show running-config sh run network x.x.x.x wildcard area 0 (OSPF) net
show startup-config sh sta no auto-summary no au
shutdown sh star passive-interface f0/0 p f0/0
traceroute tr redistribute static [subnet] (EIGRP) rs
undebug all u all router-id x.x.x.x ro
version [1|2] (RIP) v
Switch# Switch(config)# Switch(config-line)#
copy flash:config.bak1 startup-config cop fl s crypto key generate rsa cry k g r transport input [all|none|telnet|ssh] tr in [a|n|t|s]
copy startup-config flash:config.bak1 cop s fl crypto key zeroize rsa cry k z r transport output [all|none|telent|ssh] tr o [a|n|t|s]
copy system:running-config tftp://x.x.x.x/config.bak1 cop run tf interface vlan [#] int vl #
copy tftp://x.x.x.x/config.bak1 nvram:startup-config cop tf star ip default-gateway x.x.x.x ip de #
delete flash:config.bak1 del fla ip dhcp snooping ip dh sn
delete flash:vlan.dat de fla ip dhcp snooping limit rate [#] ip dh sn l r # Switch(config-if)#
erase nvram: or erase startup-config er n er star ip dhcp snooping trust ip dh sn tr duplex [auto|full|half] du
show arp sh arp ip dhcp snooping vlan number [#] ip dh sn vl # mdix auto md a
show dtp interface sh dtp int ip domain-name [name.com] ip domain-n mls qos trust cos mls q t c
show flash sh fla ip ssh authentication-retries [#] ip ssh a # speed [10|100|auto] spe #
show history sh hi ip shh time-out [#] ip ssh t # switchport access vlan [#] sw a v #
show interfaces [fa0/1|vlan #] |switchport|trunk sh int [fa#|vl#] sw|tr ip ssh version [1|2] ip ssh v # switchport mode [access|trunk] sw m [a|t]
show ip http sh ip http mac-address-table static [#.#.#] vlan [#} int [#] mac-ad s vl # int # switchport mode dynamic [auto|desirable] sw m d [a|d]
show ip interface vlan # sh ip int vl # interface range [fa01-fa05] int r # switchport nonegotiate sw n
show ip ssh or show ssh sh ip ssh sh ssh vlan # vl # switchport port-security sw por
show port-security [ethernet 0/1] sh por # vtp mode [ser, cli, trans] vtp mo [s,c,t] switchport port-security mac-address [#.#.#] sw por mac-ad #
show port-security [int] address sh por a vtp domain [name] vtp dom [name] switchport port-security mac-address sticky sw por mac s
show version sh ver vtp password [name] vtp pass [name] switchport port-security maximum [#] sw por max #
show vlan [brief|id|name|summary] sh vl [b|id|na|s] vtp pruning vtp pru switchport port-security violation [prot|restr|shut] sw por v
terminal history size [#] ter h s switchport trunk allowed vlan [#,#-#] sw tr a vl #
show vtp status sh vtp sta Switch(config-vlan)# switchport trunk encapsulation [dot1q|isl] sw tr en [d|i]
show vtp password sh vtp pa name # na # switchport trunk native vlan [#] sw tr n vl #
show vlan brief sh v br vlan # vl # switchport voice vlan [#] sw v vl #

You might also like