![Enterasys X-Pedition XSR Cli Reference Manual Download Page 307](http://html1.mh-extra.com/html/enterasys/x-pedition-xsr/x-pedition-xsr_cli-reference-manual_2414758307.webp)
Route Map Commands
XSR CLI Reference Guide 6-111
Syntax of the “no” Form
The
no
form
of
this
command
removes
the
patch
list
number:
no match as-path
path-list-number
Mode
Route
‐
map
configuration:
XSR(config-route-map)#
Example
This
example
sets
the
match
as
‐
path
in
the
context
of
configuring
a
route
map
and
as
‐
path
ACL
33
.
XSR(config)#route-map 1 permit 1
XSR(config-route-map)#match as-path 33
XSR(config-route-map)#set local-preference 300
XSR(config-route-map)#exit
XSR(config)#ip as-path access-list 33 permit “.* 550 .*”
Route
map
1
is
configured
with
the
optional
permit
keyword
and
sequence
number
1
.
If
these
values
are
omitted,
a
route
map
will
default
to
the
permit
keyword
and
sequence
number
10.
After
route
map
1
is
defined
via
the
route-map
command,
you
enter
the
match as-path
command
which
references
as
‐
path
access
list
33
‐
the
last
configuration
statement
in
the
example.
AS
‐
path
access
list
33
ends
with
a
regular
expression
“.*
550
.*”
,
indicating
a
match
will
occur
if
the
as_path
variable
in
a
BGP
update
message
contains
AS
number
550
.
If
a
match
occurs,
then
the
set local-preference
command
sets
the
local
preference
attribute
for
the
matching
BGP
updates
to
300
,
overriding
the
default
value
of
100
.
A
route
flagged
with
a
higher
local
preference
value
is
more
preferable
to
a
route
with
a
lower
local
preference.
Consequently,
the
routes
passing
through
AS
550
become
more
preferable
to
other
routes
for
the
same
destinations.
match community-list
This
command
matches
the
community
attribute
in
a
BGP
routing
update
message
with
the
values
of
the
community
attribute
identified
through
the
community
access
list.
A
route
must
match
at
least
one
match
statement
of
a
route-map
command.
If
a
route
does
not
match
any
match
statements,
the
route
is
not
advertised
on
outbound
route
maps
and
is
not
accepted
on
inbound
route
maps.
Syntax
match community-list
community-list-number
Syntax of the “no” Form
The
no
form
of
this
command
removes
the
community
list
number:
no match community-list
community-list-number
community-list-number
Community
ACL
to
match
by
number,
ranging
from
1
to
199.
Summary of Contents for X-Pedition XSR
Page 1: ...X Pedition Security Router XSR CLI Reference Guide Version 7 6 P N 9033842 07...
Page 2: ......
Page 10: ...viii...
Page 14: ...xii...
Page 134: ...Bootrom Monitor Mode Commands 3 128 Configuring the XSR Platform...
Page 278: ...VRRP Clear and Show Commands 5 202 Configuring the Internet Protocol...
Page 352: ...IGMP Clear and Show Commands 7 104 Configuring IP Multicast...
Page 406: ...Multilink Show Commands 8 136 Configuring the Point to Point Protocol...
Page 436: ...Frame Relay Clear and Show Commands 9 112 Configuring Frame Relay...
Page 460: ...Dialer Watch Commands 10 106 Configuring the Dialer Interface...