cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1300
Views
10
Helpful
5
Replies

Remove private ASN 4-bytes

Andreseo90
Level 1
Level 1

Hello everyone,

When I use the command "neighbor x.x.x.x remove-private-as" , only the 2-byte private ASNs are removed but not the 4-byte private ASNs. What command should I use to remove 4-byte private ASNs in IOS/IOS-XR?

I know about the workaroud of using 'aggregate' but I would like to know if there is a more specific command on Cisco routers.

Thanks in advance.

Andrés

1 Accepted Solution

Accepted Solutions

Hi @Andreseo90 ,

 

I ran a quick test with IOS-XR 6.6.1 and it removes the 4 octets ASN from the private range as expected.

 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

View solution in original post

5 Replies 5

Harold Ritter
Level 12
Level 12

Hi @Andreseo90 ,

 

I think all recent IOS, IOS-XE, IOS-XR and NX-OS will do that by default. What OS are you running? Are you trying to remove just 1 or multiple ASN?

 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

Andreseo90
Level 1
Level 1

Hola @Harold Ritter ,

Thank you for your response. It is a virtual environment and the image is IOS-XR version 6.5.1 (a bit old).
In my test I have a mix of private AS's from the initial and extended range... only the ones from the initial range are removed.

I checked the document 'BGP reference commands' for version 6.7.x and it only references the initial AS range and not the extended AS range :  "The private autonomous system values range from 64512 to 65535."

 

Regards,

Andrés

 

Hi @Andreseo90 ,

 

I ran a quick test with IOS-XR 6.6.1 and it removes the 4 octets ASN from the private range as expected.

 

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México

@Harold Ritter Thank you very much for taking the time to do a test.
I will download a new version for testing.
Have a great weekend.

Andrés

Have a great weekend Andrés!

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México
Review Cisco Networking for a $25 gift card