Reference Guide

Table Of Contents
Parameter Description
mac-list-name The mac-list name that identifies MAC ACLs. MAC Access-list name can be up to 31
characters in length.
The following is an example of the command.
(Extreme 220) (config-route-map)# match mac-list MacList1
Example 2:
This example illustrates the scenario where MAC ACL referenced by a route-map is removed
or rules are added or deleted from that ACL, this is how configuration is rejected:
(Extreme 220) (Routing) #show mac access-lists
Current number of all ACLs: 9 Maximum number of all ACLs: 100
MAC ACL Name Rules Direction Interface(s) VLAN(s)
------------------------------- ----- --------- ---------------- ----------
madan 1
mohan 1
goud 1
(Extreme 220) (Routing) #
(Extreme 220) (Routing) #
(Extreme 220) (Routing) #configure
(Extreme 220) (Config) #route-map madan
(Extreme 220) (route-map)#match mac-list madan mohan goud
(Extreme 220) (route-map)#exit
(Extreme 220) (Config) #exit
(Extreme 220) (Routing) #show route-map
route-map madan permit 10
Match clauses:
mac-list (access-lists) : madan mohan goud
Set clauses:
(Extreme 220) (Config) #mac access-list extended madan
(Extreme 220) (Config-mac-access-list)#permit 00:00:00:00:00:01 ff:ff:ff:ff:ff:ff any
Request denied. Another application using this ACL restricts the number of rules allowed.
no match mac-list
To delete a match statement from a route map, use the no form of this command.
Format
no match mac-list […mac-list-name]
Mode Route Map Configuration
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.
Routing Commands
ExtremeSwitching 200 Series: Command Reference Guide for version 01 .02.04.0007 541