CISCO basic command set

  

First, the basic router check command

show version

show processes

show protocols

show mem
>

show ip route

show startup-config

show running-config

show flash

show interfaces
Second, basic routing Configuration Commands

Go to: config terminal/memory/network

Commands used to configure the network: copy and load

1. ID: hostname Distinguished Name

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 Port

interface Port Number

clock rate Clock Rate (64000)/* Configure in Serial Port*/

bandwidth (Default 56) /* Configure in the serial port */

media-type media type /* on the Ethernet port */

early-token release /* on the token ring network port */

ring-speed 16 /* on Token Ring Network Port*/

no shutdown

write memory

2) Verify Port
>

show interfaces

show controllers

6. Configuration Environment

1) Boot Mode

boot system flash IOS-filename

boot system tftp IOS-filename tftp-address

boot system rom

2) Configure Register Value

config-register 0x2102

7. View Neighbor Routes

show cdp interface

show cdp neighbors [detail]

show cdp entry routerA

8. IP Address Configuration

Ip address Network Address Mask

Ip host Host Name address

Ip name-server Server Address 1 Server Address 2 . . .

Ip domain-lookup nsap

Show hosts

Ping Hostname/IP Address

Trace Hostname/IP Address
III. IP Routing

1. Static route

ip routing

ip route target network number mask port number [permanent]

2. Default route

ip default-network Network number

3. Dynamic Routing

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 Anti-Mask Area Area Number

Area Area number range Network number mask

Area Area number default-cost Cost value

Ip ospf priority number

Ip ospf cost Value

Show ip ospf database

3) BGP Configuration

Router bgp Autonomous Domain Number

Redistribute Other Routing Protocols

Network Network No./* Autonomous domain*/

Aggregate-address Network number mask summary-only Summary network

Neighbor Neighbor network number remote-as Autonomous domain number/* Autonomous domain network* /
IV. Flow Control

1) Passive Port

passive interface Port Number

2) Default Route

ip default Network Number/Port Network

3) Static Route

ip route Destination Network Number Mask Port Number< Br>

4) ACL filter table

(globally) access-list access number 1 {permit deny} anti-mask number [established]

access-list access number 2 { Permit deny} IP/TCP protocol source network destination network

operator parameter

(on 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
V. 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 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

Copyright © Windows knowledge All Rights Reserved