DGS-6604
m
neighbor route-map
CLI Reference Guide
450
neighbor route-map
Use this command to apply a route map to incoming or outgoing routes. Use the
no form of the command to remove the route map.
neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} route-map
MAP-NAME
{out }
no neighbor {
IP-ADDRESS
|
PEER-GROUP-NAME
} route-map
MAP-NAME
{out}
Default
None
Command Mode
Address family configuration
Router configuration
Usage Guideline
When issued in address family configuration mode, this command applies a
route map to that particular address family only. When issued in router
configuration mode, this command applies a route map to IP Version 4 unicast
routes only.
If an outbound route map is specified, it is proper behavior to only advertise
routes that match at least one section of the route map.
When a BGP peer group is specified using the
PEER-GROUP-NAME
argument,
all the members of the peer group inherit the characteristic configured with this
command. Specifying the command for a neighbor overrides the inbound policy
that is inherited from the peer group.
Example
The following example in router configuration mode applies a route map named
internal-map to a BGP outgoing route from 172.16.70.24:
Verify the settings by entering the
show ip bgp neighbor
command.
Syntax Description
IP-ADDRESS
Specifies IP address prefixes.
PEER-GROUP-NAME
Name of a Border Gateway Protocol (BGP) peer group.
MAP-NAME
Name of the route map.
out
Applies the route-map to the outgoing routes.
Switch(config)#router bgp 5
Switch(config)#neighbor 172.16.70.24 route-map internal-map out
Switch(config)#route-map internal-map permit 10
Switch(config-route-map)#match as-path 1
Switch(config-route-map)#set origin incomplete
Swtich(config-route-map)#end
Switch(config)#
Summary of Contents for DGS-6600-48TS
Page 1: ...0 9 3...