Vous êtes sur la page 1sur 10

E2-E3/CFA/Router Configuration

Rev date: 01-04-2011

E2-E3: CONSUMER FIXED ACCESS

CHAPTER-13
ROUTER CONFIGURATION
(Date Of Creation: 01-04-2011)

BSNL, India

For Internal Circulation Only

Page: 1

E2-E3/CFA/Router Configuration

Rev date: 01-04-2011

Router Configuration
How to access your router from your PC

Click Start, Run

Type cmd in the command window and press ok to get C:\> (Command
Prompt)

Enter the telnet command as shown in the following table against your Router.

Eg. to access PE-3 Router:

C:\> telnet 210.212.90.11 2007

PE-3>

Enter the enable command and the enable password as shown in the following
table
PE-3>enable
Password:xxxxx
PE-3#
P-1
telnet
210.212.90.11 alttc
alttc
2001
P-2
telnet
210.212.90.11 alttc
alttc
2002
P-3
telnet
210.212.90.11 alttc
alttc
2003
P-4
telnet
210.212.90.11 alttc
alttc
2004
PE-1
telnet
210.212.90.11 alttc
alttc
2005
PE-2
telnet
210.212.90.11 alttc
alttc
2006
PE-3
telnet
210.212.90.11 alttc
alttc
2007
PE-4
telnet
210.212.90.11 alttc
alttc
2008

BSNL, India

For Internal Circulation Only

Page: 2

E2-E3/CFA/Router Configuration

Rev date: 01-04-2011

Lab Module: 1 (Preliminery Configuration)


P-1 Preliminary configuration
User Access Verification
Password:xxxxx
P-1>en
Password:xxxxx
P-1# conf t
Enter configuration commands, one per line. End with CNTL/Z.
P-1(config)#interface Loopback0
P-1(config-if)# description ** P-1's Loopback 0 Interface **
P-1(config-if)# ip address 192.168.0.254 255.255.255.255
P-1(config-if)# no shutdown
P-1(config-if)# exit
P-1(config)#interface GigabitEthernet2/1
P-1(config-if)# description ** P-1-PE-1 GigE link **
P-1(config-if)# ip address 172.16.16.17 255.255.255.252
P-1(config-if)# no shutdown
P-1(config-if)# exit
P-1(config)#interface POS3/1
P-1(config-if)# description ** P-1-P-3 STM-1 link **
P-1(config-if)# ip address 172.16.16.14 255.255.255.252
P-1(config-if)# encapsulation ppp
P-1(config-if)# clock source internal
P-1(config-if)# no shutdown
P-1(config-if)# exit
P-1(config)#interface POS3/2
P-1(config-if)# description ** P-1-P-2 STM-1 link **
P-1(config-if)# ip address 172.16.16.1 255.255.255.252
P-1(config-if)# encapsulation ppp
P-1(config-if)# no shutdown
P-1(config-if)#end
P-1#write memory
Building configuration...
[OK]
P-1#

BSNL, India

For Internal Circulation Only

Page: 3

E2-E3/CFA/Router Configuration

Rev date: 01-04-2011

PE-1 Preliminary configuration


User Access Verification
Password:
PE-1>en
Password:
PE-1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
PE-1(config)#interface Loopback0
PE-1(config-if)# description ** PE-1's Loopback 0 Interface **
PE-1(config-if)# ip address 192.168.1.254 255.255.255.255
PE-1(config-if)# no shutdown
PE-1(config-if)# exit
PE-1(config)#interface GigabitEthernet2/1
PE-1(config-if)# description ** PE-1-P-1 GigE link **
PE-1(config-if)# ip address 172.16.16.18 255.255.255.252
PE-1(config-if)# no shutdown
PE-1(config-if)# exit
PE-1(config)# end
PE-1#write memory
Building configuration...
[OK]
PE-1#
Note:- Same configuaration will be followed for other routers.
Verification commands:
#sh running-config
#sh ip interface brief
#sh interface pos 3/1
#sh ip route
Lab Module: 2 (Static /Default Routing)
P-1 Configuration:Syntax: P-1(Config)#ip route <NW No.> <Subnet Mask> <Next Hop Add. | Interface
name>
Eg: P-1(config)#ip route 192.168.4.0 255.255.255.0 POS3/1

BSNL, India

For Internal Circulation Only

Page: 4

