DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
92
7-38 neighbor as-override
This command is used to enable to override the AS number of a site with the provider’s AS number on a PE router. Use
the
no
form of the command to disable this function.
neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} as-override
no neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} as-override
Parameters
7-39 neighbor capability orf prefix-list
This command is used to advertise outbound router filter (ORF) capabilities to a peer or a peer group. Use the no form
of this command to disable ORF capabilities.
neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} capability orf prefix-list {receive | send | both}
no neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} capability orf prefix-list {receive | send | both}
Example
This example shows how to set the ‘allowas-in’ value to 3 without the
NUMBER
parameter.
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
DXS-3600-32S(config-router)#
IP-ADDRESS
Specifies the address of the peer.
PEER-GROUP-NAME
Specifies the name of the peer group,
Default
Disabled.
Command Mode
Address Family Configuration (VRF).
Command Default Level
Level: 8. (
EI Mode Only Command
)
Usage Guideline
This command is used to prevent routing loops between routers within a VPN.
In the VPN, the most typical application lies in that the two CE ends have the same
AS number. Normally, these two CE routers can’t receive the other from the other
party, because the BGP protocol will not receive the route information with the same
AS number in AS path attribute as the AS of BGP instance itself. After the above
command is configured on the PE router, you can let the PE replace the AS number
of the CE to AS number of PE self, so that the CE from the other end can receive the
route information. Only set this function for the EBGP peer.
Use the
show ip bgp neighbors
or
show ip bgp peer-group
command to verify
your settings.
Example
This example shows how to enable AS override flag of BGP peer 3.3.3.3 in VRF
vpn1
.
DXS-3600-32S#configure terminal
DXS-3600-32S(config)# router bgp 10
DXS-3600-32S(config-router)# address-family ipv4 vrf vpn1
DXS-3600-32S(config-router-af)# neighbor 3.3.3.3 remote-as 20
DXS-3600-32S(config-router-af)# neighbor 3.3.3.3 as-override
Summary of Contents for DXS-3600-16S
Page 1: ...CLI Reference Guide Product Model DXS 3600 Series Layer 2 3 Managed 10GbE Switch Release 1 10 ...
Page 232: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 224 ...
Page 301: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 293 ...
Page 349: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 341 ...
Page 494: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 486 ...
Page 564: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 556 ...
Page 649: ...DXS 3600 Series 10GbE Layer 2 3 Switch CLI Reference Guide 641 ...