Quantcast
Channel: All Ethernet Switching posts
Viewing all articles
Browse latest Browse all 10307

Re: EX4200 OSPF not working properly

$
0
0

Hi Folks,

Please find the steps to increase the metric. In my setup the default traffic from r2 to r5 is via r3. I will increase the metric between r2-r3 to divert the traffic from r2 via r4 as below.

 

 

r2 lo0.102 192.168.1.102

r3 lo0.103 192.168.1.103

r4 lo0.104 192.168.1.104

r5 lo0.105 192.168.1.105

 

        +-----+                       

   I2.24| R4  | I1.43                 

   +----+ P3  +----+                  

   |    +-----+    |                  

   |               |                  

   |    AS 100     |                  

   |               |              

I1.24              | I2.43            

+--+--+I1.23    +--+--+         +-----+

| R2  +---------+ R3  |I1.35    | R5  +

+ P1  |         | P2  +---------+ PE2 |

+-----+    I2.23+-----+    I2.35+-----+

 

 

r2> show route 192.168.1.105 

 

inet.0: 14 destinations, 14 routes (14 active, 0 holddown, 0 hidden)

+ = Active Route, - = Last Active, * = Both

 

192.168.1.105/32   *[OSPF/10] 01:05:16, metric 2

                    > to 1.1.23.2 via ge-0/0/2.23 <<<< by default metric

  

r2>

 

 

[edit]

r2# set protocols ospf area 0.0.0.0 interface ge-0/0/2.23 metric 100    <<< manipulating the metric        

 

[edit]

r2# commit and-quit

commit complete

Exiting configuration mode

 

r2> show route 192.168.1.105 extensive

 

inet.0: 14 destinations, 15 routes (14 active, 0 holddown, 0 hidden)

192.168.1.105/32 (1 entry, 1 announced)

TSI:

KRT in-kernel 192.168.1.105/32 -> {1.1.24.2}

        *OSPF   Preference: 10

                Next hop type: Router, Next hop index: 1046

                Address: 0x5490af0

                Next-hop reference count: 11

                Next hop: 1.1.24.2 via ge-0/0/2.24, selected <<<< traffic gets diverted

                Session Id: 0x14b

                State: <Active Int>

                Age: 6  Metric: 3

                Validation State: unverified

                Area: 0.0.0.0

                Task: OSPF

                Announcement bits (1): 2-KRT

                AS path: I

 

r2>


Viewing all articles
Browse latest Browse all 10307

Trending Articles