E2-E3/CFA/Router Configuration
Next Hop Interface Gi 2/1
Networks to be 192.168.1.0/24
Routed

Rev date: 01-04-2011


POS 3/1
192.168.4.0/24
192.168.5.0/24
172.16.16.24/30

POS 3/2
192.168.2.0/24
192.168.3.0/24
192.168.6.0/24
192.168.7.0/24
172.16.16.20/30
172.16.16.4./30
172.16.16.28/30

PE-1 Configuration:Syntax: PE-1(Config)#ip route <NW No.> <Subnet Mask> <Next Hop Add. | Interface
name>
Eg: PE-1(config)#ip route 192.168.0.0 255.255.255.0 Gi 2/1
Next Hop Interface Gi 2/1
Networks to be 192.168.0.0/24
192.168.2.0/24
Routed
192.168.3.0/24
192.168.4.0/24
192.168.5.0/24
192.168.6.0/24
192.168.7.0/24
172.16.16.0/30
172.16.16.4/30
172.16.16.12/30
172.16.16.20/30
172.16.16.24/30
172.16.16.28/30

POS 3/1

POS 3/2

--

--

OR
PE-1 Configuration:Syntax: PE-1(Config)#ip route <NW No.>
name>
Eg: PE-1(config)# ip route 0.0.0.0 0.0.0.0
Next Hop Interface Gi 2/1
Networks to be 0.0.0.0/0
Routed

BSNL, India

<Subnet Mask> <Next Hop Add. | Interface


Gi 2/1
POS 3/1
--

For Internal Circulation Only

POS 3/2
--

Page: 5

E2-E3/CFA/Router Configuration

Rev date: 01-04-2011

P-2 Configuration:Syntax: P-2(Config)#ip route <NW No.> <Subnet Mask> <Next Hop Add. | Interface
name>
Eg: P-2(config)#ip route 192.168.4.0 255.255.255.0 POS3/1
Next Hop Interface Gi 2/1
Networks to be 192.168.3.0/24
Routed

POS 3/1
192.168.4.0/24
192.168.5.0/24
192.168.6.0/24
192.168.7.0/24
172.16.16.28/30
172.16.16.24/30

POS 3/2
192.168.0.0/24
192.168.1.0/24
172.16.16.16/30
172.16.16.12/30

PE-2 Configuration:Syntax: PE-2(Config)#ip route <NW No.> <Subnet Mask> <Next Hop Add. | Interface
name>
Eg: PE-2(config)#ip route 192.168.0.0 255.255.255.0 Gi 2/1
Next Hop Interface Gi 2/1
Networks to be 192.168.0.0/24
192.168.1.0/24
Routed
192.168.2.0/24
192.168.4.0/24
192.168.5.0/24
192.168.6.0/24
192.168.7.0/24
172.16.16.0/30
172.16.16.4/30
172.16.16.12/30
172.16.16.16/30
172.16.16.24/30
172.16.16.28/30

POS 3/1

POS 3/2

--

--

OR
PE-2 Configuration:Syntax: PE-2(Config)#ip route <NW No.> <Subnet Mask> <Next Hop Add. | Interface
name>

BSNL, India

For Internal Circulation Only

Page: 6

E2-E3/CFA/Router Configuration
Eg: PE-2(config)#ip route 0.0.0.0 0.0.0.0 Gi 2/1
Next Hop Interface Gi 2/1
Networks to be 0.0.0.0/0
Routed

POS 3/1
--

Rev date: 01-04-2011

POS 3/2
--

P-3 Configuration:Syntax: P-3(Config)#ip route <NW No.> <Subnet Mask> <Next Hop Add. | Interface
name>
Eg: P-3(config)#ip route 192.168.0.0 255.255.255.0 POS3/1
Next Hop Interface Gi 2/1
Networks to be 192.168.5.0/24
Routed

POS 3/1
192.168.0.0/24
192.168.1.0/24
192.168.2.0/24
192.168.3.0/24
172.16.16.16/30
172.16.16.0/30
172.16.16.20/30

POS 3/2
192.168.6.0/24
192.168.7.0/24
172.16.16.28/30
172.16.16.4/30

OR
PE-3 Configuration:Syntax: PE-3(Config)#ip route <NW No.> <Subnet Mask> <Next Hop Add. | Interface
name>
Eg: PE-3(config)#ip route 192.168.0.0 255.255.255.0 Gi 2/1

