xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide
212
be up to 16 characters long.
Restrictions
Only Administrator, Operator and Power-User level users can issue this command.
(EI Mode Only
Command)
Example
To create a standard BGP community list:
DGS-3620-28SC:admin# create bgp community_list standard list1
Command: create bgp community_list standard list1
Success.
DGS-3620-28SC:admin#
13-41
config bgp community_list
Description
This command is used to configure the matching rule for the community access list. Mutliple rules
can be defined for a community list. Each rule is either in the permit form or in the deny form. Each
rule in the standard community list contains one community. A community string, which contains
multiple communities, can be defined for a rule. A Route can be associated with a community
string. To match a rule, two community strings must exact match. The built-in community strings
including internet, local_as, no_advertise, and no_export. The user-defined community is 4-bytes
long, with the leading two bytes representing the AS number and the trailing two bytes
representing a user defined number. BGP community attributes exchanged between BGP peers is
controlled by the neighbor send-community command. The community string associated with
routes can be controlled by the route map. By default, the community string “internet” will be sent.
If the route map sets a community string, this community string will be added to the existing
community string associated with the route. If permit rules exist in an access list, then routes with
community that does not match any rule in the list will be denied. If there are no rules or only deny
rules configured for the community list, all routes will be denied.
Format
config bgp community_list [standard <list_name 16> [add | delete] {internet | local_as |
no_advertise | no_export | community_set <community_set 80>}(1) [deny | permit] |
expanded <list_name 16> [add | delete] <regexp_str 80> [deny | permit]]
Parameters
standard
- Configures a standard community list.
<list_name 16>
- Enter the standard community list name here. This name can be up to 16
characters long.
add
- Adds a rule to the community list.
delete
- Deletes a rule from the community list.
internet
- (Optional) Routes with this community will be sent to all peers either internal or
external.
local_as
- (Optional) Routes with this community will be sent to peers in the same AS, but will not
Summary of Contents for xStack
Page 1: ......
Page 553: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 548 ...
Page 565: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 560 ...
Page 1011: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1006 ...
Page 1120: ...xStack DGS 3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 1115 ...