CH03 Cisco Router Config
CH03 Cisco Router Config
Introduction:
2. Getting Started:
o How to access the router (via console, SSH, or web interface).
o Initial setup and prerequisites.
3. Basic Configuration:
o Setting up a hostname.
o Configuring passwords for security.
o Assigning IP addresses to interfaces.
o Enabling interfaces.
4. Routing Configuration:
o Configuring static routes.
o Setting up dynamic routing protocols (e.g., OSPF, EIGRP).
5. Advanced Features:
o Configuring VLANs.
o Setting up NAT (Network Address Translation).
o Configuring access control lists (ACLs).
Here's a guide with commands for the requested topics to configure a Cisco router:
Basic Configuration
1. Setting up a hostname:
Router> enable
Router# configure terminal
Router(config)# hostname MyRouter
MyRouter(config)#
Enabling interfaces:
Routing Configuration
Static routes
Static routes are manually configured network routes that tell a router exactly where to send
packets to reach a specific network. Unlike dynamic routing, static routes don’t adapt
automatically to network changes—they’re fixed unless manually updated.
1. Destination Network: The router is informed about the network it's trying to reach.
2. Next-Hop IP or Exit Interface: The router is told where to forward packets for that
destination.
3. Manual Configuration: The static route is explicitly added to the router's routing table.
The serial interfaces between the routers also require IP addresses so that they can communicate.
Here's how you might set it up in this example:
1. Serial Interfaces:
o On Router A, assign an IP address to its serial interface (let's say it's Serial0/0):
interface Serial0/0
ip address 10.1.1.1 255.255.255.252
no shutdown
• •
interface Serial0/0
ip address 10.1.1.2 255.255.255.252
no shutdown
• Static Routes Update: With the serial interface IPs set, update the static routes to use the
serial link for next-hop communication. For example