Reference Guide

Table Of Contents
not add the as-set parameter to the aggregate because the aggregate flaps to track changes in the
AS_PATH. The no version of this command disables the aggregate-address configuration.
Example
OS10(conf-router-bgpv4-af)# aggregate-address 6.1.0.0/16 summary-only
Supported
Releases
10.3.0E or later
allowas-in
Sets the number of times a local AS number appears in the AS path.
Syntax
allowas-in as-number
Parameters as-numberEnter 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 specified
number of times in updates received from the peer. You cannot set this configuration for a peer
associated with a peer group. You cannot associate a peer to a peer group that is already configured
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 different 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.
NOTE: To configure these settings for a non default VRF instance, you must first enter the
ROUTER-CONFIG-VRF sub mode using the following commands:
1. Enter the ROUTER BGP mode using the router bgp as-number command.
2. From the ROUTER BGP mode, enter the ROUTER BGP VRF mode using the vrf vrf-name
command.
Example
OS10(conf-router-bgp-10)# always-compare-med
Supported
Releases
10.2.0E or later
Layer 3 309