1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
| Router#config ### from Privileged EXEC mode to Global Configuration mode Configuring from terminal, memory, or network [terminal]? Enter configuration commands, one per line. End with CNTL/Z.
### set host name Router(config)#hostname bkfishroute bkfishroute(config)#
### set enable password bkfishroute(config)#enable secret bkfish bkfishroute(config)#end bkfishroute#write
bkfishroute(config)#enable password bkfish bkfishroute(config)#end bkfishroute#write
### set interface ip bkfishroute(config)#interface GigabitEthernet0/0 bkfishroute(config-if)#ip address 192.168.101.254 255.255.255.0 bkfishroute(config-if)#no shutdown bkfishroute(config-if)#clock rate 64000 bkfishroute(config-if)#end bkfishroute#write Building configuration... [OK]
### setting the next-hop network bkfishroute(config)#ip route 192.168.102.0 255.255.255.0 192.168.10.20 bkfishroute(config)#end bkfishroute#write Building configuration... [OK]
### Remote Access Password bkfishroute(config)#line vty 0 4 bkfishroute(config-line)#password nanyidian bkfishroute(config-line)#login bkfishroute(config-line)#exit bkfishroute(config)#exit bkfishroute#write
### Console Password bkfishroute(config)#line console 0 bkfishroute(config-line)#password nanyidian bkfishroute(config-line)#login bkfishroute(config-line)#exit bkfishroute(config)#exit bkfishroute#write
|