BSNL, India

For Internal Circulation Only

Page: 7

E2-E3/CFA/Router Configuration
Next Hop Interface Gi 2/1
Networks to be 192.168.0.0/24
192.168.1.0/24
Routed
192.168.2.0/24
192.168.3.0/24
192.168.4.0/24
192.168.6.0/24
192.168.7.0/24
172.16.16.0/30
172.16.16.4/30
172.16.16.12/30
172.16.16.16/30
172.16.16.20/30
172.16.16.28/30

Rev date: 01-04-2011


POS 3/1

POS 3/2

--

--

OR
PE-3 Configuration:Syntax: PE-3(Config)#ip route <NW No.> <Subnet Mask> <Next Hop Add. | Interface
name>
Eg: PE-3(config)# ip route 0.0.0.0 0.0.0.0 Gi 2/1
Next Hop Interface Gi 2/1
Networks to be 0.0.0.0/0
Routed

POS 3/1
--

POS 3/2
--

P-4 Configuration:Syntax: P-4(Config)#ip route <NW No.> <Subnet Mask> <Next Hop Add. | Interface
name>
Eg: P-4(config)#ip route 192.168.2.0 255.255.255.0 POS3/1

BSNL, India

For Internal Circulation Only

Page: 8

E2-E3/CFA/Router Configuration
Next Hop Interface Gi 2/1
Networks to be 192.168.7.0/24
Routed

Rev date: 01-04-2011


POS 3/1
192.168.2.0/24
192.168.3.0/24
172.16.16.20/30
172.16.16.0/30

POS 3/2
192.168.0.0/24
192.168.1.0/24
192.168.4.0/24
192.168.5.0/24
172.16.16.24/30
172.16.16.12/30
172.16.16.16/30

OR
PE-4 Configuration:Syntax: PE-4(Config)#ip route <NW No.> <Subnet Mask> <Next Hop Add. | Interface
name>
Eg: PE-4(config)#ip route 192.168.0.0 255.255.255.0 Gi 2/1
Next Hop Interface Gi 2/1
POS 3/1
POS 3/2
OR
PE-4 Configuration:Syntax: PE-4(Config)#ip route <NW No.>
name>
Eg: PE-4(config)# ip route 0.0.0.0 0.0.0.0
Next Hop Interface Gi 2/1
Networks to be 0.0.0.0/0
Routed

<Subnet Mask> <Next Hop Add. | Interface


Gi2/1
POS 3/1
--

POS 3/2
--

Verification commands:
Eg for P-1 Router:
P-1# show running-config
P-1#show ip route
P-1#ping 192.168.1.254
P-1#ping 192.168.2.254
P-1#ping 192.168.3.254
P-1#ping 192.168.4.254
P-1#ping 192.168.5.254
P-1#ping 192.168.6.254
P-1#ping 192.168.7.254
P-1#ping <all Interface addresses

BSNL, India

For Internal Circulation Only

Page: 9

E2-E3/CFA/Router Configuration

Rev date: 01-04-2011

Chapter-13. Router Configuration.


Sample Self study Objective type questions
1. Router can be accessed from remote location by using the protocol_________
a)
Telnet,
b)
FTP,
c)
HTTP,
d)
None of above.
2. Enable command is given on PE-3> prompt for the purpose of ___________
a)
Logout,
b)
Entering into privileged mode of the router,
c)
Interface status checking,
d)
All of the above are correct.
3. The store the data permanently into memory of the Router, we must take before
logging out_________________________________________________
a)
Give command P-1# write memory,
b)
Give command P-1# no shutdown
c)
Give command P-1# exit
d)
All of the above
4. IP route 0.0.0.0 0.0.0.0 Gi 2/1 command configures all routes for _________
a)
b)
c)
d)

Gigabit Ethernet Interface of the router


POS serial interface of the router
POS& Gigabit Ethernet Interfaces both
None of above

5.Command PE-3(config)# ip route 192.168.0.0 255.255.255.0 Gi


indicates_________________________________________________________
a)
b)
c)
d)

BSNL, India

2/1

Networks 192.168.0.0/24 are routed over gigabit Ethernet interface,


Networks 192.168.0.0/30 are routed over POS 2/1 interface,
Networks 192.168.0.0/24 are not routed over gigabit Ethernet interface,
All above

For Internal Circulation Only

Page: 10

Vous aimerez peut-être aussi