0% found this document useful (0 votes)
33 views2 pages

Configuring Router IPs and Interfaces

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.

Uploaded by

Hotdog
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views2 pages

Configuring Router IPs and Interfaces

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.

Uploaded by

Hotdog
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Router>en HQ#

Router#conf t %SYS-5-CONFIG_I: Configured from


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 [Link] Building configuration...
[Link] [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 [Link] Router(config)#hostname B1
[Link] B1(config)#int fa0/0
HQ(config-if)#no shutdown B1(config-if)#ip address [Link]
[Link]
%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 [Link] FastEthernet0/0, changed state to up
[Link]
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 [Link]
HQ(config-line)#password cisco [Link]
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 [Link]
on Interface Serial0/0/0, changed state to up [Link]
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 [Link] B2#exit
[Link]
B2(config-if)#no shutdown

B2(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

B2(config-if)#exit

You might also like