Working at a Small-to-Medium Business or ISP-
Chapter 5
Objectives
Configure a router with an initial configuration.
Use Cisco SDM to configure a Cisco ISR with LAN connectivity, internet
connectivity and NAT.
Configure a Cisco router for LAN connectivity, internet connectivity
and NAT using the Cisco IOS CLI.
Configure a WAN connection from customer premises to an ISP.
Describe, setup and configure a standalone LAN switch.
Initial ISR Router Configuration
ISR combines routing, LAN switching, security, voice and WAN
connectivity features
Initial ISR Router Configuration
Cisco IOS software offered in module called images
IP Base image: entry-level Cisco IOS
Images are specified to models of devices
Initial ISR Router Configuration
Tools and equipment required for setup:
Initial ISR Router Configuration
Three stage bootup process:
Power on self test (POST)
Locate and load Cisco IOS
Locate startup configuration file or
enter setup mode
Initial ISR Router Configuration
Out-of-band Management for initial configuration
In-band Management over a network connection
Initial ISR Router Configuration
Command Line Interface: text-based program
Security Device Manager (SDM): Web-based GUI
Using Cisco SDM Express and SDM
Follow best practices for installing a new device to ensure
correct functions
Using Cisco SDM Express and SDM
Eight SDM Express configuration Screen:
Overview
Basic Configuration
LAN IP Address
DHCP
Internet (WAN)
Firewall
Security Settings
Summary
Using Cisco SDM Express and SDM
Use Basic NAT Wizard to configure dynamic NAT with PAT
Configure a Router Using IOS CLI
CLI command modes: two level of access
Configure a Router Using IOS CLI
Configuration mode can alter the operation of the device
Configure a Router Using IOS CLI
Help Features:
Command completion
Error indicators
Command history
Arrow and function keys
Configure a Router Using IOS CLI
Show commands display configuration and operation
information
Configure a Router Using IOS CLI
Use Cisco IOS CLI to perform initial router configuration
Using Cisco SDM Express and SDM
Configure serial and Ethernet interface of a router
Configure a Router Using IOS CLI
The steps to configure an interface include:
1. Specify the type of interface and the interface port number
2. Specify a description of the interface
3. Configure the interface IP address and subnet mask
4. Set the clock rate, if configuring a serial interface as a DCE
5. Enable the interface
Configure a Router Using IOS CLI
Configure a Cisco Router to function as a DHCP server.
Steps to configuring DHCP via CLI:
1. Create DHCP Address Pool
2. Specify the Subnet
3. Exclude IP Addresses
4. Specify the Domain Name
5. DNS Server IP Address
6. Set the Default Router
7. Set the Lease Duration
8. Verify the Configuration
Using Cisco SDM Express and SDM
1. Router (config)# IP dhcp pool LAN-address
2. Router(dhcp-config)# network 192.168.1.0 255.255.255.0
3. Router(config)#ip dhcp excluded-address 192.168.1.20 192.168.1.24
4. Router(dhcp-config)# domain-name cisco.com
5. Router(dhcp-config)# dns server 192.168.1.100
6. Router(dhcp-config)# default-router 192.168.1.50
7. Router(config)# lease {days [hours] [minutes] infinite} end
8. Router# show running-config
Configure a Router Using IOS CLI
Configuring static NAT on a Cisco Router to enable Internet access
for an internal server.
Step 1: Specify the Interface
Step 2: Set the Primary IP address
Step 3: Identify the Inside Interface
Step 4: Configure the Outside Interface
Step 5: Set the Primary IP address
Step 6: Identify the Outside Interface
Step 7: Define the Address Translation for the Server
Step 8: Verify the Configuration
Configure a Router Using IOS CLI
Configuring static NAT on a Cisco Router:
1. Router(config)# interface fastethernet 0 / 0
2. Router(config-if)# ip address 192.168.1.1 255.255.255.0
3. Router(config-if)# ip nat inside
4. Router(config)# interface serial 0/0/0
5. Router(config-if)# ip address 209.165.201.1 255.255.255.252
6. Router(config-if)# ip nat outside
7. Router(config)# ip nat inside source static 192.168.1.10 209.165.20.20
8. Router# show running-config
Configure a Router Using IOS CLI
Configuring static NAT on a Cisco Router:
Configure a Router Using IOS CLI
Backing up a Cisco Router Configuration to a TFTP Server
1. Enter the copy startup-config tftp command.
2. Enter the IP address of the host where the configuration file will be
stored.
3. Enter the name to assign to the configuration file or accept the default.
4. Answer yes to confirm each choice.
Configure a Router Using IOS CLI
Restoring a Cisco Router Configuration from a TFTP Server
To restore the backup configuration file, be sure the router has at least one
interface configured and can access the TFTP server over the network.
1. Enter the copy tftp running-config command
2. Enter the IP address of the remote host where the TFTP server is
located.
3. Enter the name of the configuration file or accept the default name.
4. Confirm the configuration filename and the tftp server address
Routing
Routing is the process of moving IPs packets across a network from
a source to a destination.
Types of Routing:
1. Directly-Connected Routes
2. Static Routing- Static routing is a process in which we have
manually add routes in routing table.
3. Default Routing- this is the method where the router is
configured to send all packets towards a single router(next
hop).
4. Dynamic Routing- Dynamic routes are automatically created
and maintained by routing protocols.
Routing
Configuring Static Routes:
Enter global configuration mode.
ip route [destination_network] [subnet_mask] [gateway_address]
Router1(config) #ip route 192.168.16.0 255.255.255.0 192.168.15.1
Routing
Configuring Default Routes:
Enter global configuration mode.
Router(config)#ip route 0.0.0.0 0.0.0.0 <Next Hop IP Address>
or
Router(config)#ip route 0.0.0.0 0.0.0.0 <interface> <port number>
Routing
Routing