Ping (Normal)
Ping (Extended,Privilege)
Trace
Show ip route
Show session
Show line
Clear line x
Who
<Ctrl-Shift-6 X
Rhostname 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-6X
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 Updates
*flash-update-threshold
Specify Flash Update 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 From IGRP or RIP Metrics
*passive-interface
Suppress Routing Updates on an Interface
***redistribute
Redistribute Information from Another Routing
Protocol
*timers
Adjust Routing Timers
*traffic-share
Algorithm for Computing Traffic Share for Alternate Routes
*validate-update-source
Perform Sanity Checks Against Source Address of
Routing Updates
**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 Updates
*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 from IGRP or RIP Metrics
*passive-interface
Suppress Routing Updates on an Interface
***redistribute
Redistribute Information From 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 Updates
**neighbor
Specify a Neighbor Router
***network
Enable Routing on an IP Network
*passive-interface
Suppress Routing Updates on an Interface
***redistribute
Redistribute Information from 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