Protocol Independent Configuration; Route-Map Configuration; Regular Expression Configuration - D-Link xStack DGS-3610 Series Configuration Manual

Hide thumbs Also See for xStack DGS-3610 Series:
Table of Contents

Advertisement

Chapter 29 BGP Configuration
29.17 Protocol Independent
Configuration

29.17.1 route-map Configuration

The BGP protocol applies the Route-map policy on a large scale. For the configuration of the
Route-map policy, refer to the Protocol Independent Configuration part in this manual.

29.17.2 Regular Expression Configuration

The regular expression is the formula to match the string according to a certain template.
The regular expression is used to evaluate the text data and return a true or false value. That
is to say, whether the expression can describe this data correctly.
29.17.2.1 Description of Control Characters for
Regular Expression
The BGP path attribute uses the regular expression. Here will briefly describe the use of the
special characters for the regular expression:
Characters
Period
Asterisk
Plus
Interrogation Mark
Plus Sign
Dollar
Underlining
Square Brackets
29.17.2.2 Application Example of Regular Expression
At present, the equipment show ip bgp presents the content below:
DGS-3610# show ip bgp
Status codes: s suppressed, d damped, h history, * valid, > best, i - internal
Origin codes: i - IGP, e - EGP, ? - incomplete
Status Network
------ ------------------ ---------------
*> 211.21.21.0/24
*> 211.21.23.0/24
*> 211.21.25.0/24
29-24
Signs
Special Meanings
Match with any single character.
.
Match with none or any sequence of the strings.
*
Match with one or any sequence of the strings.
+
Match with none or one sign of strings.
?
Match with the start of strings.
^
Match with the end of strings.
$
Match with the comma, bracket, the start and end of
_
strings and blank.
Match with the single character within specified
[]
scope.
Next Hop
Metric LocPrf Path
110.110.110.10 0
110.110.110.10 0
110.110.110.10 0
DGS-3610 Series Configuration Guide
-------- -------- -------------------
1000
200 300
1000
200 300
1000
300

Advertisement

Table of Contents
loading

Table of Contents