xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
183
Parameters
access_list
- Specifies the AS path access list name.
<list_name 16>
- Enter the AS path access list name here. This name can be up to 16
characters long.
add
- Specifies to add a matching rule.
delete
- Specifies to delete a matching rule.
<reg_express>
- Regular expression that defines the as_path filter.
deny
- Denies advertisement based on matching conditions.
permit
- Permits advertisement based on matching conditions.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only
Command)
Example
This example configures a matching rule for an AS path access list:
DGS-3620-28SC:admin# create bgp as_path access_list test
Command: create bgp as_path access_list test
Success.
DGS-3620-28SC:admin# config bgp as_path access_list test add (_64[6-9][0-9][0-
9]_|_65[0-9][0-9][0-9]_) deny
Command: config bgp as_path access_list test add (_64[6-9][0-9][0-9]_|_65[0-
9][0-9][0-9]_) deny
Success.
DGS-3620-28SC:admin# config bgp as_path access_list test add .* permit
Command: config bgp as_path access_list test add .* permit
Success.
DGS-3620-28SC:admin#
12-38
delete bgp as_path access_list
Description
This command is used to delete an Autonomous System path access list.
Format
delete bgp as_path access_list [list_name <list_name 16> | all]
Parameters
list_name
- Specifies the AS path access list name.
<list_name 16>
- Enter the AS path access list name here. This name can be up to 16
characters long.