20 set extcommunity – CANOGA PERKINS 9175 Command Reference User Manual

Page 508

Advertising
background image

CanogaOS Command Reference

28-20

Defaults

Reference to the syntax description above.

Examples

Switch# configure terminal

Switch(config)# route-map R1 permit 24

Switch(config-route-map)# set dampening 20 333 534 30

Related Commands

28.20 set extcommunity

Use this command to set an extended community attribute.

Use the no parameter with this command to disable this function

To use the set extcommunity command, you must first have a match clause. Match and set

commands set the conditions for redistributing routes from one routing protocol to another. The

match command specifies the match criteria under which redistribution is allowed for the

current route-map. The set command specifies the set redistribution actions to be performed, if

the match criteria are met.

If the packets do not match any of the defined criteria, they are routed through the normal

routing process.

Note:

This command is valid for BGP only.


Command Syntax

set extcommunity { rt | soo} EXTCOMMNUMBER […EXTCOMMNUMBER ]

no set extcommunity { rt | soo}

Syntax Description

rt

Specifies the route target of the extended community.

soo

Specifies the site-of-origin of the extended

community.

EXTCOMMNUMBER

ASN:nn_or_IP-address:nn VPN extended

community.

ASN:nn

the AS number.

IPADDRESS:nn

the AS number in IP address form.

Command Mode

Route-map mode

Advertising