Peer Advertise-Community (Bgp/Bgp-Vpn Instance View) - 3Com S7906E Command Reference Manual

6300 series
Hide thumbs Also See for S7906E:
Table of Contents

Advertisement

Examples
# In BGP view, configure route 10.0.0.0/16 as a shortcut route.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] network 10.0.0.0 255.255.0.0 short-cut
# In BGP-VPN instance view, configure route 10.0.0.0/16 as a shortcut route. (the VPN has been
created).
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] ipv4-family vpn-instance vpn1
[Sysname-bgp-vpn1] network 10.0.0.0 255.255.0.0 short-cut

peer advertise-community (BGP/BGP-VPN instance view)

Syntax
peer { group-name | ip-address } advertise-community
undo peer { group-name | ip-address } advertise-community
View
BGP view/BGP-VPN instance view
Default Level
2: System level
Parameters
group-name: Name of a peer group, a string of 1 to 47 characters.
ip-address: IP address of a peer.
Description
Use the peer advertise-community command to advertise the community attribute to a peer/peer
group.
Use the undo peer advertise-community command to disable the community attribute advertisement
to a peer/peer group.
By default, no community attribute is advertised to any peer group/peer.
Related commands: ip community-list, if-match community, apply community (refer to Routing
Policy Commands in the IP Routing Volume).
Examples
# In BGP view, advertise the community attribute to peer group test.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] peer test advertise-community
# In BGP-VPN instance view, advertise the community attribute to peer group test (the VPN has been
created).
1-39

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S7910eS7906e-vS7903eS7903e-sS7902e

Table of Contents