Quantcast
Channel: All Routing posts
Viewing all articles
Browse latest Browse all 8688

Disabled interface showing in BGP

$
0
0

Hello Experts,

 

This might be a newbie question!

I have an interface which is administratively disable. But still that interface routes shows in neighbor BGP peer. Here is the config:

 

root@R2> show configuration interfaces lo0disable;
unit 0 {
    family inet {
        address 2.2.2.3/24;
    }
}

root@R2> show configuration protocols bgp
export Test;
group test {
    neighbor 1.1.1.1 {
        peer-as 100;
    }
}

root@R2> show configuration policy-options policy-statement Test
term 1 {
    from {
        route-filter 2.2.2.2/32 address-mask 255.255.255.0;
    }
    then accept;
}
term 2 {
    then reject;
}

root@R2>

Here is the peer route table:

 

root@R1> show route protocol bgp

inet.0: 4 destinations, 5 routes (4 active, 0 holddown, 0 hidden)
+ = Active Route, - = Last Active, * = Both

2.2.2.3/32          [BGP/170] 00:04:31, localpref 222
                      AS path: 200 I
                    > to 1.1.1.2 via em0.0

root@R1>

I'm wondering how the admin down routes are propagated to other peers.


Viewing all articles
Browse latest Browse all 8688

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>