D-Link DXS-3600-EM-8XS CLI Guide - Page 99
neighbor allowas-in
View all D-Link DXS-3600-EM-8XS manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 99 highlights
DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide Default Command Mode Command Default Level Usage Guideline By default, it is 30 seconds for external peers and 5 seconds for internal peers. Router Configuration Mode. Address Family Configuration Mode (VRF). Level: 8. (EI Mode Only Command) 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)# 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 IP-ADDRESS PEER-GROUP-NAME NUMBER Specifies the IP address of the BGP peer. Specifies the name of a Border Gateway Protocol (BGP) peer group. The maximum length is 16 characters. (Optional) Specifies the maximum number of local AS to allow appearing in the ASpath 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 Command Mode Command Default Level Usage Guideline By default, this option is disabled. Router Configuration Mode. Address Family Configuration Mode (IPv4 Unicast, VPNv4 and VRF). Level: 8. (EI Mode Only Command) 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)# 91