The document describes the configuration of routers HQ, B1, and B2. It shows the configuration of interface and serial line IP addresses, enabling passwords and secret keys, and saving the running configuration to startup. The interfaces and serial lines are brought up and their line protocols achieve an up state.
The document describes the configuration of routers HQ, B1, and B2. It shows the configuration of interface and serial line IP addresses, enabling passwords and secret keys, and saving the running configuration to startup. The interfaces and serial lines are brought up and their line protocols achieve an up state.
Enter configuration commands, one per line. console by console End with CNTL/Z. Router(config)#hostname HQ HQ#copy run start HQ(config)#int fa0/0 Destination filename [startup-config]? HQ(config-if)#ip address 192.168.1.129 Building configuration... 255.255.255.192 [OK] HQ(config-if)#no shutdown HQ#exit
HQ(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol
on Interface FastEthernet0/0, changed state to up Router>en Router#conf t HQ(config-if)#exit Enter configuration commands, one per line. HQ(config)#int s0/0/0 End with CNTL/Z. HQ(config-if)#ip address 192.168.1.225 Router(config)#hostname B1 255.255.255.252 B1(config)#int fa0/0 HQ(config-if)#no shutdown B1(config-if)#ip address 192.168.1.1 255.255.255.128 %LINK-5-CHANGED: Interface B1(config-if)#no shutdown Serial0/0/0, changed state to down HQ(config-if)#exit B1(config-if)# HQ(config)#int s0/0/1 %LINK-5-CHANGED: Interface HQ(config-if)#ip address 192.168.1.229 FastEthernet0/0, changed state to up 255.255.255.252 HQ(config-if)#clock rate 64000 %LINEPROTO-5-UPDOWN: Line protocol HQ(config-if)#no shutdown on Interface FastEthernet0/0, changed state to up %LINK-5-CHANGED: Interface Serial0/0/1, changed state to down B1(config-if)#exit HQ(config-if)#exit B1(config)#int S0/0/0 HQ(config)#line console 0 B1(config-if)#ip address 192.168.1.226 HQ(config-line)#password cisco 255.255.255.252 HQ(config-line)#login B1(config-if)#clock rate 64000 HQ(config-line)#exit B1(config-if)#no shutdown HQ(config)#line vty 0 HQ(config-line)#password cisco B1(config-if)# HQ(config-line)#login %LINK-5-CHANGED: Interface HQ(config-line)#exit Serial0/0/0, changed state to up HQ(config)#enable secret class HQ(config)#exit B1(config-if)#exit B1(config)# B2(config)#int S0/0/0 %LINEPROTO-5-UPDOWN: Line protocol B2(config-if)#ip address 192.168.1.226 on Interface Serial0/0/0, changed state to up 255.255.255.252 B2(config-if)#clock rate 64000 B1(config)#line console 0 B2(config-if)#no shutdown B1(config-line)#password cisco B1(config-line)#login B2(config-if)# B1(config-line)#exit %LINK-5-CHANGED: Interface B1(config)#line vty 0 Serial0/0/0, changed state to up B1(config-line)#password cisco B1(config-line)#login B2(config-if)#exit B1(config-line)#exit B2(config)# B1(config)#enable secret class %LINEPROTO-5-UPDOWN: Line protocol B1(config)#exit on Interface Serial0/0/0, changed state to up B1# %SYS-5-CONFIG_I: Configured from B2(config)#line console 0 console by console B2(config-line)#password cisco B2(config-line)#login B1#copy run start B2(config-line)#exit Destination filename [startup-config]? B2(config)#line vty 0 Building configuration... B2(config-line)#password cisco [OK] B2(config-line)#login B1#exit B2(config-line)#exit B2(config)#enable secret class B2(config)#exit B2# %SYS-5-CONFIG_I: Configured from Router>en console by console Router#conf t Enter configuration commands, one per line. B2#copy run start End with CNTL/Z. Destination filename [startup-config]? Router(config)#hostname B2 Building configuration... B2(config)#int fa0/0 [OK] B2(config-if)#ip address 192.168.1.1 B2#exit 255.255.255.128 B2(config-if)#no shutdown
B2(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up