Show running-config
P 4 >> show all config / show config
Show version
P 3 >> configuration
Show ip interface brief
P 3 >> configuration configuration (estatus de la la interface)
Show ip interface brief
p 3 >> p ip >> interface-addresses interface-addresses (IP de la interface)
Show interfece Ethernet0/0
p 3 >> device Ethernet0/0 (muestra errores)
Show ip route
p 3 >> p ip >> dump
Show arp
p 3 >> p arp >> dump ethernet0/0
Ping !"#$%##
ping !"#$%## / p 3 >> p ip >> ping !"#$%##
Show interface summar&
p 3 >> statistics
Show ip bgp summar&
p 3 >> protocol bgp >> summar&
Sh ip dhcp binding
P ' >> protocol dhcp >> server >> eases
Sh ip nat translation
P ' >> protocol ip >> nat pat >> list all
SI* +E , P*.ES.
* 1 P
2,+ 2 ,+ *3 show 4
* 1 protocol 4
e5it
logout
MONITORIZACIÓN - P3 Ver Interfaces Router* p 3 --- Consola de operador Router+ conf Hostname: usuariousuario-GoDDeSS GoDDeSS Active user: GoDDeSS Date: Wednesday !3"#$"!% &ime: '(:3$:'# - mirar la )ora en el routerRouter router Router uptime: 'd3)(,m3s 'd3)(,m3s - lleva activo semanas interfaces: --. las interfaces Connector /nterface 0AC"Data-1in2 Status 1A' et)ernet!"! 4t)ernet"/444 4t)ernet"/44 4 !#53 6p DS1' atm!"! A&0 6p 7R/"/SD' 8ri!"! 7R/ et 6p --9#$-node internal 6p --atm!"!5' A&0 6p --ppp' Availa8le --ppp# Don --loop8ac2!! loop8ac2 !! ull device 6p
Ver Cortes lógicosRouter+ net ;red< - e=emplo net atm Router+ list all - para ver el lo> del router l?>ico
Mirar las IPs Router* p 3 Router Rout er+ + p ip
Router /+ interface /nterface / Address"0as2 et)ernet!"! '#5'53'5#"#( atm'"!5' '!53#5(5%!"3! ppp' !5!5!5!"! @unnum8ered ppp# !5!5!5!"! @unnum8ered loop8ac2!! ',#5'5'!35'(,"3# loop8ac2(! '!553'5'"3#
Mirar los ordenadores conectados Router* p 3Router+ p arpRouter AR+ dump 4nter interface: ;et)ernet!"!
Ver eventos (coneiones!Router* p 3Router + event -- 41S 0onitor -99 41S+list 99 41S+ nvrlo> listum8er of lo>s s)on ;! - all<:;!
Ver errores CRC " ver si negocia a #alf$f%ll (de&ende e'%i&o! Router* p 3 Router + dev ;interfa< E e=emplo: dev et)ernet!"! Auto-test Auto-test 0aintenance /nterface CSR Fect valids failures failures et)ernet!"! A#!!A!! $e ' ! ! )ysical address: !!A!#$C4D#4 R0 address: !!A!#$C4D#4 /nput statistics: failed frame too lon> ! failed CS error ! failed ali>nment error ! failed / overrun ! internal 0AC rcv error ! pac2ets missed '3 utput statistics: deferred transmission '!3'% sin>le collision #!! multiple collisions #$! total collisions %#3 failed e9cess collisions ! failed / underrun !
failed carrier sense err ! S4 test error late collision ! internal 0AC trans errors 4t)ernet 0AC code release '
! !
Monitoriacion de TCP$IP /ntroducimos los si>uientes comandos para entrar en los modos interfaces Router * p 3 Router + p ip A)ora se pondrIn introducir los si>uientes comandos
)%*& J 0uestra el contenido de las ta8las de encaminamiento del router5 Dic)as ta8las incluyen las rutas conK>uradas de forma estItica @desde el proceso ( y las rutas aprendidas mediante protocolos de encaminamiento dinImico como R/ y S5 Router /. D60 &ype Dest net 0as2 Cost A>e e9t )op@s Stat@' !5!5!5! !!!!!!!! ! ! '%#55'53 S8rd@! 35!5!5! !!!!!! ' ! one S@' 35,55! !! ' ' 4t)"! S@! 35,55#$! ' ' 35,55#$! Dir@' '%#55'5! !! ' ! 4t)"! S@! '%#55'5#$' ! ! SL"! Stat@' '%#55#5! !! ' ! '%#5'5'5# R/@! '%#5535! !! # #! '%#55'5'( A>>r@!A #!!5!5!5! !!!!!! ' ! one Stat@'a #!!5'5'5! !! # ! %5'5'5# Stat@'a #!!5'5#5! !! ' ! %5'5'5# Default >ateay in use5 &ype Cost A>e e9t )op 4st ! ! '%#55'53 Routin> ta8le sie: , nets @$###( 8ytes nets 2non
Ping J ermite enviar solicitudes de eco /C0 para compro8ar la accesi8ilidad a una determinada direcci?n /5 /. /G / destination ;'%#5,5'5!s@.J'!!ms;'!!!s;!mentation;no<@Mes"oB /G '%#5,5'5': $ data 8ytes ( 8ytes from '%#5,5'5': icmpNseOJ!5 timeJ#5 ms
( 8ytes from '%#5,5'5': icmpNseOJ'5 timeJ#5 ms ( 8ytes from '%#5,5'5': icmpNseOJ#5 timeJ#5 ms ----'%#5,5'5' /G Statistics---3 pac2ets transmitted 3 pac2ets received !P pac2et loss round-trip @ms min"av>"ma9 J #"#"#
Ro%te J ermite visualiar la ruta @si e9iste )acia una direcci?n / dada5 Si la ruta e9iste se muestran las direcciones los saltos asQ como informaci?n detallada de la ta8la de routin>5 Route /. R6&4 '%#55'5'% Destination: '%#55'5! 0as2: #$$5#$$5#$$5! Route type: R/ Distance: # A>e: '! &a>: ! e9t )op@s: '%#535'5' @R"!
+tatic-ro%tes J ermite visualiar la lista de rutas estIticas conK>uradas5 &am8in se muestran los routers de red y su8red por defecto5
Tracero%te ermite e=ecutar el conocido comando traceroute desde el router con el o8=eto de visualiar el camino completo a un destino5 Se realia con la / 1A5 /. &raceroute '%#5'$5'#(5''! &RAC4R6&4 '#5'$5'#(5''!: $ data 8ytes ' '#5'$5'(#5, ' ms ! ms ! ms ' '#5'$5'#35## ' ms ! ms ' ms 3*** (*** $ '#5'$5'#(5''! ' ms ! ms ! ms
Ver contadores de Ca%dal (,o+! Router *p 3Router + feature 8andidt)reservation -- 7andidt) Reservation user console -Router 7RS+ netor2 atm'"!5' Router 7RS ;i atm'"!5'<+ counters Class: local /nput pac2ets: #(3( /nput 8ytes: $!3$% &ransmitted pac2ets: #(3( &ransmitted 8ytes: $!3$'( Discarded pac2ets: # Discarded 8ytes: '$( Disc p2ts rate-limit: ! Disc 8ytes rate-limit: !
Remar2ed pac2ets: ! Remar2ed 8ytes: ! Reassi>ned pac2ets: ! Reassi>ned 8ytes: ! Disc pac2ets loop: ! Disc 8ytes loop: ! Disc p2ts Oueue ovT: # Disc 8ytes Oueue ovT: '$( Class: default /nput pac2ets: ,%(,(( /nput 8ytes: '!###$(# &ransmitted pac2ets: '!'(% &ransmitted 8ytes: %$#%#%$$ Discarded pac2ets: '($%$ Discarded 8ytes: %%%( Disc p2ts rate-limit: ! Disc 8ytes rate-limit: ! Remar2ed pac2ets: ! Remar2ed 8ytes: ! Reassi>ned pac2ets: ! Reassi>ned 8ytes: ! Disc pac2ets loop: ! Disc 8ytes loop: ! Disc p2ts Oueue ovT: '($%$ Disc 8ytes Oueue ovT: %%%( &&A1: /nput pac2ets: '%!%# /nput 8ytes: '!#,#$'! &ransmitted pac2ets: #!((%$ &ransmitted 8ytes: %$,%$3,# Discarded pac2ets: '($%, Discarded 8ytes: %%,'3 Disc p2ts rate-limit: ! Disc 8ytes rate-limit: ! Remar2ed pac2ets: ! Remar2ed 8ytes: ! Reassi>ned pac2ets: ! Reassi>ned 8ytes: ! Disc pac2ets loop: ! Disc 8ytes loop: ! Disc p2ts Oueue ovT: '($%, Disc 8ytes Oueue ovT: %%,'3
Traco total en cada interfaRouter + statistics 6nicast 0ulticast 7ytes ac2ets 7ytes /nterface Ots Rcv Ots Rcv Received &ransmitted &ransmitted et)ernet!"! #3,,!3 ,3('(( '($!,!'!!3 $3$,'# $#%#$' atm!"! $!,,%,' ! (!3'!(%($# 3$3!#( %3$#%' 8ri!"! '!'( ! %3$,( '!' '(%% 9#$-node ! ! ! ! ! atm!"!5' $!,,%,' ! #3(3'(! 3$3!#$ ,#(3#!, ppp' '!'! ! %33## '!' '(%% ppp# ! ! ! ! ! loop8ac2!! ! ! ! ! !
CON.I/0RACIÓN - P1 Ca*2iar ora de ro%ter Router * @0odo normal Router * p ( @4ntramos en modo conK> Router ConK>. time set @0etemos la fec)a se>Un nos vaya pre>untando el sistema
4orrar la cong%ración act%al Router * o conK>uration Router ConK>.Save -. Mes
5ntrar en las interfaces Router * p ( Router ConK>. netor2 et)ernet!"! 4ntramos en la interfa y realiamos modiKcaciones en l y a continuaci?n: Router ConK>. s)utdonRouter ConK>. save yes Savin> conK>uration it) conKrmation need5 4nter conKrm-cf> in !d!)'!m!s after reload to conKrm in ot)er case previous conK>uration ill 8e restored5 7uildin> conK>uration as te9t555 L Router * rest Are you sure to restart t)e system@Mes"oB ye Done Router * p ( Router ConK>. conKrm-cf> - asQ conKrmamos las modiKcaciones Writin> conK>uration555 ConK>uration conKrmed on R6&4R5CG Si tenemos pro8lemas a la )ora de >uardar como el error de Oue no esta activado elconr*-cfg por defecto introduciremos el comando conr*-cfg-needed defa%lt5 A continuaci?n podemos introducir ya el comando conKrm-cf> @puede Oue necesites reiniciarlo5
Cong%racion en TCP$IP Router * p ( Router ConK>. p ip
Add Address6 cange address " delete addressRouter / ConK>. Add address ! '%5'$(5#5#! #$$5#$$5#$$5! aVade la direcci?n '35(535'$! con mIscara #$$5#$$5#$$5! al interfa ! @1A del router Router / ConK>. C)an>e address / Address ;!5!5!5!B #!!!' &ime release it)out data@!-$!!!;!. delete address ! '%5'$(5#5#! #$$5#$$5#$$5! 8orra la direcci?n '35(535'$! con mIscara #$$5#$$5#$$5! al interfa ! @1A del router
Co*andos Varios RestartJresetear router @cada ve Oue se realice un cam8io en el router de8e reiniciarse 7 J ayuda
Contrl 8 P Jara re>resar al proceso inicial 9ogo%t J deslo>earse del telnet 5na2le$disa2le J )a8ilitar"desa8ilitar una interfa5 +ave J >ra8ar la conK>uracion +et #ostna*e J cam8iar el nom8re al eOuipo5 )evice J 0uestra estadQsticas so8re los interfaces fQsicos de red5 Router+ device Auto-test Auto-test 0aintenance /nterface CSR Fect valids failures failures et)ernet!"! A#!!A!! $e ' ! ! atm!"! A#!!A! $$ ' '' ! 8ri!"! A#!!A(! $c ' ! ! 9#$-node ! ! ' ! ! atm!"!5' ! ! ' '( ! ppp' ! ! ' ' ! ppp# ! ! ! '!(( ! loop8ac2!! ! ! ' ! ! Internet J entorno de visualiaci?n de /nternet5 ,%e%e J 0uestra estadQsticas acerca de las colas de entrada y salida de un interfa de red5 Test :net;or<= J FeriKca el estado de un interfa de red5