D-Link DGS-3620-52T CLI Guide - Page 191
expanded <list_name 16> [add | delete] <regexp_str 80> [deny | permit]]
View all D-Link DGS-3620-52T manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 191 highlights
xStack® DGS-3620 Series Layer 3 Managed Stackable Gigabit Switch CLI Reference Guide 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 [add | delete] {internet | local_as | no_advertise | no_export | community_set }(1) [deny | permit] | expanded [add | delete] [deny | permit]] Parameters standard - Configures a standard community list. - 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 be sent to peers in another sub AS in the same confederation and to the external peers. no_advertise - Routes with this community will not be advertised to any peer either internal or external. no_export - (Optional) Routes with this community will be sent to peers in the same AS or in other sub Autonomous Systems within a confederation, but will not be sent to an external BGP (eBGP) peer. community_set - (Optional) A community is 4 bytes long, including the 2 bytes's for the Autonomous System's number and 2 bytes for the network number This value is configured with two 2-byte numbers separated by a colon. The valid range of both number are from 1 to 65535. A community set can be formed by multiple communities, separated by a comma. - Enter the community set value here. This value can be up to 80 characters long. deny - To deny the routes if rule is matched. permit - To permit the routes if rule is matched. expanded - Configures an expanded community list. - Name of community list to be configured. add - Adds a rule to the community list. delete - Deletes a rule from the community list. - Enter the registration expiry string value here. This value can be up to 80 characters long. deny - To deny the routes if rule is matched. permit - To permit the routes if rule is matched. Restrictions Only Administrator, Operator and Power-User level users can issue this command. (EI Mode Only Command) 186