0% found this document useful (0 votes)
89 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)
89 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
You are on page 1/ 7

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 10.10.2.1 255.255.254.0
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 192.168.1.126 255.255.255.128
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 10.0.0.0
Branch(config-router)#network 192.168.1.0
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

10.0.0.0/23 is subnetted, 1 subnets


C 10.10.2.0 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 192.168.1.129 255.255.255.192
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 192.168.1.1 255.255.255.128
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 209.165.200.226 255.255.255.252
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 0.0.0.0 0.0.0.0 s0/0


%Invalid interface type and number
Router(config)#ip route 0.0.0.0 0.0.0.0 209.165.200.225
Router(config)#router rip
Router(config-router)#network 192.168.1.0
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 209.165.200.225 to network 0.0.0.0

R 10.0.0.0/8 [120/1] via 192.168.1.126, 00:00:00, Serial1/0


192.168.1.0/24 is variably subnetted, 2 subnets, 2 masks
C 192.168.1.0/25 is directly connected, Serial1/0
C 192.168.1.128/26 is directly connected, FastEthernet0/0
209.165.200.0/30 is subnetted, 1 subnets
C 209.165.200.224 is directly connected, Serial1/1
S* 0.0.0.0/0 [1/0] via 209.165.200.225

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 209.165.202.129 255.255.255.224
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)#209.165.200.225 255.255.255.252
^
% Invalid input detected at '^' marker.
ISP(config-if)#ip add 209.165.200.225 255.255.255.252
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 192.168.1.0 255.255.255.0 s1/1
%Invalid interface type and number
ISP(config)#ip route 192.168.1.0 255.255.255.0 209.165.200.226
ISP(config)#ip route 10.10.2.0 255.255.254.0 209.165.200.226
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

10.0.0.0/23 is subnetted, 1 subnets


S 10.10.2.0 [1/0] via 209.165.200.226
S 192.168.1.0/24 [1/0] via 209.165.200.226
209.165.200.0/30 is subnetted, 1 subnets
C 209.165.200.224 is directly connected, Serial0/0
209.165.202.0/27 is subnetted, 1 subnets
C 209.165.202.128 is directly connected, FastEthernet0/0

ISP#

You might also like