0% found this document useful (0 votes)
99 views7 pages

Branch Router Configuration

The document contains configuration examples for three routers - a branch router, HQ router, and ISP router. The branch router is configured with basic settings like hostname, banners, passwords. Interface FastEthernet 0/0 is configured with an IP address and Serial 0/0 is also configured. The HQ router is similarly configured with interfaces, IP addresses, routing protocol RIP. The ISP router also shows basic configuration like interfaces IP addresses. Static routes are configured to reach the branch and HQ networks.

Uploaded by

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

Branch Router Configuration

The document contains configuration examples for three routers - a branch router, HQ router, and ISP router. The branch router is configured with basic settings like hostname, banners, passwords. Interface FastEthernet 0/0 is configured with an IP address and Serial 0/0 is also configured. The HQ router is similarly configured with interfaces, IP addresses, routing protocol RIP. The ISP router also shows basic configuration like interfaces IP addresses. Static routes are configured to reach the branch and HQ networks.

Uploaded by

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

Branch Router Configuration

Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname Branch
Branch(config)#no ip domain-lookup
Branch(config)#enable secret class
Branch(config)#banner motd %Holaa!%
Branch(config)#line console 0
Branch(config-line)#password cisco
Branch(config-line)#login
Branch(config-line)#exit
Branch(config)#line vty 0 4
Branch(config-line)#password cisco
Branch(config-line)#login
Branch(config-line)#exit
Branch(config)#end
Branch#
%SYS-5-CONFIG_I: Configured from console by console

Branch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Branch(config)#int f0/0
Branch(config-if)#ip add [Link] [Link]
Branch(config-if)#no shut

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

Branch(config-if)#int s0/0
Branch(config-if)#ip add [Link] [Link]
Branch(config-if)#clock rate 64000
Branch(config-if)#no shut

%LINK-5-CHANGED: Interface Serial0/0, changed state to down


Branch(config-if)#
Branch(config-if)#end
Branch#
%SYS-5-CONFIG_I: Configured from console by console

Branch#copy run start


Destination filename [startup-config]?
Building configuration...
[OK]
Branch#config t
Enter configuration commands, one per line. End with CNTL/Z.
Branch(config)#router rip
Branch(config-router)#network [Link]
Branch(config-router)#network [Link]
Branch(config-router)#exit
Branch(config)#end
Branch#
%SYS-5-CONFIG_I: Configured from console by console

Branch#copy run start


Destination filename [startup-config]?
Building configuration...
[OK]
Branch#
Branch#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

[Link]/23 is subnetted, 1 subnets


C [Link] is directly connected, FastEthernet0/0

Branch#
HQ Router Configuration

Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int f0/0
Router(config-if)#ip add [Link] [Link]
Router(config-if)#no shut

Router(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(config-if)#int s1/0
Router(config-if)#ip add [Link] [Link]
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial1/0, changed state to up

Router(config-if)#int s1/1
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/0, changed state to up

Router(config-if)#int s1/1
Router(config-if)#ip add [Link] [Link]
Router(config-if)#clock rate 64000
Router(config-if)#no shut

Router(config-if)#
%LINK-5-CHANGED: Interface Serial1/1, changed state to up

Router(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial1/1, changed state to up

Router(config-if)#ip route [Link] [Link] s0/0


%Invalid interface type and number
Router(config)#ip route [Link] [Link] [Link]
Router(config)#router rip
Router(config-router)#network [Link]
Router(config-router)#default-information originate
Router(config-router)#passive-interface f0/0
Router(config-router)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname HQ
HQ(config)#ni ip domain-lookup
^
% Invalid input detected at '^' marker.
HQ(config)#no ip domain-lookup
HQ(config)#enable secret class
HQ(config)#banner motd %Hola!%
HQ(config)#line console 0
HQ(config-line)#password cisco
HQ(config-line)#login
HQ(config-line)#exit
HQ(config)#line vty 0 4
HQ(config-line)#password cisco
HQ(config-line)#log in
% Ambiguous command: "log in"
HQ(config-line)#login
HQ(config-line)#exit
HQ(config)#
HQ(config)#end
HQ#
%SYS-5-CONFIG_I: Configured from console by console

HQ#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is [Link] to network [Link]

R [Link]/8 [120/1] via [Link], [Link], Serial1/0


[Link]/24 is variably subnetted, 2 subnets, 2 masks
C [Link]/25 is directly connected, Serial1/0
C [Link]/26 is directly connected, FastEthernet0/0
[Link]/30 is subnetted, 1 subnets
C [Link] is directly connected, Serial1/1
S* [Link]/0 [1/0] via [Link]

HQ#Router>en
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#end
Router#
%SYS-5-CONFIG_I: Configured from console by console
ISP Router Configuration

Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname ISP
ISP(config)#no ip domain-lookup
ISP(config)#banner motd %Hola!%
ISP(config)#enable secret class
ISP(config)#line console 0
ISP(config-line)#password cisco
ISP(config-line)#login
ISP(config-line)#exit
ISP(config)#line vty 0 4
ISP(config-line)#password cisco
ISP(config-line)#login
ISP(config-line)#exit
ISP(config)#
ISP(config)#end
ISP#
%SYS-5-CONFIG_I: Configured from console by console

ISP#config t
Enter configuration commands, one per line. End with CNTL/Z.
ISP(config)#int f0/0
ISP(config-if)#ip add [Link] [Link]
ISP(config-if)#no shut

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

ISP(config-if)#int s0/0
ISP(config-if)#[Link] [Link]
^
% Invalid input detected at '^' marker.
ISP(config-if)#ip add [Link] [Link]
ISP(config-if)#no shut

ISP(config-if)#
%LINK-5-CHANGED: Interface Serial0/0, changed state to up

ISP(config-if)#i
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0, changed state to up
ISP(config-if)#ip route [Link] [Link] s1/1
%Invalid interface type and number
ISP(config)#ip route [Link] [Link] [Link]
ISP(config)#ip route [Link] [Link] [Link]
ISP(config)#no shut
^
% Invalid input detected at '^' marker.
ISP(config)#
ISP(config)#end
ISP#
%SYS-5-CONFIG_I: Configured from console by console

ISP#sh ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

[Link]/23 is subnetted, 1 subnets


S [Link] [1/0] via [Link]
S [Link]/24 [1/0] via [Link]
[Link]/30 is subnetted, 1 subnets
C [Link] is directly connected, Serial0/0
[Link]/27 is subnetted, 1 subnets
C [Link] is directly connected, FastEthernet0/0

ISP#

You might also like