User Manual

Table Of Contents
NETGEAR M4500 Series Switches CLI Command Reference Manual 736
Default No match criteria are defined by default
Mode Route Map Config
6.9.2.12. match mac-list
Use this command to configure a route map in order to match based on the match criteria configured in an MAC
access-list.
A MAC ACL is configured before it is linked to a route-map. Actions present in MAC ACL configuration are
applied with other actions involved in route-map. When a MAC ACL referenced by a route-map is removed, the
route-map rule is also removed and the corresponding rule is not effective. When a MAC ACL referenced by a
route-map is removed or rules are added or deleted from that ACL, the configuration is rejected.
To delete a match statement from a route map, use the no form of this command.
Format match mac-list <mac-list-name> [mac-list-name]
no match mac-list <mac-list-name> [mac-list-name]
Default No match criteria are defined by default
Mode Route Map Config
6.9.2.13. set as-path
To prepend one or more AS numbers to the AS path in a BGP route, use the set as-path command in Route Map
Configuration mode. This command is normally used to insert one or more instances of the local AS number at
the beginning of the AS_PATH attribute of a BGP route. Doing so increases the AS path length of the route. The
AS path length has a strong influence on BGP route selection. Changing the AS path length can influence route
selection on the local router or on routers to which the route is advertised.
When prepending an inbound route, if the first segment in the AS_PATH of the received route is an
AS_SEQUENCE, as-path-string is inserted at the beginning of the sequence. If the first segment is an AS_SET, as-
path-string is added as a new segment with type AS_SEQUENCE at the beginning of the AS path. When
prepending an outbound route to an external peer, as-path-string follows the local AS number, which is always
the first ASN.
To remove a set command from a route map, use the no form of this command.
Format set as-path prepend <as-path-string>
no set as-path prepend
Fields
Definition
mac-list-name
The mac-list name that identifies MAC ACLs. MAC Access-list name can be up to
31 characters in length.
Fields
Definition
as-path-string
A list of AS path numbers to insert at the beginning of the AS_PATH attribute of
matching BGP routes. To prepend more than one AS number, separate the ASNs