0% found this document useful (0 votes)
95 views4 pages

Router Configuration PDF

The document describes the different modes of a router's command-line interface: user exec, privilege exec, and global configuration mode. It provides instructions for configuring a router by assigning a hostname, passwords, banners, and IP addresses. Interface configurations are demonstrated for FastEthernet and Serial ports. The configuration is saved and can be displayed. Static routing is configured between two routers to route between networks.

Uploaded by

Richard
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
95 views4 pages

Router Configuration PDF

The document describes the different modes of a router's command-line interface: user exec, privilege exec, and global configuration mode. It provides instructions for configuring a router by assigning a hostname, passwords, banners, and IP addresses. Interface configurations are demonstrated for FastEthernet and Serial ports. The configuration is saved and can be displayed. Static routing is configured between two routers to route between networks.

Uploaded by

Richard
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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

You might also like