Cisco IOS basic command set

Source: Internet
Author: User
1. Basic router inspection commands
Show version
Show Processes
Show protocols
Show mem
Show IP Route
Show startup-config
Show running-config
Show flash
Show interfaces
Ii. Basic route configuration commands
Enter: config Terminal/memory/Network
Frequently Used commands for network configuration: Copy and Load
1. ID: Hostname
2. startup ID: banner startup ID
3. Interface: interface port number
4. Password: line 0 6
Login
Passwd Password
Enable password/secret password
5. interface:
1) configure the port
Interface port number
Clock rate (64000)/* configure in serial port */
Bandwidth bandwidth (56 by default)/* configure in serial port */
Media-type media type/* on the Ethernet port */
Early-Token release/* on the ring network port */
Ring-speed 16/* on the ring port */
No Shutdown
Write memory
2) Check the port
Show interfaces
Show Controllers
6. Configure the environment
1) Guide Mode
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 routes
Show CDP Interface
Show CDP neighbors [detail]
Show CDP entry routings
8. IP Address Configuration
IP address Network Address Mask
IP host name address
IP name-server address 1 server address 2...
IP domain-lookup NSAP
Show hosts
Ping host name/IP Address
Trace host name/IP Address
Iii. IP routing
1. Static Routing
IP routing
IP route target network number mask port number [permanent]
2. Default route
IP default-network ID
3. Dynamic Routing
1) RIP Configuration
Router rip
Network ID
Show IP Route
Show IP protocol
Debug IP
2) OSPF Configuration
Router OSPF process no.
Redistribute other routing protocols
Network port network anti-mask area number
Area No. range network No. Mask
Area No. Default-Cost Expense Value
Ip ospf priority number
Cost of ip ospf cost
Show ip ospf Database
3) BGP Configuration
Router BGP Autonomous Region No.
Redistribute other routing protocols
Network ID/* autonomous domain */
Aggregate-address network number mask Summary-only summary Network
Neighbor adjacent network number remote-as autonomous domain number/* Inter-autonomous domain Network */
Iv. Traffic Control
1) passive Port
Passive interface port number
2) default route
IP default network number/port network
3) Static Routing
IP Route destination network number mask port number
4) ACL filtering table
(Global) Access-list access no. 1 {permit | deny} anti-mask no. [established]
Access-list access no. 2 {permit | deny} IP/TCP 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
5. Generalized Network Configuration
1) PPP
PPP pap sent-usename Encapsulation
Ppp chap hostname
Ppp chap Password
2) X.25
Encapsulation x25 [DCE]
X25 address
X25 MAP Protocol address/* SVC */
X25 PVC No. IP address x25 address/* PVC */
IP Switching
X25 route x.121 address interface x.121 ing address
2) framerelay
Frame-relay local-dlci IP address number
Frame-relay MAP Protocol address
Frame-relay lm-type ANSI
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.