Welcome to iNotez aka internet notes.


I will no longer be updating this site. See my blog for more info:http://usaccie.wordpress.com/



AS Regular Expression

This section explains the creation of a regular expression.

A regular expression is a pattern to match against an input string. When you build a regular expression, you specify a string that input must match. In the case of BGP, you specify a string that consists of path information that an input must match.

In the example in the section Path Filtering, you specified the string ^200$. You wanted path information that comes inside updates to match the string in order to make a decision.

A regular expression comprises:

Here are some examples of regular expressions:

a*
a+
ab?a
_100_
_100$
^100 .*
^$

BGP path manipulation

Why laugh at me?

Method

Direction Applied

Direction Affected

Best Metric

Weight

Inbound

Outbound

Highest

Local Preference

Inbound

Outbound

Highest

AS Path

Outbound

Inbound

Shortest

MED (metric)

Outbound

Inbound

Lowest



no-prepend has importance for incoming
replace-as has importance for outgoing





See my blog for more info:

http://usaccie.wordpress.com/