Lab Topology:
Lab Requirements:
1. Router name: P4S1, P4S2, P4S3
2. Set password to cisco, secret to cisco1, and vty to cisco. All the passwords are required to be encrypted.
3. Configure all these routers.
Lab Process:
Configure Router 1.
Router>enable
Router#configure terminal
Router(config)#hostname P4S1 / set router name
P4S1(config)#enable password cisco / set enable password
P4S1(config)#enable secret cisco1 / set encryption password
P4S1(config)#line vty 0 4 / set VTY line mode
P4S1(config-line)#login / set password authentication
P4S1(config-line)#password cisco / set line password
P4S1(config-line)#exit
P4S1(config)#service password-encryption / encrypt all the passwords globally
P4S1(config)#interface serial 1/1 / enter the interface you want to configure
P4S1(config-if)#ip add 202.119.249.1 255.255.255.0 / set the IP address of the interface
P4S1(config-if)#clock rate 64000 / set the clock rate for the interface
P4S1(config-if)#no shutdown / activate the password
Configure Router 2 and Router 3 the similar way that Router 1 is configured. The IP addresses of these interfaces are different. Set the clock rate of the DCE end on every MAN link.
After all these routers are configured, you can view information by using the following commands on Router 2.
P4S2#show cdp / display CDP information
P4S2#show cdp neighbors / display summary information about CDP neighbors
P4S2#show cdp neighbors detail / display detailed information about CDP neighbors
P4S2#show cdp traffic / display information about CDP data packets
P4S2#show cdp entry * / display all the information about adjacent routers
P4S2#show cdp entry P4S1 / display detailed information about adjacent routers