DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
91
7-37 neighbor allowas-in
This command is used to enable routers to allow its own AS appearing in the received BGP update packets. To disable
the duplicate AS number, use the no form of this command.
neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} allowas-in [
NUMBER
]
no neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} allowas-in
Parameters
Default
By default, it is 30 seconds for external peers and 5 seconds for internal peers.
Command Mode
Router Configuration Mode.
Address Family Configuration Mode (VRF).
Command Default Level
Level: 8. (
EI Mode Only Command
)
Usage Guideline
If you specify a BGP peer group, by using the
PEER-GROUP-NAME
argument, all
the members of the peer group will inherit the characteristic configured with this
command.
Use the
show ip bgp neighbors
or
show ip bgp peer-group
command to verify
your settings.
Example
This example shows how to set the minimum time interval between sending BGP
routing updates to 15 seconds.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 100
DXS-3600-32S(config-router)#neighbor 10.4.4.4 remote-as 65101
DXS-3600-32S(config-router)#neighbor 10.4.4.4 advertisement-interval 15
DXS-3600-32S(config-router)#
IP-ADDRESS
Specifies the IP address of the BGP peer.
PEER-GROUP-NAME
Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum
length is 16 characters.
NUMBER
(Optional) Specifies the maximum number of local AS to allow appearing in the AS-
path attribute of the update packets. The value is from 1 to 10. If no number is
supplied, the default value of 3 times is used.
Default
By default, this option is disabled.
Command Mode
Router Configuration Mode.
Address Family Configuration Mode (IPv4 Unicast, VPNv4 and VRF).
Command Default Level
Level: 8. (
EI Mode Only Command
)
Usage Guideline
The BGP router will do AS path loop checks for the received BGP update packets. If
the BGP router’s own AS appears in the AS path list, it is identified as a loop and the
packets will be discarded. If the allowas-in setting is enabled, the BGP router’s own
AS is allowed in the AS path list.
Use the
show ip bgp neighbors
or
show ip bgp peer-group
command to verify
your settings.
Example
This example shows how to set the number of times of the local router’s own AS to
allow appearing in the update packets received from the neighbor 100.16.5.4 to 5.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 100
DXS-3600-32S(config-router)#neighbor 100.16.5.4 remote-as 65101
DXS-3600-32S(config-router)#neighbor 100.16.5.4 allowas-in 5
DXS-3600-32S(config-router)#
Содержание DXS-3600-16S
Страница 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Страница 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Страница 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Страница 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Страница 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Страница 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Страница 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...