
Configuring BGP Services
5-15
Notification Message
The notification message is sent whenever a condition is detected that causes a
BGP speaker to terminate a connection. The BGP connection is closed after the
notification is transmitted. In addition to the message header, the Notification
message includes the following fields:
• The Error Code, which indicates the type of notification
• The Error Subcode, which further specifies the reported error conditions
[c...] As the rightmost element in a string, this element tells the filter to
match
any one
of the characters enclosed in the brackets
To use ‘[‘ (a left bracket) as one of the characters to be matched, make
it the first character in the string, and follow it with a right bracket, as
shown in the following example:
Having [abcxyz] as the rightmost element in the filter expression
matches a single character from the set “abcxyz.”
The expression:
[]abc]
matches any of the characters ‘]’, ‘a’, ‘b’, or ‘c’.
[^c...] When a caret is the first character of the enclosed string, the filter
expression matches any character
except
those in the remainder of
the string. For example, the expression [^45678] matches any
character except 4, 5, 6, 7, or 8
To include a ‘] ‘(right bracket] in the string of filtered characters, place it
directly after the caret. For example, the expression [^] abc] matches
every character except ‘]’, ‘a’, ‘b’, or ‘c’.
[l-r] The minus sign between two characters indicates a range of
consecutive ASCII characters to match. This bracketed string of
characters is known as a
character class
. For example, the range:
[0-9]
is equivalent to the string:
[0123456789]
The
- (minus sign) is treated as an ordinary character if it occurs first,
first after an initial caret, or last in a string.
Table 5-3. Characters in AS Path Pattern Matching
(continued)
Filter Character Function
Kommentare zu diesen Handbüchern