Sei sulla pagina 1di 4

Router Environment

1. User Exec Mode


 Router>
 Type “enable” press enter (user to privilege)
 Type “disable” press enter (privilege to user)

2. Privilege Exec Mode


 Router#
 Type “configure terminal” press enter (exec to global)

3. Global Configuration Mode


 Router(config)#

Note: Type “exit” to go back.

Router Configuration

 Assign Router Hostname


o Global Config Mode
o Router(config)# hostname R1

 Assign Router Password


o Global Config Mode
o R1(config)# enable password cisco
o R1(config)# enable secret class (encrypt)

 Assign Console Password


o Global Config Mode
o R1(config)# line console 0
o R1(config-line)# password class
o R1(config-line)# login
o R1(config-line)# exit
o R1(config)#

 Assign VTY Password (Virtual Teletype - command line interface for Telnet session)
o Global Config Mode
o R1(config)# line vty 0 4
o R1(config-line)# password cisco
o R1(config-line)# login
o R1(config-line)# exit
o R1(config)#
 Assign Banner
o Global Config Mode
o R1(config)# banner MOTD #No Entry!#

 Interface Configuration (Fast Ethernet)


o Global Config Mode
o R1(config)# interface FastEthernet 0/0
o R1(Config-If)# ip address 192.168.0.1 255.255.255.0
o R1(Config-If)# description LAN of R1
o R1(Config-If)# no shutdown
o R1(Config-If)# exit

 Interface Configuration (DTE Serial - male)


o Global Config Mode
o R1(config)# interface serial 0/0/1
o R1(Config-If)# ip address 192.168.0.2 255.255.255.0
o R1(Config-If)# description DTE of serial line from R1
o R1(Config-If)# no shutdown
o R1(Config-If)# exit

 Interface Configuration (DCE Serial - female)


o Global Config Mode
o R2(config)# interface serial 0/0/1
o R1(Config-If)# ip address 193.168.0.2 255.255.255.0
o Clock rate 64000
o R1(Config-If)# description DCE of serial line from R2
o R1(Config-If)# no shutdown
o R1(Config-If)# exit

 Save Router Configuration


o Privilege Exec Mode
o R1# copy running-config startup-config
o Enter
o Enter

 Display Configuration
o Show startup-config
o Show ip int
 Static Routing Configuration (Router 2)
o Global Config Mode
o R2(config)# ip route 192.168.0.0 255.255.255.0 192.168.1.0
| the other network | via |
o R2(config)# ip route 192.168.0.0 255.255.255.0 s0/0/0  exit interface R1
o R2(config)# ip route 192.168.1.0 255.255.255.0 s0/0/0  exit interface to R1
o R1(config)# ip route 192.168.2.0 255.255.255.0 s0/0/0  exit interface to R2

Potrebbero piacerti anche