D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
347
config route_map sequence set
Parameters
<map_name 16> - The route map name.
<value 1-65535> - Specifies the sequence number for the rule.
This is the number that indicates the position a new route map will have in the list of route
maps already configured with the same name. Default: 10.
set next_hop - Set the next hop attribute.
This will take effect for both the ingress and egress direction.
When set next_hop to peer address, for ingress direction, the next hop will be set to the
neighbor peer address. For egress direction, the next hop associated with the route in the
packet will be the neighbor peer address.
set metric - Specifies to set the metric.
BGP router will not send metrics associated with a route by default unless the metric is
egress set in the route map.
If BGP route receive a route with a metric, then this metric will be used in best path selection.
This can be overwritten by the metric that is ingress set for the route. If the received route
has neither metric attribute nor metric ingress metric set, then the default metric (0) will be
associated with the route for the best path selection. If med-missing-as-worst is enabled for
the router, then a value of infinite will be associated with the route.
This will take effect for both ingress and egress direction.
set local_preference - Specifies to set the local preference for the matched route. By default,
BGP router will send the default local preference with the routes. It can be overwritten by the
local preference set by the route map. For the received route, the local preference sent with
the route will be used in the best path selection. This local preference will be overwritten if
local preference is ingress set by the route map.
For the local routes, the default local preference will be used for them in the best path
selection.
This will take effect for both ingress and egress direction.
set weight - Set the weight for the matched routes.
It will overwrite the weight specified by the neighbor weight command for the routes received
from the neighbor.
If weight is neither specified by the neighbor weight command nor set by the route map, then
routes learned through another BGP peer have a default weight of 0.
The weight of local routes is always 32768.
This will only take effect for ingress egress direction.
set as_path - Specifies an AS path list which is used to prepend the AS list. A format
example is:100, 200, 300.
set community - Specifies a community to be used or to be appended to the original
communities of the route.
internet - Routes with this community will be sent to all peers either internal or external.
local_as - Routes with this community will be sent to peers in the same AS, but will not be
sent to peers in other sub ASs in the same confederation and to the external peers.
no_advertise - Routes with this community will not be advertised to any peer either internal or
external.
no_export - Routes with this community will be sent to peers in the same AS or in other sub
autonomous systems within a confederation, but will not be sent to an external BGP (eBGP)
peer.
<community_set 80> - A community is 4 bytes long, including the 2 byte’s autonomous
system number and 2 bytes’ network number This value is configured with two 2-byte
numbers separated by a colon. The valid range of both numbers is from 1 to 65535.
A community list can be formed by multiple communities, separated by comma.
An example of a community string is 200:1024, 300:1025, 400:1026.
additive - If this keyword is specified, the specified community string will be appended to the
original community string.
If not specified, the specified community string will replace the original community string.
set origin - Set the origin for the route. It can be one of the following three values, EGP, IGP,