D-Link DGS-6608 — руководство по применению маршрутизаторов и маршрутов [527/1106]

Превью страниц Страница 527 / 1106
D-Link DGS-6608 [527/1106] Usage guideline
DGS-6600 Series Switch m neighbor route-map
CLI Reference Guide
517
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 {in | out}
no neighbor {IP-ADDRESS | PEER-GROUP-NAME} route-map MAP-NAME {in | 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.
in Applies the route-map to the incoming routes.
out Applies the route-map to the outgoing routes.
Switch(config)#router bgp 5
Switch(config-router)#neighbor 172.16.70.24 route-map internal-map out
Switch(config-router)#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)#

Содержание

4839

Узнайте, как применять маршруты и маршрутизаторы с помощью командной строки. Подробные инструкции и примеры использования для настройки маршрутов.