Alcatel-Lucent 6850-48 参考指南

下载
页码 3444
BGP Commands
page 44-182
OmniSwitch CLI Reference Guide
September 2009
show ip bgp policy aspath-list
Displays AS path list parameters.
show ip bgp policy aspath-list [name] [“regular_expression”]
Syntax Definitions
name
An AS path name.
regular_expression
A regular expression. The regular expression must be enclosed by 
quotation marks.
Defaults
N/A
Platforms Supported
OmniSwitch 6850, 6855, 9000, 9000E
Usage Guidelines
• This command displays a list of all of the AS path policies for the router, or a single policy selected by 
the list name or regular expression.
• Regular expressions are defined in th
 command on page 
.
• When using regular expressions in the CLI, the regular expression must be enclosed by quotation 
marks.
Examples
-> show ip bgp policy aspath-list
Aspath List Name          Aspath regular expression
-------------------------+--------------------------------------------------
aspl1                     (500 | 400) ? 300$                                
aspl2                     (500 | 400)                                       
-> show ip bgp policy aspath-list aspl1
Aspath List name = aspl1
Aspath Regexp    = (500 | 400) ? 300$
  Admin state      = disabled,
  Priority         = 1,
  Action           = deny,
  Primary index    = 0,
output definitions
Aspath List name
The name of the AS path list. This is defined using the 
Aspath regular expression
The regular expression that defines the AS path list. This is defined 
using th