Ping (Normal)
Ping (Extended,Privilege)
Trace
Show ip route
•Show session
•Show line
•Clear line x
•Who
<Ctrl-Shift-6> X
R>•hostname R6
line con 0
exec-timeout 0 0
No ip domain-lookup
No exec-timeout
Ip subnet-zero
Login password (configured)
Vty password (configured)
Enable password
No logg console (logg console) or logg syn(line con 0)
No logg buffer (logg buffer)
Ip Classless
<Ctrl-Shift-6>X
•Config a Router as a frame relay switch
Frame-relay switching
interface serial 1
encapsulation frame-relay
frame-relay intf dce
frame-relay lmi-type ansi
frame-relay route 102 interface s2 201
frame-relay route 103 interface s3 301
….
Clockrate 64000(options)
interface serial 2
encapsulation frame-relay
frame-relay intf dce
frame-relay lmi-type ansi
frame-relay route 201 interface s1 102
frame-relay route 203 interface s3 302
… Clockrate 64000(options)
•RIP Commands
Router rip
ip rip send v 1/ v 2
Neighbor x.x.x.x(when use passive interface)
Offset list
split-horizon ( in interface)
Show ip protocols
*auto-summary Enable Automatic Network Number Summarization
**default-information Control Distribution of Default Information
**default-metric Set Metric of Redistributed Routes
**distance Define an Administrative Distance
***distribute-list Filter Networks in Routing **s
*flash-**-threshold Specify Flash ** Threshold in Second
*maximum-paths Forward Packets Over Multiple Paths
**neighbor Specify a Neighbor Router
***network Enable Routing on an IP Network
*offset-list Add or Subtract Offset ** IGRP or RIP Metrics
*passive-interface Suppress Routing **s on an Interface
***redistribute Redistribute Information ** Another Routing Protocol
*timers Adjust Routing Timers
*traffic-share Algorithm for Computing Traffic Share for Alternate Routes
*validate-**-source Perform Sanity Checks Against Source Address of
Routing **s
**version Set Routing Protocol Version
•Rtr(config-if)#ip rip ?
**Authentication Authentication Control
**receive Advertisement Reception
**send Advertisement Transmission
•EIGRP Command
*auto-summary Enable Automatic Network Number Summarization
**default-information Control Distribution of Default Information
**default-metric Set Metric of Redistributed Routes
**distance Define an Administrative Distance
***distribute-list Filter Networks in Routing **s
*eigrp EIGRP Specific Commands
*maximum-paths Forward Packets Over Multiple Paths
metric Modify IGRP Routing Metrics and Parameters
**neighbor Specify a Neighbor Router
***network Enable Routing on an IP Network
*offset-list Add or Subtract Offset ** IGRP or RIP Metrics
*passive-interface Suppress Routing **s on an Interface
***redistribute Redistribute Information ** Another Routing Protocol
*timers Adjust Routing Timers
*traffic-share Algorithm for Computing Traffic Share for Alternate Routes
*variance Control Load Balancing Variance
•Rtr(config-if)#ip hello-interval eigrp 1 ?
<1-65535> Seconds between hello transmissions
Rtr(config-if)#ip hold-time eigrp 1 ?
<1-65535> Seconds before neighbor is considered down
Rtr(config-if)#ip split-horizon eigrp ?
<1-65535> Autonomous system number RIP/IGRP/EIGRP Split Horizon
•Serial Interfaces
.Frame Relay not enabled – Split Horizon is enabled
.Frame Relay enabled, no sub interface - Split Horizon is disabled
.Frame Relay enabled, sub-interfaces - Split Horizon is enabled
Useful Command in OSPF
•Show ip ospf nei
•Sh ip protocols
•Sh ip ospf interface
•Sh ip ospf database
•Debug ospf adj
Rtr(config)#router ospf 1
Rtr(config-router)#?
Router Configuration Commands:
***area OSPF Area Parameters
**auto-cost Calculate OSPF Interface Cost According to Bandwidth
*default-information Control Distribution of Default Information
*default-metric Set Metric of Redistributed Routes
*distance Define an Administrative Distance
*distribute-list Filter Networks in Routing **s
**neighbor Specify a Neighbor Router
***network Enable Routing on an IP Network
*passive-interface Suppress Routing **s on an Interface
***redistribute Redistribute Information ** Another Routing Protocol
*router-id Router-id for this OSPF Process
***summary-address Configure IP Address Summaries
*timers Adjust Routing Timers
Rtr(config-router)#area ?
<0-4294967295> OSPF Area ID as a Decimal Value
A.B.C.D OSPF Area ID in IP Address Format
Rtr(config-router)#area 1 ?
**Authentication Enable Authentication
*default-cost Set the Summary Default-cost of a NSSA/stub Area
*nssa Specify a NSSA Area
***range Summarize Routes Matching Address/mask
(Border Routers Only)
*stub Specify a Stub Area
***virtual-link Define a Virtual Link and its Parameters
•Rtr(config-router)#default-information originate ?
Always Always Advertise Default Route
metric OSPF Default Metric
metric-type OSPF Metric Type for Default Routes
route-map Route-map Reference
<cr>
•Rtr(config-if)#ip ospf ?
***authentication-key Authentication Password (Key)
**cost Interface Cost
*database-filter Filter OSPF LSA During Synchronization and Flooding
*dead-interval Interval After Which a Neighbor is Declared Dead
***demand-circuit OSPF Demand Circuit
*hello-interval Time Between HELLO Packets
***message-digest-key Message Digest Authentication Password (Key)
***network Network Type
***priority Router Priority
*retransmit-interval Time Between Retransmitting Lost Link State Advertisements
*transmit-delay Link State Transmit Delay
•3550 Spanning Tree
*forward-time Set the forward delay for the spanning tree
* hello-time Set the hello interval for the spanning tree
* max-age Set the max age interval for the spanning tree
*** priority Set the bridge priority for the spanning tree
***root Configure switch as root
**backbonefast Enable BackboneFast Feature
**etherchannel Spanning tree etherchannel specific configuration
*extend Spanning Tree 802.1t extensions
***pathcost Spanning tree pathcost options
***portfast Spanning tree portfast options
**uplinkfast Enable UplinkFast Feature