First, the inspection command of the basic router
Show version
Show processes
Show protocols
Show mem
Show ip route
Show startup-config
Show running-config
Show Flash
Show interfaces
Second, the basic route configuration command
Enter: Config Terminal / Memory / Network
Commands common to configure the network: Copy and Load
1. Identification: hostname
2. Start logo: banner starts identification
3. Interface: interface port number
4. Password: line 0 6
login
Passwd password
Enable Password / Secret Password
5. Interface:
1) Configure port
Interface port number
Clock Rate Clock Rate (64000) / * Configures * /
BandWidth Bandwidth (Default 56) / * Configuration in Serial Port * /
Media-Type Media Type / * On Ethernet Port * /
Early-token release / * on the token ring network port * /
Ring-speted 16 / * on the token ring network port * /
No Shutdown
Write Memory
2) Inspection port
Show interfaces
Show Controllers
6. Configuration Environment
1) Guide method
Boot System Flash iOS-FileName
Boot System TFTP iOS-FileName TFTP-Address
Boot system ROM
2) Configure the register value
Config-register 0x2102
7. View neighbor routing
SHOW CDP Interface
Show CDP neighbors [detail]
Show CDP Entry Routera
8. IP Address configuration
IP Address network address mask
IP Host hostname Address
IP Name-Server Server Address 1 Server Address 2. . .
IP Domain-Lookup NSAP
SHOW HOSTS
Ping hostname / IP address
Trace hostname / IP address
Third, IP route
1. Static route
IP routing
IP Route target network number mask port number [permanent]
2. Default route
IP DEFAULT-NETWORK number
3. Dynamic route
1) RIP configuration
Router rip
NetWork network number
Show ip route
Show IP Protocol
Debug ip
2) OSPF configuration
ROUTER OSPF process number
Redistribute other routing protocol
NetWork port network retro mask Area area number
Area area Range network number mask
Area Area No. Default-COST Floor
IP OSPF Priority Number
IP OSPF COST Floor
Show ip OSPF Database
3) BGP configuration
Router BGP Autonomous Domain
Redistribute other routing protocol
NetWork network number / * Autonomous domain * /
AGGREGATE-ADDRESS INS Summmary-ONLY Summary Network
NEIGHBOR NET INTEN REMOTE-AS Autonomous Domain / * Network * / Four, Traffic Control
1) Passive port
Passive Interface port number
2) The default route
IP DEFAULT network number / port network
3) Static route
IP Route target network number mask port number
4) ACL filter table
(Global) Access-list Access Number 1 {permit | de Neny} Refine Mask [Established]
Access-List Access Number 2 {Permit | Deny} IP / TCP Protocol Source Network Destination Network
Operator parameters
(Port) Access-Group Access Number in | OUT
Distribute-List Access Number in | OUT Port Number
4) NULL 0 Interface
IP Route Address Mask Null 0
Five, general network configuration
1) PPP
PPP PAP Sent-UseName Package
PPP Chap Hostname
PPP Chap Password
2) X.25
Encapsulation X25 [DCE]
X25 Address
X25 MAP protocol address / * svc * /
X25 PVC PVC number IP address x25 address / * PVC * /
IP Switching
X25 Route X.121 address interface X.121 mapping address
2) FrameRelay
Frame-relay local-dlci ip network number
Frame-Relay Map protocol address
Frame-relay lmi-type ANSI