BGP Commands
ip bgp policy route-map match-regexp
Configures an AS path matching regular expression primitive in the route map.
ip bgp policy route-map name sequence_number match-regexp "regular_expression"
Syntax Definitions
name
sequence_number
regular_expression
Defaults
parameter
regular_expression
Platforms Supported
OmniSwitch 10K
Usage Guidelines
•
This command allows a regular expression matching directive to be placed directly in the route map.
By default, no matching regular expression is specified. Regular expressions are defined in
policy aspath-list
•
When using regular expressions in the CLI, the regular expression must be enclosed by quotation
marks.
•
The default behavior can be reset by changing the value to "none".
•
See the OmniSwitch 10K Advanced Routing Configuration Guide for more information on the use of
regular expressions in BGP commands.
Examples
-> ip bgp policy route-map routemap1 1 match-regexp "500 .* 400$"
Release History
Release 7.1.1; command was introduced.
OmniSwitch CLI Reference Guide
The route map name.
The route map sequence number. The valid range is 1–255.
Regular expression or "none". The regular expression must be enclosed
by quotation marks.
default
none
on page 19-96.
March 2011
ip bgp policy route-map match-regexp
ip bgp
page 19-137