Академический Документы
Профессиональный Документы
Культура Документы
Disclaimer
Conventions
this font
Notedoes not
Linux
Enter
Router>
hostname of router>
Say no.yesno
2.1 Modes
modesonly
Router>?
Router>show ?
enableenable
Router>
Router#
sub-modesparent
Router#show interfaces
Router#show ip protocols
Router#show ip route
Router#show ip arp
enableshow
ctrl-z
Router#config
Router(config)#
hostname
Router(config)#hostname ExampleName
ExampleName(config)#
hostnameRouterExampleNameNote:
ctrl-Zexitctrl-Zctrl-Z
ExampleName#
ExampleName#config
ExampleName(config)#interface serial 1/1
ExampleName(config-if)#ip address 192.168.155.2 255.255.255.0
ExampleName(config-if)#no shutdown
ExampleName(config-if)#ctrl-Z
ExampleName#
Noteno shutdownshutdown
no
ExampleName(config)#ip routing
ExampleName(config)#ctrl-Z
ip route
ExampleName#config
ExampleName(config)#ip route 172.16.0.0 255.255.255.0 192.168.150.1
ExampleName(config)#ctrl-Z
ExampleName#show ip route
learn
redistribute
http://www.cisco.com
ExampleName#config
ExampleName(config)#router rip
ExampleName(config-router)#network aa.bb.cc.dd
ExampleName(config-router)#network ee.ff.gg.hh
ExampleName(config-router)#ctrl-Z
ExampleName#show ip protocols
show ip protocols
ExampleName#show running-config
ExampleName#show startup-config
copy startup-config running-config
showshow
ExampleName#show interfaces
ExampleName#show ip protocols
ExampleName#show ip route
ExampleName#show ip arp
ping
Yes, I am.
ExampleName#ping xx.xx.xx.xx
ping
trace
ExampleName#trace xx.xx.xx.xx