3com S7906E 참조 가이드
1-33
Examples
# In IPv4 MBGP address family view, advertise the community attribute to the existing peer group test.
<Sysname> system-view
[Sysname]bgp 100
[Sysname-bgp]group test external
[Sysname-bgp]peer test as-number 200
[Sysname-bgp]ipv4-family multicast
[Sysname-bgp-af-mul] peer test enable
[Sysname-bgp-af-mul] peer test advertise-community
peer advertise-ext-community (MBGP family view)
Syntax
peer { group-name | ip-address } advertise-ext-community
undo peer { group-name | ip-address } advertise-ext-community
View
IPv4 MBGP address family view
Default Level
2: System level
Parameters
group-name: Name of an IPv4 MBGP peer group, a string of 1 to 47 characters.
ip-address: IP address of an IPv4 MBGP peer.
Description
Use the peer advertise-ext-community command to advertise the extended community attribute to a
peer/peer group.
Use the undo peer advertise-ext-community command to disable the extended community attribute
advertisement to a peer/peer group.
By default, no extended community attribute is advertised to a peer/peer group.
For related information, refer to the ip extcommunity-list, if-match extcommunity and apply
extcommunity commands in Route policy Commands of the IP Routing Volume.
Examples
# In IPv4 MBGP address family view, advertise the extended community attribute to the existing peer
group test.
<Sysname> system-view
[Sysname]bgp 100
[Sysname-bgp]group test external
[Sysname-bgp]peer test as-number 200
[Sysname-bgp]ipv4-family multicast
[Sysname-bgp-af-mul] peer test enable
[Sysname-bgp-af-mul] peer test advertise-ext-community