Apply Community - H3C MSR 20-20 Command Reference Manual

Msr 20/30/50 series routers
Hide thumbs Also See for MSR 20-20:
Table of Contents

Advertisement

1188
C
78: R
HAPTER
OUTING
View
Parameters
Description
Examples

apply community

Syntax
View
Parameters
P
C
C
OLICY
OMMON
ONFIGURATION
undo apply comm-list
Routing policy view
comm-list-number: Community list number. The basic community list number
ranges from 1 to 99. The advanced community list number ranges from 100 to
199.
Use the
apply comm-list delete
BGP routing information specified by the community list.
Use the
undo apply comm-list
No community attributes are removed by default.
# Create routing policy policy1 with node 10, matching mode as permit. If BGP
routing information matches AS-path-ACL 1, remove community attributes
specified in community list 1.
<Sysname> system-view
[Sysname] route-policy policy1 permit node 10
[Sysname-route-policy] if-match as-path 1
[Sysname-route-policy] apply comm-list 1 delete
apply community { none | additive | { community-number&<1-16> | aa:nn&<1-16> |
internet | no-export-subconfed | no-export | no-advertise } * [ additive ] }
undo apply community
Routing policy view
none: Removes community attributes of BGP routes.
community-number: Community sequence number, in the range 1 to
4294967295.
aa:nn: Community number; both aa and nn are in the range 0 to 65535.
&<1-16>: Indicates the argument before it can be entered up to 16 times.
internet: Sets the internet community attribute for matched BGP routes. Routes
with this attribute are advertised to all BGP peers.
no-export-subconfed: Sets the no-export-subconfed community attribute for
matched BGP routes. Routes with this attribute are not advertised out the sub
autonomous system.
no-advertise: Sets the no-advertise community attribute for matched BGP
routes. Routes with this attribute are not advertised to any peers.
C
OMMANDS
command to remove community attributes in
command to remove the clause configuration.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Msr 20-21Msr 30-16Msr 30-20Msr 30-40Msr 30-60Msr 50 ... Show all

Table of Contents