Pete's Packet

Limitless

  • Catagories

  • Global visitors

    free counters
  • RSS CCIE Jobs – Metro NY area

    • Sr. Network Engineer Cisco - Somerset NJ or Jersey City
      Confidential Company Somerset, NJJob description: ...industry knowledge* Excellent communication and interpersonal skills* Excellent customer presentation skills** Cisco Certifications preferred (CCNA, CCNP,CCIE).We are committed to a policy of Equal Employment opportunity and will not discriminate on any legally...
    • Architect
      Tekmark Global Solutions LLC New York, NYJob description: ...6) Visio drawings 7) Voice/data convergence 8) Data center design 9) Firewalls/security 10) CCIE Written Roles and Responsibilities: -Provide Network Architectural direction to various client outsourced customer accounts-Works with...
    • Wide Area Network Administrator
    • Senior CISCO Engineer
      Diverse Lynx Llc Union, NJ

Archive for April 6th, 2009

Notes from Narbik’s BGP labs 6- 10

Posted by Peter Kurdziel on April 6, 2009

shortest as-path is preferred. You can manipulate the

path by prepending as’s making the as-path longer and

therefore less preferred.

*>i11.0.0.0         10.1.12.1                0    100

0 100 i
*                   10.1.14.1                0

0 100 100 100 100 100 i

weight
apply in – affects outbound routes

local- preff
apply in – affects outbound routes – higher is better -

this is used to prefer and exit point from the local AS.

as-path
apply out – affects inbound routes – shortest path is

preferred.

med
apply out – affects inbound routes – lower value is

preferred. This is used as a suggestion to an external

AS regarding the preferred route into the As that is

advertising the metric. Don’t forget that the MED can be

overwritten by weight or local pref. same AS

Why laugh at me coming in to go out.

lab10 task7

R1(config-router)#bgp always-compare-med <- this command

forces the router to compare all path, regardless of AS
!

R1(config-router)#bgp bestpath as-path ignore < –

hidden dangerous command. This command was needed also

because as-path and origin attributes are looked at

before the MED.

lab 10 task 8
R1(config-router)#bgp bestpath med missing-as-worst  <– any path with no MED value will be treated as the worst path.

Posted in Routing & Switching Lab | Leave a Comment »

How to establish a neighbor relationship with different ip address where there are redundant links to each router.

Posted by Peter Kurdziel on April 6, 2009

Topology 

r1 f1/0 <> r2 f1/0

r1 s1/1 <> r2 s1/1

 

r1

int f1/0
ip add 15.0.0.1 255.0.0.0
int s1/1
ip add 50.0.0.1 255.0.0.0
router bgp 1 
nei 15.0.0.2 remote-as 1
nei 15.0.0.2 update-source s1/1

 

r2

int f1/0
ip add 15.0.0.2 255.0.0.0
int s1/1 
ip add 50.0.0.2 255.0.0.0
router bgp 1
nei 50.0.0.1 remote-as 1

r1

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd

31.0.0.1        4     1       8       8        1    0    0 00:04:44        0

 

r2

Neighbor        V    AS MsgRcvd MsgSent   TblVer  InQ OutQ Up/Down  State/PfxRcd

31.0.0.1        4     1       8       8        1    0    0 00:04:28        0

 

Since 15.0.0.x and 50.0.0.x do not match BGP will not peer with each other, unless you use the update-source command.

Posted in BGP, Routing & Switching Lab | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.