cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2102
Views
5
Helpful
3
Replies

Show ip bgp regexp

Roel Reyes
Level 1
Level 1

Hi, 

 

 

I cant find any explantion on internet, 

 

why there are routes which has no Cidr on "show ip bgp regexp ^xxxx$" 

 

*> 2xx.xx.2x9.0                 2xx.xx.x9.6x        100    0   12345 i               <<<<<<<<<<<<<<< no cidr
*> 2xx.xx.3x.0/19              2xx.xx.x9.6x         100    0   12345 i
*> 2xx.xx.4x.0/22              2xx.xx.x9.6x         100    0   12345 ?
*> 2xx.xx.1x8.0/20            2xx.xx.x9.6x         100    0     12345 i
*> 2xx.xx.1x8.0                 2xx.xx.x9.6x          100    0   12345 ?             <<<<<<<<<<<<<<<< no cidr
*> 2xx.xx.1x0.0/19            2xx.xx.x9.6x           100    0   12345 i

 

Thanks all, 

 

 

3 Replies 3

Hi Roel,

Those routes are classful routes; that is, Class A with /8 mask, Class B with /16 mask, and Class C with /24 mask. In your case, it is a Class C network with 2xx.xx.1x8.0/24. As a result, it shows only 2xx.xx.1x8.0.


HTH,
Meheretab
HTH,
Meheretab

oh i see,

Thats why i see these with CIDR because they are not on their classful network right?

*> 1xx.2xx.41.0/24 2xx.xx9.29.65 110 0 1234 i
*> 1xx.2xx.228.0/22 2xx.xx9.29.65 110 0 1234 i
*> 1xx.2xx.131.0/24 2xx.xx9.29.65 110 0 1234 i
*> 1xx.2xx.0.0/18 2xx.xx9.29.65 110 0 1234 i
*> 1xx.2xx.0.0/16 2xx.xx9.29.65 110 0 1234 i
*> 1xx.2xx.0.0/14 2xx.xx9.29.65 110 0 1234 i

Yes, that is correct.
All of the above addresses looks like Class B addresses; in your case, 1xy is class B if x<9 (Generally speaking).

HTH,
Meheretab
HTH,
Meheretab
Review Cisco Networking for a $25 gift card