You are on page 1of 2

PRACTICAL: 03 USING AS_PATH ATTRIBUTE

• Place three c2691 routers


• Configure the first slot of all three routers to NM-4T
• Connect R1 to R3 using the port S0/0
• Connect R1 to R2 using the port S1/1
• Label R1 as ISP, R2 as NYC and R3 as Customer
• R2 Console:
conf t
hostname NYC
int lo0
ip add 10.1.1.1 255.255.255.0
int s1/1
ip add 192.168.1.5 255.255.255.0
no sh

• R1 Console:
conf t
hostname ISP
int lo0
ip add 10.2.2.1 255.255.255.0
int s1/1
ip add 192.168.1.6 255.255.255.0
no sh
int s1/0
ip add 172.24.1.6 255.255.255.0
no sh

• R3 Console:
conf t
hostname cust1
int lo0
ip add 10.3.3.1 255.255.255.0
int s1/0
ip add 172.24.1.5 255.255.255.0
no sh

• R2 Console:
router bgp 100
neighbor 192.168.1.6 remote-as 300
do sh ip int br
network 10.1.1.0 mask 255.255.255.0

• R1 Console:
router bgp 300
neighbor 192.168.1.5 remote-as 100
neighbor 172.24.1.5 remote-as 65000
network 10.2.2.0 mask 255.255.255.0

PK
• R3 Console:
router bgp 65000
neighbor 172.24.1.6 remote-as 300
network 10.3.3.0 mask 255.255.255.0

• R2 Console:
do sh ip bgp summary

• R1 Console:
do sh ip bgp summary

• R2 Console:
do sh ip route

• R3 Console:
do sh ip route
do sh ip bgp

• R2 Console:
do sh ip bgp

• R1 Console:
router bgp 300
neighbor 192.168.1.5 remove-private-as
do clear ip bgp *

PK

You might also like