20 set extcommunity – CANOGA PERKINS CanogaOS Command Reference User Manual

Page 575

Advertising
background image

CanogaOS Command Line Reference

Revision 1.02

Proprietary & Confidential Canoga Pertkins Metro Ethernet Switches

Page 575 of 855

28.19.1.6 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.

28.20.1.1 Command

Syntax

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

no set extcommunity { rt | soo}

28.20.1.2 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.

28.20.1.3 Command

Mode

Route-map mode

28.20.1.4 Defaults

No set extcommunity is specified by default.

28.20.1.5 Examples

Switch# configure terminal

Advertising