Search this Blog

Tuesday, November 12, 2013

'bgp bestpath as-path ignore' in ASR 1006

Want to configure BGP to ignore as-path for best path selection in  ASR 1006 router . But in BGP configuration mode, It is not listing as-path option. It is showing as unrecognized command.

RTR1(config-router)#bgp bestpath ?
  compare-routerid  Compare router-id for identical EBGP paths
  cost-community    cost community
  igp-metric        igp metric
  med               MED attribute
  prefix-validate   Prefix origin validation


RTR1(config-router)#


IOS version details are as follows:
RTR1#sh ver
Cisco IOS Software, IOS-XE Software (X86_64_LINUX_IOSD-ADVENTERPRISEK9-M), Version 15.2(4)
S, RELEASE SOFTWARE (fc4)
Copyright (c) 1986-2012 by Cisco Systems, Inc.
Compiled Mon 23-Jul-12 20:02 by mcpre


IOS XE Version: 03.07.00.S


Cisco IOS-XE software, Copyright (c) 2005-2012 by cisco Systems, Inc.
All rights reserved.  Certain components of Cisco IOS-XE software are
licensed under the GNU General Public License ("GPL") Version 2.0.  The
software code licensed under GPL Version 2.0 is free software that comes
with ABSOLUTELY NO WARRANTY.  You can redistribute and/or modify such
GPL code under the terms of GPL Version 2.0.  For more details, see the
documentation or "License Notice" file accompanying the IOS-XE software,
or the applicable URL provided on the flyer accompanying the IOS-XE
software.




ROM: IOS-XE ROMMON


RTR1 uptime is 31 weeks, 17 hours, 51 minutes
Uptime for this control processor is 31 weeks, 17 hours, 53 minutes
System returned to ROM by reload
System restarted at 23:29:29 IST Sat Apr 6 2013
System image file is "bootflash:/asr1000rp2-adventerprisek9.03.07.00.S.152-4.S.bin"
Last reload reason: PowerOn

The command may be hidden but perhaps it can be accepted if you type it in in its entirety. See here, this is a 2691 12.4(15)T13 IOS:

R1(config)#router bgp 1
R1(config-router)#bgp bestpath ?
  compare-routerid  Compare router-id for identical EBGP paths
  cost-community    cost community
  med               MED attribute

R1(config-router)#bgp bestpath as-path ?
% Unrecognized command
R1(config-router)#bgp bestpath as-path ignore ?
% Unrecognized command
R1(config-router)#bgp bestpath as-path ignore
R1(config-router)#do show run | sec router bgp
router bgp 1
 no synchronization
 bgp log-neighbor-changes
 bgp bestpath as-path ignore
 no auto-summary

Some commands may be hidden in the IOS if their use is generally discouraged and not meant to be used by common customers but only by TAC engineers to circumvent certain problems or modify a protocol's operation in a way that can make its behavior strongly divergent from the standard. No one is going to take any responsibility for what happens if you use hidden or undocumented commands - and that is why Cisco does not want them to be generally known. It is for both our and Cisco's protection.

There are numerous lists of undocumented IOS commands, e.g.:


You could certainly use Google to find other similar lists.
  
Citation - This blog post does not reflect original content from the author. Rather it summarizes content that are relevant to the topic from different sources in the web. The sources might include any online discussion boards, forums, websites and others.

No comments :

Post a Comment

 
/* Google Analytics begin ----------------------------------------------- */ /* Google Analytics end ----------------------------------------------- */