Users Guide
allowas-in
Sets the number of times a local AS number appears in the AS path.
Syntax
allowas-in as-number
Parameters as-number—Enter the number of occurrences for a local AS number, from 1 to 10.
Default Disabled
Command Mode ROUTER-BPG-TEMPLATE-AF
Usage Information Use this command to enable the BGP speaker to allow the AS number to be present for the specied number of
times in updates received from the peer. You cannot set this conguration for a peer associated with a peer group.
You cannot associate a peer to a peer group that is already congured with an AS number. The no version of this
command resets the value to the default.
Example ((IPv4)
OS10(conf-router-template)# address-family ipv4 unicast
OS10(conf-router-bgp-template-af)# allowas-in 5
Example (IPv6)
OS10(conf-router-template)# address-family ipv6 unicast
OS10(conf-router-bgp-template-af)# allowas-in 5
Supported Releases 10.3.0E or later
always-compare-med
Compares MULTI_EXIT_DISC (MED) attributes in the paths received from dierent neighbors.
Syntax
always-compare-med
Parameters None
Default Disabled
Command Mode ROUTER-BGP
Usage Information After you use this command, use the clear ip bgp * command to recompute the best path. The no version
of this command resets the value to the default.
Example
OS10(conf-router-bgp-10)# always-compare-med
Supported Releases 10.2.0E or later
bestpath as-path
Congures the AS path selection criteria for best path computation.
Syntax
bestpath as-path {ignore | mutlipath-relax}
Parameters
• ignore — Enter to ignore the AS PATH in BGP best path calculations.
• mutlipath-relax — Enter to include prexes received from dierent AS paths during multipath
calculation.
Default Enabled
Layer 3 301