D-Link DGS-3600 Switch User Manual


 
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
140
show bgp as_path access_list
Description This command displays the Autonomous System path’s access list. If a specific access list is
not specified, all AS path access lists will be displayed.
Parameters
<list_name 16> - AS path access list name.
Restrictions None.
Example usage:
To display an AS path access list:
DGS-3627:admin# show bgp as_path access_list 1
Command: show bgp as_path access_list 1
BGP AS Path Access List: 1
deny (_64[6-9][0-9][0-9]_|_65[0-9][0-9][0-9]_)
permit 33
Total Filter Entries: 2
Total AS Path Access List Number: 1
DGS-3627:admin#
create bgp community_list
Purpose This command is used to create a BGP community list.
Syntax
create bgp community_list [standard | expanded] <list_name 16>
Description This command is used to create a BGP community list.
Parameters
standard - Configures a standard named community list.
expanded - Configures an expanded named community list.
<list_name 16> - This is the name of the community list that will be created. The string size is
16 bytes.
Restrictions Only Administrator and Operator-level users can issue this command.
Example usage:
To create a standard BGP community list:
DGS-3627:admin# create bgp community_list standard list1
Command: create bgp community_list standard list1
Success.
DGS-3627:admin#
config bgp community_list
Purpose The command is used to configure the matching rules for a BGP community list.
Syntax
config bgp community_list [standard <list_name 16> [add | delete] {internet | local_as |
no_advertise | no_export | community_set <community_set 80>} [deny | permit] |
expanded <list_name 16> [add | delete] <regexp_str 80> [deny | permit]]
Description This command is used to configure the matching rule for the community access list.