D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
139
config bgp as_path access_list
<regexp_str 80> - Regular expression that defines the as_path filter.
permit - Permits advertisement based on matching conditions.
deny - Denies advertisement based on matching conditions.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
This example configures a matching rule for an AS path access list:
DGS-3627:admin# create bgp as_path access_list test
Command: create bgp as_path access_list test
Success.
DGS-3627: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:4# 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-3627:admin# config bgp as_path access_list test add .* permit
Command: config bgp as_path access_list test add .* permit
Success.
DGS-3627:admin#
delete bgp as_path access_list
Purpose This command is used to delete an Autonomous System path access list.
Syntax
delete bgp as_path access_list [ list_name <list_name 16> | all]
Description This command is used to delete an Autonomous System path access list.
Parameters
<list_name 16> - AS path access list name.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To configures a matching rule for an AS path access list:
DGS-3627:admin# delete bgp as_path access_list list_name test
Command: delete bgp as_path access_list list_name test
Success.
DGS-3627:admin#
show bgp as_path access_list
Purpose This command is used to display the Autonomous System path access list.
Syntax
show bgp as_path access_list {<list_name 16>}