Ethernet Technology - mptender.bsnl.co.in
Transcript of Ethernet Technology - mptender.bsnl.co.in
For BSNL internal circulation only
E2-E3
Consumer Fixed Access
Router Configuration
For BSNL internal circulation only
WELCOME
This is a presentation for the E2-E3
Consumer Fixed Access Module for the
Topic: Router Configuration
Eligibility: Those who have got the
Upgradation from E2 to E3.
This presentation is last updated on 15-3-
2011.
You can also visit the Digital library of BSNL
to see this topic.
For BSNL internal circulation only
Outline of Presentation
Introduction
How to access your router from your PC
Lab Module 1 (Preliminary Configuration)
Lab Module 2 (Static / Default Routing)
Verification Commands
Discussion and Conclusion
For BSNL internal circulation only
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>
For BSNL internal circulation only
Enter the enable command and the enable password as shown in the
following table
PE-3>enable
Password:xxxxx
PE-3#
How to access your router from your
PC
For BSNL internal circulation only
Details of Routers at ALTTC
Hostname
of the
Router
Telnet command from
C:\> prompt
Telnet Enable
P-1 telnet 210.212.90.11 2001 alttc alttc
P-2 telnet 210.212.90.11 2002 alttc alttc
P-3 telnet 210.212.90.11 2003 alttc alttc
P-4 telnet 210.212.90.11 2004 alttc alttc
PE-1 telnet 210.212.90.11 2005 alttc alttc
PE-2 telnet 210.212.90.11 2006 alttc alttc
PE-3 telnet 210.212.90.11 2007 alttc alttc
PE-4 telnet 210.212.90.11 2008 alttc alttc
For BSNL internal circulation only
Lab Module 1
(Preliminary Configuration)
P-1 Preliminary Configuration
User Access Verification
Password:xxxxx
P-1>en
Password:xxxxx
P-1#conf t
Enter Configuration commands
End with Ctrl + Z
For BSNL internal circulation only
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 GigabitEthernet 2/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
Lab Module 1
(Preliminary Configuration)
For BSNL internal circulation only
P-1(Config)# interface POS 3/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
Lab Module 1
(Preliminary Configuration)
For BSNL internal circulation only
P-1(Config)# interface POS 3/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#
Lab Module 1
(Preliminary Configuration)
For BSNL internal circulation only
PE-1 Preliminary Configuration
User Access Verification
Password:xxxxx
PE-1>en
Password:xxxxx
PE-1# conf t
Enter Configuration commands
End with Ctrl + Z
For BSNL internal circulation only
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 GigabitEthernet 2/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 Preliminary Configuration
For BSNL internal circulation only
PE-1(Config) # end
PE-1 # write memory
Building Configuration……
[OK]
PE-1 #
Note : Same Configuration will be followed for other routers
PE-1 Preliminary Configuration
For BSNL internal circulation only
Verification Commands
# sh running-config
# sh ip interface brief
# sh interface pos 3/1
# sh ip route
PE-1 Preliminary Configuration
For BSNL internal circulation only
Lab Module 2(Static/Default Routing)
P-1 Configuration :-
Syntax
P-1(Config) # ip route < NW No.> <Subnet Mask > <Next Hop Add. | Interface name >
Example
P-1(Config) # ip route 192.168.4.0 255.255.255.0 POS3/1
For BSNL internal circulation only
Lab Module 2(Static/Default Routing)
Next Hop
Interface
Gi 2/1 POS 3/1 POS 3/2
Networks
to be
Routed
192.168.1.0/24 192.168.4.0/24
192.168.5.0/24
172.16.16.24/30
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
For BSNL internal circulation only
PE-1 Configuration :-
Syntax
PE-1(Config) # ip route < NW No.> <Subnet Mask > <Next Hop Add. | Interface name >
Example
PE-1(Config) # ip route 192.168.0.0 255.255.255.0 Gi 2/1
Lab Module 2(Static/Default Routing)
For BSNL internal circulation only
Lab Module 2(Static/Default Routing)
Next Hop Interface Gi 2/1 POS 3/1 POS 3/2
Networks to be Routed 192.168.0.0/24
192.168.2.0/24
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
For BSNL internal circulation only
OR
PE-1 Configuration :-
PE-1(Config) # ip route < NW No.> <Subnet Mask > <Next Hop Add. | Interface name >
Example
PE-1(Config) # ip route 0.0.0.0 0.0.0.0 Gi 2/1
Lab Module 2(Static/Default Routing)
Next Hop
Interface
Gi 2/1 POS 3/1 POS 3/2
Networks to be Routed
0.0.0.0/0 --- ---
For BSNL internal circulation only
P-2 Configuration
Syntax
P-2(Config)# ip route <NW No.> <Subnet Mask> < Next Hop Add. | Interface name>
Example
P-2(Config)# ip route 192.168.4.0 255.255.255.0 POS 3/1
For BSNL internal circulation only
Next Hop
Interface
Gi 2/1 POS 3/1 POS 3/2
Networks
to be
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.28/30
172.16.16.24/30
192.168.0.0/24
192.168.1.0/24
172.16.16.16/30
172.16.16.12/30
P-2 Configuration
For BSNL internal circulation only
PE - 2 Configuration
Syntax
PE-2(Config) # ip route <NW No.> <Subnet Mask> < Next Hop Add. | Interface name>
Example
PE-2(Config) # ip route 192.168.0.0 255.255.255.0 POS 3/1
For BSNL internal circulation only
PE - 2 Configuration
Next Hop Interface Gi 2/1 POS 3/1 POS 3/2
Networks to be Routed 192.168.0.0/24
192.168.1.0/24
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
For BSNL internal circulation only
OR
Syntax
PE-2(Config) # ip route <NW No.> <Subnet Mask> < Next Hop Add. | Interface name>
Example
PE-2(Config) # ip route 0.0.0.0 0.0.0.0 Gi 2/1
PE - 2 Configuration
Next Hop
Interface
Gi 2/1 POS 3/1 POS 3/2
Networks to be
Routed
0.0.0.0/0 --- ---
For BSNL internal circulation only
Syntax
P-3(Config) # ip route <NW No.> <Subnet Mask> < Next Hop Add | Interface name>
Example
P-3(Config) # ip route 192.168.0.0 255.255.255.0 POS 3/1
P - 3 Configuration
For BSNL internal circulation only
Next Hop
Interface
Gi 2/1 POS 3/1 POS 3/2
Networks to
be Routed
192.168.5.0/24 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
192.168.6.0/24
192.168.7.0/24
172.16.16.28/30
172.16.16.4/30
P - 3 Configuration
For BSNL internal circulation only
PE - 3 Configuration
Syntax
PE-3(Config) # ip route <NW No.> <Subnet Mask> < Next Hop Add. | Interface name>
Example
PE-3(Config) # ip route 192.168.0.0 255.255.255.0 Gi 2/1
For BSNL internal circulation only
PE - 3 Configuration
Next Hop Interface Gi 2/1 POS 3/1 POS 3/2
Networks to be Routed 192.168.0.0/24
192.168.1.0/24
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
For BSNL internal circulation only
OR
Syntax
PE-3(Config) # ip route <NW No.> <Subnet Mask> < Next Hop Add. | Interface name>
Example
PE-3(Config) # ip route 0.0.0.0 0.0.0.0 Gi 2/1
PE - 3 Configuration
Next Hop
Interface
Gi 2/1 POS 3/1 POS 3/2
Networks to be
Routed
0.0.0.0/0 --- ---
For BSNL internal circulation only
P - 4 Configuration
Syntax
P-4(Config) # ip route <NW No.> <Subnet Mask> < Next Hop Add. | Interface name>
Example
P-4(Config) # ip route 192.168.0.0 255.255.255.0 POS 3/1
For BSNL internal circulation only
P - 4 Configuration
Next Hop
Interface
Gi 2/1 POS 3/1 POS 3/2
Networks to
be Routed
192.168.7.0/24 192.168.2.0/24
192.168.3.0/24
172.16.16.0/30
172.16.16.20/30
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
For BSNL internal circulation only
PE - 4 Configuration
Syntax
PE-4(Config) # ip route <NW No.> <Subnet Mask> < Next Hop Add. | Interface name>
Example
PE-4(Config) # ip route 192.168.0.0 255.255.255.0 Gi 2/1
For BSNL internal circulation only
PE - 4 Configuration
Next Hop Interface Gi 2/1 POS 3/1 POS 3/2
Networks to be Routed 192.168.0.0/24
192.168.1.0/24
192.168.2.0/24
192.168.3.0/24
192.168.4.0/24
192.168.5.0/24
192.168.6.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.24/30
--- ---
For BSNL internal circulation only
PE - 4 Configuration
Syntax
PE-4(Config) # ip route <NW No.> <Subnet Mask> < Next Hop Add. | Interface name>
Example
PE-4(Config) # ip route 0.0.0.0 0.0.0.0 Gi 2/1
Next Hop
Interface
Gi 2/1 POS 3/1 POS 3/2
Networks to be Routed
0.0.0.0/0 --- ---
For BSNL internal circulation only
Verification Commands
Ex. For P-1 Router
P-1 # sh running-config
P-1 # sh 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>
For BSNL internal circulation only