Title: Banner MOTD, set Message of the Day banner.
Description: Note that the banner is set in a single command line here. You can also
use multi-line banner motd command. Choose R1 from the N/W diagram, and exit to
terminal mode.
Instructions:
1. Enter into privileged mode
2. Enter into global Configuration Mode
3. Set banner to: "Welcome to local host". Starting and ending character of the banner should be "Z". (Do not use
quotes.)
R1>enable
R1#configure terminal
R1(config)#banner motd Z Welcome to local host Z
Title: Setting Host Name
Description: You set the router host name. Go to N/W diagram and choose device R1.
Note that you can also use short form commands such as "conf term" in place of full
command "configure terminal".
Instructions:
1. Enter into privileged mode
2. Enter into global Configuration Mode
3. set hostname as cisco.
R1>enable
R1#configure terminal
R1(config)#hostname cisco
Title: Router Interface Configuration
Description: In this lab, you configure serial 0 and ethernet 0 interfaces on a router
with specified ip address and subnet mask. Choose R1 in the network diagram and
exit.
Instructions:
1. Enter into privileged mode
2. Enter into global Configuration Mode
3. set ip address of serial 0 as 196.20.32.15 and subnet mask as 255.255.255.5
4. set ip address of ethernet 0 as 195.20.32.10 and subnet mask as 255.255.255.10
1
R1>enable
R1#configure terminal
R1(config)#interface serial 0
R1(config-if)#ip address 196.20.32.15 255.255.255.5
R1(config-if)#exit
R1(config)#interface ethernet 0
R1(config-if)#ip address 195.20.32.10 255.255.255.10
Title: Setting Bandwidth on an interface.
Description: You setup the bandwidth on a given interface (interface serial 0) to a
specified value (64 kbps). You also set the clock rate to 64000. Note that bandwidth is
represented in kbps, where as clock rate is entered in bps. Choose R1 from the N/W
diagram and exit to simulator terminal.
Syntax: bandwidth (interface): The command
bandwidth <kilobits>
will set and communicate the bandwidth value for an interface to higher-level protocols.
ex: bandwidth 64
will set the bandwidth to 64 kbps. Use no form of the command to set the bandwidth to default value.
Instructions:
1. enter to serial 0 mode
2. set bandwidth of serial 0 as 64 kbps
3. set clockrate as 64000 bps
Setting Bandwidth
R1>enable
R1#configure terminal
R1(config)#interface serial 0
R1(config-if)#bandwidth 64
R1(config-if)#clock rate 64000
Title: Setting Console Password
Description: Set the line console password for line 0. Use password routercon. (Select
R1 from the N/W diagram).
Instructions:
1. Enter into global Configuration mode
2. Enter into line console 0 mode
3. Set console password as routercon
2
R1>enable
R1#configure terminal
R1(config)#line console 0
R1(config-line)#password routercon
Title: Setting Telnet Password
Description: Set the vty password for lines 0 to 4. (Choose R1 from the network
diagram and exit to simulator terminal)
Instructions:
1. enter into global configuration mode
2. Configure a password ‘cisco’ that will enable remote users to Telnet into vty ports 0-4.
R1>enable
R1#configure terminal
R1(config)#line vty 0 4
R1(config-line)#password cisco
Title: Copy Running Configuration to Startup Configuration
Description: You will practice viewing running configuration, copying running
configuration to startup configuration etc. (Choose R1 from the N/W diagram)
Instructions:
1. enter into priveleged mode
2. Show the active configuration in memory
3. view the configuration stored in NVRAM
4. Copy the active configuration to NVRAM
5. view the configuration stored in NVRAM
6. issue the command to delete the configuration file in NVRAM
7. view then configuration stored in NVRAM
R1>enable
R1#show running-config
R1#show startup-config
R1#copy running-config startup-config
R1#show startup-config
R1#erase startup-config
R1#show startup-config
Title: Router CDP Configuration
Description: Set the cdp timer, holdtime and view configuration details. (Choose R1
from the n/w diagram to proceed with the commands).
Instructions:
3
1. Type the command to see the status of all interfaces that are running CDP
2. enable the serial 0 interface
3. enable Ethernet 0 interface
4. Set CDP timer to to 30 seconds
5. Set CDP holdtime to 90 Seconds
6. Type the command to see the status of all interfaces that are running CDP
7. Disable CDP in GLobal Configuartion Mode
R1>enable
R1#show cdp interface
R1#configure terminal
R1(config)#interface serial 0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#interface ethernet 0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#cdp timer 30
R1(config)#cdp holdtime 90
R1(config)#exit
R1#show cdp interface
R1#configure terminal
R1(config)#no cdp run
Title: Show CDP Configuration
Description: Disable/enable cdp and view cdp configuration. (Choose R1 from the n/w
diagram to proceed).
Note that cdp is enabled by default on a router. If you want to disable cdp on a
particular interface, use no cdp enable command. To re enable cdp on an interface,
use cdp run command. If the cdp is disabled in global configuration mode, you can not
enable it for any specific interface using interface configuration mode. The command
show cdp provides cdp information.
Instructions:
1. Enter interface configuration mode for serial 0, and disable CDP on interface serial 0.
2. issue a command to verify that Serial 0 is no longer sending CDP updates
3. Type the Command to see Global CDP information:
R1>enable
R1#configure terminal
R1(config)#interface serial 0
R1(config-if)#no cdp enable
R1(config-if)#exit
4
R1(config)#exit
R1#show cdp
Title: Show CDP Neighbors
Description: We try some important cdp show commands. (Choose R1 from n/w
diagram).
The command cdp neighbors provides the output in the following format:
Router#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
Device ID Local Intrfce Holdtme Capability Platform Port ID
7206 Eth 0 157 R 7206VXR Fas 0/0/0
Instructions:
1. Type the command to view information about directly connected neighbors.
2. Type the command to view detailed information about directly connected neighbors
R1>enable
R1#show cdp neighbors
Title: Bringing-up a router Interface
Description: By default, an interface will be in shut-down state. We need to issue
no shutdown command to bring-up the interface. Notice that the show
interfaces command shows that the line protocol is up indicating that the
interface is now active (sending and receiving packets).
Instructions:
1. view the information about interface serial 0
2. bring serial 0 to no shutdown state
3. Now view the state of the interface serial 0
R1>enable
R1#show interfaces serial 0
R1#configure terminal
R1(config)#interface serial 0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#exit
R1#show interfaces serial 0
Title: Set Keepalive Timers
5
Description: Set keep-alive on an interface.
Syntax: keepalive <timer-value>
no keepalive
timer-value The number of seconds this router waits before sending the next keepalive
message to a peer. Valid values are integers from 0 to 32767.
Description: Keepalive messages check the health of a link. The keepalive timer is the
number of seconds a router waits between sending keepalive messages to a peer. If no
response from the peer is received, the local router retransmits the keepalive message
up to five times. If no response is received from the peer, the local router brings down
the link and withdraws the route from the routing table.
Instructions:
1. Enter into Interface serial 0 Config mode
2. Set keepalive Parameter of interface serial 0 to 15 seconds
3. Type the show Command to see that keepalive parameter of interface serial 0 is set with 15
R1>enable
R1#configure terminal
R1(config)#interface serial 0
R1(config-if)#keepalive 15
R1(config-if)#end
R1#show interfaces serial 0
Title: Set Hostname and MOTD Banner
Description: Here you change the hostname and set motd (Message Of The Day)
banner. To specify or modify the host name for the network server, use the hostname
global configuration command.
syntax: hostname <name>
Use banner motd to define and enable a message-of-the-day (MOTD) banner
command in global configuration mode. To delete the MOTD banner, use the no form
of this command.
syntax: banner motd d message d
no banner motd
where d is the delimiting character of your choice. ex —a pound sign (#). A delimiting
character can not be used in the banner message.
message Message text.
6
Instructions:
1. Enter privileged EXEC mode using the password is cisco.
2. Enter global configuration mode.
3. Change the host name to "Cairo"
4. Set the banner to "welcome", note that quotes not to be included in the banner.
5. Exit the global configuration mode.
R1>enable
R1>Password:cisco
R1#configure terminal
R1(config)#hostname Cairo
R1Cairo(config)#banner motd #welcome#
R1Cairo(config)#exit
Title: Console and Line Passwords
Description: We configure console password and vty password. Use enable password
ccna, enable secret password exam, console and vty password of exam again.
Instructions:
1. Enter global configuration mode.
2. Set the enable password to "ccna"
3. Set the enable secret to "exam"
4. Set the console password to "exam" for line console 0
5. Set the telnet access password to "exam" for line vty 0-4
6. Exit the line configuration mode.
R1>enable
R1#configure terminal
R1(config)#enable password ccna
R1(config)#enable secret exam
R1(config)#line console 0
R1(config-line)#login
R1(config-line)#password exam
R1(config-line)#exit
R1(config)#line vty 0 4
R1(config-line)#login
R1(config-line)#password exam
R1(config-line)#exit
Title: Creating a Standard Access List
Description: Create an access-list and configure the same according to a given set of
rules.
7
Instructions:
1. Enter into Global Configuration Mode
2. Create an IP access-list to permit traffic from address 192.168.10.5, and deny all other traffic.
use 1 as IP access-list number.
3. Create an access-list 2 that blocks only the single IP address 196.145.25.5.
4. Type the command used for permitting packets from any IP Address.
use Access-list number as 2
R1>enable
R1#configure terminal
R1(config)#access-list 1 permit 192.168.10.5
R1(config)#access-list 2 deny 196.145.25.5
R1(config)#access-list 2 permit any
Title: Applying an Access List to an Interface
Description: Apply access-list 1 to interface ethernet 0 on R1. Apply the access-list on
both incoming and outgoing interfaces.
Instructions:
1. Enter into Interface Configuration Mode.
Use the interface Ehternet 0.
2. Use no shut down Command on Ehternet 0 Interface
3. Assuming that an access-list 1 is created, apply it to the interface Ethernet 0 as an inbound access-list.
4. Apply an access-list 1 to interface Ethernet 0 as an outbound access-list
R1>enable
R1#configure terminal
R1(config)#interface ethernet 0
R1(config-if)#no shutdown
R1(config-if)#ip access-group 1 in
R1(config-if)#ip access-group 1 out
Title: View Access List Entries
Description: Configure standard access-list #1 to permit ip 192.168.10.5 and view
access-list entries by using appropriate show command.
Instructions:
1. enter into Global Configuaration Mode
2. Create an Access-list that permit traffic from address 192.168.10.5.
Use access-list number 1. Exit from the global configuration mode.
3. Use the Show Command to see the Access-list
8
R1>enable
R1#configure terminal
R1(config)#access-list 1 permit 192.168.10.5
R1(config)#exit
R1#show access-list
Title: Standard Access List Scenario Lab 1
Description: Configure standard access-list according to a given set of conditions.
Instructions:
1. Hosts on Router R3 should not be able to access hosts on R2.
2. Only WS11 on R1 can access hosts on R2.
3. All other communication is allowed. Use standard access lists with ACL #1.
4. Apply the access-list#1 on serial interfaces s0 and s1.
R2>enable
R2#configure terminal
R2(config)#access-list 10 deny 10.3.1.0 0.0.0.255
R2(config)#access-list 10 permit host 10.1.1.2
R2(config)#access-list 10 deny 10.1.1.0 0.0.0.255
R2(config)#access-list 10 permit any
R2(config)#interface serial 0
R2(config-if)#ip access-group 1 in
9
R2(config-if)#exit
R2(config)#interface serial 1
R2(config-if)#ip access-group 1 in
R2(config-if)#exit
Title: Standard Access List Scenario Lab 2
Description: Configure a standard access-list according to a given set of conditions.
Instructions:
1. Hosts on R1 should not be able to communicate with hosts on R3 e0.
2. Host W32 on R3 can communicate only with other hosts on R3 e0.
3. Hosts on R3 should not be able to communicate with hosts on R1 e0.
4. Hosts on R1 can communicate with hosts on R2 e0.
R3>enable
R3#configure terminal
R3(config)#access-list 30 deny 10.1.1.0 0.0.0.255
R3(config)#access-list 30 deny host 10.3.1.3
R3(config)#access-list 30 deny any
R2>enable
R2#configure terminal
R2(config)#access-list 20 permit 10.1.1.0 0.0.0.255
10
R2(config)#access-list 30 deny any
R1>enable
R1#configure terminal
R1(config)#access-list 10 permit 10.2.1.0 0.0.0.255
R1(config)#access-list 30 deny any
Title: Router Access List Configuration
Description: Configure according to a given set of instructions.
Instructions:
1. Enter global configuration mode.
2. Define access list with the following conditions: a. IP 192.12.10.3 should be able to access hosts connected to
R3. b. All hosts on the subnet as Bret should not be able to access hosts connected to R3. c. Permit all other
communications.
3. Enter interface configuration mode for serial 0.
4. Apply the access list to interface 0.
5. Exit interface configuration mode.
6. Exit global configuration mode.
R3>enable
R3#configure terminal
R3(config)#access-list 56 permit 192.12.10.3
R3(config)#access-list 56 deny 192.12.10.0 0.0.0.255
R3(config)#access-list 56 permit any
R3(config)#interface serial 0
R3(config-if)#ip access-group 56 in
11
R3(config-if)#exit
R3(config)#exit
Title: Configuring RIP
Description: Enable RIP routing on router R1 for network 1.0.0.0.
Instructions:
1. enter into Global Configuration Mode
2. Enable RIP routing on the router.
3. Associate network 1.0.0.0 in the RIP routing process.
R1>enable
R1#configure terminal
R1(config)#router rip
R1(config-router)#network 1.0.0.0
Title: Configuring Static Routes
Description: configure static route 172.16.1.0 mask 255.255.255.0 with next hop
address of 192.16.2.1.
syntax: ip route prefix mask {address|interface} [distance]
prefix mask is the ip route prefix and mask for the destination.
address|interface: Use either the next hop router ip or the local router outbound
interface used to reach the destination.
distance is the administrative distance and an optional parameter.
Instructions:
1. Enter into Global Configuration Mode
2. disable IP Routing
3. Re-enable IP Routing
4. Configure a static route with destination subnetwork number as 172.16.1.0,
subnet mask as 255.255.255.0,and
IP addres of the next-hop router in the destaion path to 172.16.2.1
R1>enable
R1#configure terminal
R1(config)#no ip routing
R1(config)#ip routing
R1(config)#ip route 172.16.1.0 255.255.255.0 172.16.2.1
Note: Used no ip routing to remove any previously configured routing information.
12
Title: Configuring Default Route
Description: ip default-gateway command is used when ip routing is disabled on a
Cisco router. Use the ip default-network and ip route 0.0.0.0 0.0.0.0 commands
are used to set the gateway of last resort on Cisco routers that have ip routing
enabled.
Command syntax:
1. ip default-gateway <ip address>
example: ip default-gateway 192.168.14.2
2. ip default-network <ip address>
example: ip default-network 192.168.1.0
3. ip route 0.0.0.0 0.0.0.0 <ip-address>
example: ip route 0.0.0.0 0.0.0.0 192.168.5.1
here 192.168.5.1 is the gateway of last resort to network 0.0.0.0
Instructions:
1. Enter into Global Configuaration Mode
2. Set the defalut Network number as 192.168.17.0
R1>enable
R1#configure terminal
R1(config)#ip default-network 192.168.17.0
Reference: http://www.cisco.com/warp/public/105/default.html
Title: Basic EIGRP Routing
Description: Configure basic EIGRP routing as per the instructions provided below.
1. Enter global configuration mode, and enable EIGRP routing on R1. Associate
networks 192.168.1.0, 192.168.2.0, and 192.168.3.0 in the routing process.
2. Enter global configuration mode, and enable EIGRP routing on R2. Associate
networks 192.168.1.0, 192.168.2.0, and 192.168.3.0 in the routing process. (Click on
"Show Network" button to select router R2).
3. Configure interface E0 of R2 as passive interface
4. Check the connectivity using ping command from WS11 to S1 of R2
Instructions:
1. Enter global configuration mode, and enable EIGRP routing on R1. Associate networks 192.168.1.0, 192.168.2.0,
and 192.168.3.0 in the routing process.
13
2. Enter global configuration mode, and enable EIGRP routing on R2. Associate networks 192.168.1.0, 192.168.2.0,
and 192.168.3.0 in the routing process. (Click on "Show Network" button to select router R2).
3. Configure interface E0 of R2 as passive interface
4. Check the connectivity using ping command from WS11 to S1 of R2
R1>enable
R1#configure terminal
R1(config)#router eigrp 1
R1(config-router)#network 192.168.1.0
R1(config-router)#network 192.168.2.0
R1(config-router)#network 192.168.3.0
R2>enable
R2#configure terminal
R2(config)#router eigrp 1
R2(config-router)#network 192.168.1.0
R2(config-router)#network 192.168.2.0
R2(config-router)#network 192.168.3.0
R2(config-router)#passive-interface ethernet 0
* WS11:Ping 192.168.2.2
*Currently not supported.
Title: PPP Configuration
Description: Configure ppp across a point-to-point network as shown in the network
diagram below.
Instructions:
1. Configure for PPP on router R1 Serial 0
2. Configure "stac" compression on R1.
3. configure for PPP on router R2 serial 0.
4. configure "stac" compression on R2.
5. Verify PPP compression by using appropriate show command.
Issue the command on router2.
R1>enable
R1#configure terminal
14
R1(config)#interface serial 0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#encapsulation ppp
R1(config-if)#compress stac
R2>enable
R2#configure terminal
R2(config)#interface serial 0
R2(config-if)#ip address 192.168.1.2 255.255.255.0
R2(config-if)#encapsulation ppp
R2(config-if)#compress stac
R2(config-if)#exit
R2(config)#exit
R2#show compress
1. Title: RIP Routing Configuration-Scenario.
2. Description: The purpose of this Lab is to configure RIP on all the devices and test for ping and trace c
3. Instructions:
1)Assign the IP address of all the devices as given below
Device Interface IP Address Mask
255.255.255.0
S0 192.168.1.1
R1 255.255.255.0
S1 192.168.3.1
S0 192.168.1.2 255.255.255.0
R2
S1 192.168.2.1 255.255.255.0
S0 192.168.3.2 255.255.255.0
R3
S1 192.168.2.2 255.255.255.0
2)Bring all the interfaces to up
3)Configure RIP on all the Devices
4)From R1 issue a ping and trace command to R2 and R3
4. Commands to be executed:
On R1:
R1>enable
R1#configure terminal
R1(config)#interface serial 0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)# no shutdown
15
R1(config-if)#exit
R1(config)#interface serial 1
R1(config-if)#ip address 192.168.3.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)#exit
R1(config)#router rip
R1(config-router)#network 192.168.1.0
R1(config-router)#network 192.168.3.0
On R2:
R2>enable
R2#configure terminal
R2(config)#interface serial 0
R2(config-if)#ip address 192.168.1.2 255.255.255.0
R2(config-if)# no shutdown
R2(config-if)#exit
R2(config)#interface serial 1
R2(config-if)#ip address 192.168.2.1 255.255.255.0
R2(config-if)# no shutdown
R2(config-if)#exit
R2(config)#router rip
R2(config-router)#network 192.168.1.0
R2(config-router)#network 192.168.2.0
On R3:
R3>enable
R3#configure terminal
R3(config)#interface serial 0
R3(config-if)#ip address 192.168.3.2 255.255.255.0
R3(config-if)# no shutdown
R3(config-if)#exit
R3(config)#interface serial 1
R3(config-if)#ip address 192.168.2.2 255.255.255.0
R3(config-if)# no shutdown
R3(config-if)#exit
R3(config)#router rip
R3(config-router)#network 192.168.3.0
R3(config-router)#network 192.168.2.0
On R1:
R1#ping 192.168.2.2
R1#ping 192.168.2.1
R1#trace 192.168.2.2
R1#trace 192.168.2.1
5. Network Diagram:
16
Note: .1 on router 1 S0 refers to 192.1168.1.1. Similarly other IP addresses to be interpreted.
Title: EIGRP Routing Configuration-Scenario.
Description: The purpose of this Lab is to configure EIGRP on all the devices and test
for ping and trace commands
Instructions:
1)Assign the IP address of all the devices as given below
Device Interface IP Address Mask
255.255.255.0
S0 192.168.1.1
R1 255.255.255.0
S1 192.168.3.1
S0 192.168.1.2 255.255.255.0
R2
S1 192.168.2.1 255.255.255.0
S0 192.168.3.2 255.255.255.0
R3
S1 192.168.2.2 255.255.255.0
2)Bring all the interfaces to up
3)Configure EIGRP on all the Devices,Use Autonomous System number 0
4)From R1 issue a ping and trace command to R2-S1 and R3-S1 interfaces
Commands:
On R1:
R1>enable
R1#configure terminal
R1(config)#interface serial 0
R1(config-if)#ip address 192.168.1.1 255.255.255.0
17
R1(config-if)# no shutdown
R1(config-if)#exit
R1(config)#interface serial 1
R1(config-if)#ip address 192.168.3.1 255.255.255.0
R1(config-if)# no shutdown
R1(config-if)#exit
R1(config)#router eigrp 0
R1(config-router)#network 192.168.1.0
R1(config-router)#network 192.168.3.0
On R2:
R2>enable
R2#configure terminal
R2(config)#interface serial 0
R2(config-if)#ip address 192.168.1.2 255.255.255.0
R2(config-if)# no shutdown
R2(config-if)#exit
R2(config)#interface serial 1
R2(config-if)#ip address 192.168.2.1 255.255.255.0
R2(config-if)# no shutdown
R2(config-if)#exit
R2(config)#router eigrp 0
R2(config-router)#network 192.168.1.0
R2(config-router)#network 192.168.2.0
On R3:
R3>enable
R3#configure terminal
R3(config)#interface serial 0
R3(config-if)#ip address 192.168.3.2 255.255.255.0
R3(config-if)# no shutdown
R3(config-if)#exit
R3(config)#interface serial 1
R3(config-if)#ip address 192.168.2.2 255.255.255.0
R3(config-if)# no shutdown
R3(config-if)#exit
R3(config)#router eigrp 0
R3(config-router)#network 192.168.3.0
R3(config-router)#network 192.168.2.0
On R1:
R1#ping 192.168.2.2
R1#ping 192.168.2.1
R1#trace 192.168.2.2
R1#trace 192.168.2.1
Network Diagram:
Lab Title: Switch 2950 Console Password Assignment
18
Description: Select 2950 switch using the N/W Diagram button in the router simulator.
Assign password "consolepass" to line console 0.
Instructions:
1. Enter global configuration mode.
2. Enter line sub-configuration mode.
3. Set the console password to "consolepass".
4. Exit line configuration mode.
Commands:
2950>enable
2950#configure terminal
2950(config)#line console 0
2950(config-line)#password consolepass
2950(config-line)#exit
Title: Switch 2950 vty password assignment
Description: To assign vty password for a switch for vty lines 0 to 15, choose 2950
switch from the N/W diagram, and use the following commands. Note: The password
"virtualpass" is assumed. You can use any other password.
Instructions:
1. Enter global configuration mode.
2. Enter line sub-configuration mode for virtual terminals 0 to 15.
3. Assign virtual terminal password "virtualpass" to lines 0-15.
4. Enable the switch to use the password for telnet access.
5. Eixit line sub-configuration mode.
6. Eixit to privileged mode.
2950>enable
2950#configure terminal
2950(config)#line vty 0 15
2950(config-line)#password virtualpass
2950(config-line)#login
2950(config-line)#exit
2950(config)#
19
20