Reference 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.
NOTE: To congure these settings for a non default VRF instance, you must rst 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
as-notation
Changes the AS number notation format (requires four-octet-assupport).
Syntax
as-format {asdot | asdot+ | asplain}
326 Layer 3