D-Link DXS-3600-32S 24-port Top Of Rack 10 Gigabit Managed Switch With Expansion Slot

User Manual - Page 112

For DXS-3600-32S.

PDF File Manual, 695 pages, Read Online | Download pdf file

DXS-3600-32S photo
Loading ...
Loading ...
Loading ...
DXS-3600 Series 10GbE Layer 2/3 Switch CLI Reference Guide
104
7-52 neighbor route-map
This command is used to apply a route map to incoming or outgoing routes. Use the no command to remove the route
map.
neighbor {IP-ADDRESS | PEER-GROUP-NAME} route-map MAP-NAME {in | out}
no neighbor {IP-ADDRESS | PEER-GROUP-NAME} route-map {in | out}
Parameters
Usage Guideline
This command is available for external BGP (eBGP) neighbors only.
When an update is passed to the external neighbor, if the autonomous system path
includes private autonomous system numbers, the software will drop the private
autonomous system numbers except the following conditions:
If the autonomous system path includes both private and public autonomous
system numbers, the software considers this to be a configuration error and
does not remove the private autonomous system numbers.
If the autonomous system path contains the autonomous system number of the
eBGP neighbor, the private autonomous system numbers will not be removed.
If this command is used with confederation, it will work as long as the private
autonomous system numbers follow the confederation portion of the
autonomous path. The private autonomous system values are 64512 to
65535.
Use the show ip bgp neighbors or show ip bgp peer-group command to verify
your settings.
Example
This example shows how to remove the private autonomous system number from
the updates sent to 172.16.1.1. The AS path attribute of the updates advertised by
10.10.10.10 through autonomous system 100 will just contain “10” (as seen by
autonomous system 20).
DXS-3600-32S#configure terminal
DXS-3600-32S(config)#router bgp 10
DXS-3600-32S(config-router)#neighbor 10.10.10.10 remote-as 65530
DXS-3600-32S(config-router)#neighbor 172.16.1.1 remote-as 20
DXS-3600-32S(config-router)#neighbor 172.16.1.1 remove-private-as
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.
MAP-NAME Specifies the name of the route map. The length is up to 16 characters.
in Applies the route-map to the incoming routes.
out Applies the route-map to the outgoing routes.
Default
None.
Command Mode
Router Configuration Mode.
Address Family Configuration Mode (IPv4 Unicast, VPNv4 and VRF).
Command Default Level
Level: 8. (EI Mode Only Command)
Loading ...
Loading ...
Loading ...