Académique Documents
Professionnel Documents
Culture Documents
over network interface Assign console password Config t Hostname {hostname} Config t Enable secret {password} Config t Line vty ! "assword {password} Login e#it Config t Line con "assword {password} Login Config t Line con Logging synchronous E#it Config t &o ip domain'lookup Config t (nt {interface name} (p add {(" addr} {subnet} Config t )outer rip {version *} &etwork {network ip address} E#it Copy start run $how runnig'config
$top annoying acknowledge system and debug messages sent to the console %isable feature that has the router attempt to resolve all unknown commends to a %&$ Configure (" address and enable it Enable )(" as the routing protocol
hostname of router interface (" and mask routing protocol all passwords /hash of secret0 (" of interfaces /no mask0 $tatus of interface /L, info0 "rotocol status of interface /L* info0 (f admin down1make sure you enabled the interface by doing a 2no shutdown3 and
that the clock is set %4E or %CE cable -ersion number of cable (f you have 2no cable3 it may be plugged in upside down
Config t (nterface {serial int} $hutdown Clock rate {clock rate} &o shutdown $how version
$how flash
$how protocols
%isplay info about the routing protocols that are enabled for ("
$how ip protocols
6$ version )oute uptime Cause of last restart &umber of interfaces 4ype of interfaces &ame of (6$ in flash $i7e of (6$ in flash Amount of free flash (s (" enabled9 "rotocols that are enabled $tatus of interfaces /up5down0 (" and mask of interfaces )outing protocol :re;uency of updates (nvalid timer Hold down timer :lush timer .a# paths (" of neighbors and distance >>>>Layer * (nfo>>>>> (nterface and status ?ia of hardware .4@ ?andwidth %elay Encapsulation type Loopback set9 A)" time &umber of broadcasts received &umber of runts and giants
%isplay info about each serial port $how controllers {serial int}
$how ip interface
(nput ;ueue /si7e5ma#5drops5flushes0 &umber of input errors+ C)C errors+ overrun+ and ignored ?uffer si7e 4ype of cable /%CE5%4E0 Clockrate &umber of residual bit errors >>>Layer 8 info>>>>> $tatus of interface (" address .4@ %irected broadcast fwding enabled9 6utgoing5(nbound access list set9 $ecurity level $plit hori7on enabled9 (C." rules :ast switching enabled9 ?A" mapping enabled9
Config t (nterface {serial interface} &o shutdown (nterface {subinterface} &o shutdown Encapsulation dot,B {-LA& (%} (p address {(" addr} {CC.}
C%" Commands Dperformed on the router -erify C%" is operational $how cdp interface on all interfaces
6nly displays info if C%" is up (nterface status Encapsulation Holdtime :re;uency of C%" packets )outer (% (" address )outer model
(nterface name directly connected Holdtime (6$ version 4AC support web address (" addr and mask Connected to which interface $tatus /up5down09 (" addr and mask .4@ (n56utbound access list (C."s sent9 $plit hori7on enabled9 A)" enabled :ast switching enabled9
4elnet D %one from the router $uspend telnet session <shft=<ctrl=<E= <#= %isplay telnet session $how sessions initiated from your router
$how users
(" address of telnet destination $hows amt of time since a telnet session has been used Line number of router Host (" How long each session has been active
)outing "rotocol Configuration %isplay dynamically derived networks $how ip route {<none=+ rip} %isable %ebugging Enable ()A"5E(A)" routing @ all Config t )outer {igrp+ eigrp} {A$} &etwork {n5w G} &etwork addr+ mask &umber of subnets (" addr learned F (" addr and interface you learned it from )outing protocol used A$ number Chen updates are sent (nvalid timer Hold timer :lush timer .etric weight .a# hop count .a# path )outing neighbors )outing protocol used (" and interface that each update was received form5sent to &umber of hops to reach router A$ /Autonomous $ystem number0 must be the same on all routers in the network in order to e#change routing information n5w G should cover all subnets connected to your router &eeding this b5c they are set as 4( by default+ but doesnJt determine how fast you go+ Hust influences the routing protocol
show ip protocols
%ebug ip {rip 5 }
%ebug (A)"
/smoke and mirrors0 (" addr and interface update received (" addr and interface update received from5sent to .etric from the router and their neighbor &eighbors discovered with hello pkts /every K sec from high'speed int or E sec from low speed int0 (" addr and interface of neighbors "rocess (% used on this router1allows multiple 6$": processes to be defined on , router Area defines the area that all interfaces that match the network G will be placed onto %isplay (" and interface of dynamically discovered 6$": neighbors ?e sure to use the same A$ number to remove the protocol as used to create it
Enable 6$": routing Config t )outer ospf {process (%} &etwork{n5wG}{CC.} area {G}
Access Lists Create Access List Config t Access'list {ACLG} permit {(" addr} 4ype this in notepad ,st1rules are implemented
$how access'lists
in the order theyJre listed (mplicit deny all1so after you deny privileges+ you should put a permit at end Access List G "ermit5deny (" address ACL G should match the ACL G of the access list you want to apply (n our out defines the direction the list is applied from the routers perspective ACL G and in5out must match that of the specs used to apply the access list to the interface 6nly removes functionality from that interfaceL access list still e#ists ACL G must match the number that you used to create the access list (n or out defines direction $hould see -4M *'E with same access list number applied to all
Encapsulation 5 Authentication Configuration %efine the core'router as a 2potential user3 of the Conf t @sername Core')outer 2Courter')outer3 is the name of the router
router
"assword {pwd}
"wd is the password the core router must use )outer name and pwd are case sensitive!
""" is encapsulation type on this interface .ust configure authentication type then do no shutdown
-erify the core router is a user of your router E#amine real'time """ activity in the router
Config t (nterface {interface} $hutdown """ authentication {chap+ pap} &o shutdown $how users %ebug """ negotiation Config t (nterface {serial interface} $hutdown
)outer name Encapsulation type $hutdown serial interface to cause debug screens to capture the appropriate info b5c updates are only sent every * minutes $hows inbound /2(30 and outbound /2630 packets -erifies that """ is encapsulation at both ends of the link After """ negotiation is successful layer'8 protocols are mapped in (f nothing is displayed+ then """ has not been configured as the encapsulation for the interface (f nothing displays+ """ is not the encapsulation