Qtech QSW-8200-28T-AC-DC [15/74] Set community

Qtech QSW-8200-28T-AC-DC [15/74] Set community
User Manual
Chapter 1. Commands for Routing Policy 15
www.qtech.ru
Example:
Switch#config terminal
Switch(config)#route-map r1 permit 5
Switch(config-route-map)#set comm-list 100 delete
1.19 set community
Command: set community [AA:NN] [internet] [local-AS] [no-advertise] [no-export]
[none] [additive]
no set community [AA:NN] [internet] [local-AS] [no-advertise] [no-
export] [none] [additive]
Function: Configure the community attributes of the BGP routing message. The no set
community [AA:NN] [internet] [local-AS] [no-advertise] [no-export] [none] [additive]
command deletes this configuration.
Parameter: [AA:NN] is the community attribute value, [internet] is the internet scope,
[local-AS] means this route do not announce outside the local AS (but can announce
among the sub AS within the confederation), [no-advertise] means this route do not
send to any neighbor, [no-export] means this route do not send to EBGP neighbors,
[none] means delete the community attributes from the prefix of this route, [additive]
means add following existing community attributes.
Command Mode: route-map mode
Usage Guide: To use this command, one match clause should at first be defined.
Example:
Switch#config terminal
Switch(config)#route-map r1 permit 5
Switch(config-route-map)#set community local-as additive
1.20 set extcommunity
Command: set extcommunity <rt | soo> <AA:NN>
no set extcommunity <rt | soo> [<AA:NN>]
Function: Configure the extended community attributes of the BGP routing message.
The “no set extcommunity <rt | soo> [<AA:NN>]” command deletes this configuration.
Parameter: <rt> is the route target, <soo> is the site of origin, <AA:NN> is the value of
community attributes, amongst AA is AS number, ranging from 1 to 4294967295, it can
be shown in decimal notation (such as 6553700) or delimiter method (such as 100.100),
NN is a random two byte number.
Command Mode: route-map mode
Usage Guide: To use this command, one match clause should at first be defined.
Example: Set rt as 100:10
Switch#config terminal
Switch(config)#route-map r1 permit 5

Содержание

Похожие устройства

Скачать