Extreme Networks ExtremeWare XOS Guide Manual page 281

Concepts guide
Hide thumbs Also See for ExtremeWare XOS Guide:
Table of Contents

Advertisement

Table 36: Policy match conditions (Continued)
Match Condition
community [no-advertise | no-export | no-export-
subconfed | number <community_num> |
<community_regular_expression> |
<as_num> : <num>];
med <number>;
next-hop [<ipaddress> | <ipaddress-regular-
expression>];
nlri [<ipaddress> | any]/<mask-length> {exact};
nlri [<ipaddress> | any] mask <mask> {exact};
origin [igp | egp | incomplete];
tag <number>;
route-origin [direct | static | icmp | egp | ggp | hello
| rip | isis | esis | cisco-igrp | ospf | bgp | idrp |
dvmrp | mospf | pim-dm | pim-sm | ospf-intra |
ospf-inter | ospf-extern1 | ospf-extern2 | bootp | e-
bgp | i-bgp | mbgp | i-mbgp | e-mbgp | isis-level-1 |
isis-level-2 | isis-level-1-external | isis-level-2-
external]
Autonomous system expressions. The
the autonomous system (AS) path.
conditions for Border Gateway Path (BGP) AS path and community.
expressions and the AS paths they match.
Table 37: AS regular expression notation
Character
Definition
N
As number
N
- N
Range of AS numbers, where N
1
2
[N
... N
]
Group of AS numbers, where N
x
y
[^N
... N
]
Any AS numbers other than the ones in the group
x
y
.
Matches any number
^
Matches the beginning of the AS path
$
Matches the end of the AS path
Matches the beginning or end, or a space
-
Separates the beginning and end of a range of numbers
*
Matches 0 or more instances
+
Matches 1 or more instances
?
Matches 0 or 1 instance
{
Start of AS SET segment in the AS path
}
End of AS SET segment in the AS path
ExtremeWare XOS 11.3 Concepts Guide
Description
Where no-advertise, no-export and no-export-subconfed are
the standard communities defined by RFC.
<community_num> is a four byte unsigned integer,
<as_num> is a two byte AS-Number and <num> is the 2-
bytes community number.
Community regular expression is a multi-character regular
expression (with four byte unsigned integer being an
Atom). Regular expression is enclosed in double quotes
("").
Where <number> is a 4-byte unsigned integer.
Where <ipaddress> is a valid IP address in dotted decimal
format.
Where <ipaddress> and <mask> are IP addresses, <mask-
length> is an integer, and keyword any matches any IP
address with a given (or larger) mask/mask-length.
Where igp, egp and incomplete are the Border Gateway
Protocol (BGP) route origin values.
Where <number> is a 4-byte unsigned number.
Matches the origin (different from BGP route origin) of a
route.
A match statement "route-origin bgp" will match routes
whose origin are "I-bgp" or "e-bgp" or "I-mbgp" or "e-
mbgp". Similarly, the match statement "route-origin ospf"
will match routes whose origin is "ospf-inta" or "ospf-inter"
or "ospf-as-external" or "ospf-extern-1" or "ospf-extern-2"
keyword uses a regular expression string to match against
AS-path
Table 37
lists the regular expressions that can be used in the match
and N
are AS numbers and N
1
2
and N
are AS numbers or a range of AS numbers
x
y
Routing Policies
Table 38
shows examples of regular
< N
1
2
281

Advertisement

Table of Contents
loading

This manual is also suitable for:

Extremeware xos 11.3

Table of Contents