Task Index
Task 1
Configure hostnames and IP addresses on the routers and switches.
Task 2
Configure Virtual Trunk Protocol (VTP).
Task 3
Configure trunking between Sw1 and Sw2.
Task 4
On Sw1, configure VLAN2 with the name: vlan_b.
Task 5
On Sw2, configure port 2 to belong to VLAN 2.
Task 6
Configure STP Spanning Tree Protocol (STP) on Sw1.
Task 1
Configure hostnames and IP addresses on the routers and switches.
Step 1 : Connect to R2 and configure the hostname.
Action:
enable configure terminal hostname host-name
Result:
Router>enable
Router#conf t
Router(config)#hostname r2
r2(config)#
Explanation:
Click on R2 and type enable to gain access to the privileged EXEC mode.
The configure terminal command is abbreviated as conf t. The conf t command moves the Command Line Interface (CLI) from the privileged EXEC mode to the global configuration mode where the running configuration of the router can be modified.
The hostname r2 command changes the prompt from Router to r2.
Step 2 : Configure the f0/0 interface on R2.
Action:
interface type number ip address ip-address net-mask no shutdown
Result: r2(config)#int f0/0 r2(config-if)#ip address 10.1.1.1 255.255.255.0 r2(config-if)#no shut r2(config-if)# Explanation:
To make changes to a specific interface you have to enter the interface configuration mode from the global configuration mode. The int f0/0 command changes the Command Line Interface to receive port-specific information; in this case the IP addresses and subnet mask.
The no shutdown command is issued to activate the interface.
Step 3 : Connect to R4 and configure its hostname.
Action:
enable configure terminal hostname host-name
Result:
Router>en
Router#conf t
Router(config)#hostname r4
Step 4 : Configure both FastEthernet interfaces on R4.
Action:
interface type number ip address ip-address net-mask no shutdown
Result: