Você está na página 1de 1

Remarks : Access the router

Router> enable (if password required, try aaa or cisco, or ask your trainer)
Router# show version check "register" value; if 2102 follow Reset the config
Router# configure terminal Reset the configuration (ONLY if NOT 2142)
Router(configure)# config-register 2142 2142 = prepare restart with "empty" active configuration
Router# show version check "register" value (2142 ?)
Router# reload restart
Router(configure)# hostname Ri Configure router "name"
Ri(configure)# line vty 0 4 Configure remote access
Ri(configure-line)# password aaa Configure & validate telnet access
Ri(configure-line)# no password no password settled, for training purposes only
Ri(configure-line)# no login No password required for remote access; training only
Ri(configure-line)# exit back yo priviledged mode
Ri(configure)# enable password aaa Configure & validate "priviledged" access for remote sessions
Ri(configure)# no ip domain-lookup "delete" command => #no command very usefull for practice purpose
Ri(configure)# no ip domain-name ----- // -----
Ri(configure)# no ip domain-list ----- // -----
Ri(configure)# no cdp run ----- // -----
"on paper" Identify @sNet / @Router-if for your router
Ri(configure)# ip host Rj @if.k_Rj j = 1..10 Create the "host" aliases
Ri(configure)# exit use @IP of the closest interface; repeat for ALL routers
Ri# show running-config see interfaces NAME & INDEXES Display the "active" config.; identify all INTERFACES
Ri# show startup-config Display the "boot-up" configuration
Ri# copy running-config startup-config (or write memory) Save the "active" config over the "startup" one
Ri(configure)# interface Fast Ethernet (j) Configure router's FastEthernet interface(s)
Ri(configure-if)# ip address @e.j_Ri mask apply the mask as indicated (j) = 0/0,0/1 [ and Ethernet1/0, if required]
Ri(configure-if)# no ip proxy-arp disable proxy arp Fast Ethernet interfaces
Ri(configure-if)# no shutdown Activate the interface
Ri(configure-if)# exit
Ri(configure)# card type e1 1 !!! (ONLY on 2611) Declare router's Serial PCM-E1 interface(s)
controller E1 c/0 c = 1 (2611) / 0 (1760)
channel-group 0 timeslots 1-31 "Serial c/0:0"
controller E1 1/1 !!! !!! ONLY for 2611 case
channel-group 0 timeslots 1-31 !!! "Serial1/1:0" (2611)
Ri(configure)# interface Serial (j) see show runn (PCM-E1 & Serial.if) Configure router's Serial interface(s)
Ri(configure-if)# ip address @s.j_Ri mask Ser#: (1760) 0/0:0; (2611) 1/0:0 & 1/1:0; (2621) 0/0..0/3
Ri(configure-if)# clock rate 128000 only for Serial-Link interfaces (2621)
Ri(configure-if)# no shutdown Activate the interface
Ri(configure-if)# exit
Ri# show running-config
Ri# ping Ri Check the local conectivity for all the "neighbour" routers
Ri# show ip route Display the routing table
Ri# copy running startup (or write memory) copy [source] [destination ]
Ri# reload restart the system
Router# show ip route Remarks?
Router# show running Remarks?
Ri# show ip route Updating the routing table
Ri(configure)# ip route Net@ NetMsk Next-hop metric ex: ip route N . W .S.0 255.255.255.0 N . W .S.R 20
Ri# show ip route Display again the routing table
Ri# show running-config Remarks?
Ri# ping Ri [ / N.W .S.R] Check the actual routing path
Ri# show ip route Display the routing table
Ri# write memory Secure configuration
Router(configure)# configure-register 2102 2102 = next restart with stored config
Router(configure)# configure-register 2142 For training purpose, keep 2142
Ri# copy startup-config tftp tftp on Host.0 Backup on TFTP server (follow the messages)
Ri# [connect / open] Ri " telnet " Ri Connect "remotely"
Ri# show users check current sessions
Check the "user traffic" path
Host i > ping @Ri(if) ( e.j / s.i) ping all your interfaces ethernet and/or serial
Host i > tracert @Ri(if) trace route to all your interfaces Remarks?

Host i > ping -n 1 -w 2000 -r 9 @s.0_R8 "-n 1" =1 time; "-w 2000" = "wait no more than 2000ms"
Host i > tracert @s.0_R8 "-r 9" = "record up to 9 intermediate hops"
Host i > ping -n 1 -w 2000 -r 9 @s.0_R6 Remarks?

Host i > ping -n 1 -w 2000 -r 9 @e.0_Rj j = 2 or 5 Remarks?


tracert @e.0_Rj

Host i > tracert @s.0_Rj j = 3 or 7 Remarks?


tracert @s.0_Rj (disconnect s.0/R3 - s.0/R7) Remarks?

Host i > ping -n 1 -w 2000 -r 9 Host.j j <> i Remarks?


Ri# ping @Rj_e(k) disconnect e.1 (R4,R7) / e.0 (R2,R5,R10)
Ri# show ip route i = 4,7 / 2,5,10 Remarks?
UPDATE ALL CONFIGURATION FOR @Net = 192.168.W. 0 /24 !! sNet.ID / 4; Host.ID / 4
and re-check the "user traffic" path

Você também pode gostar