A community attribute defined in a routing policy takes effect only after community attribute advertisement is configured.
The system view is displayed.
The BGP view is displayed.
The BGP-IPv6 unicast address family view is displayed.
An export route-policy is configured.
To enable the device to advertise a standard community attribute to a specified peer, run the peer ipv6-address advertise-community command.
To enable the device to advertise an extended community attribute to a specified peer, run the peer ipv6-address advertise-ext-community command.
After the peer advertise-ext-community command is run, BGP4+ advertises the routes with extended community attributes to the specified peer. If the peer only needs to accept the routes but not the extended community attributes, you can run the peer discard-ext-community command on the peer to discard the extended community attributes from the received routing information.
The configuration is committed.
The system view is displayed.
The BGP view is displayed.
The BGP-IPv6 unicast address family view is displayed.
An export route-filter is configured.
To enable the device to advertise a standard community attribute to a specified peer, run the peer ipv6-address advertise-community command.
To enable the device to advertise an extended community attribute to a specified peer, run the peer ipv6-address advertise-ext-community command.
After the peer advertise-ext-community command is run, BGP4+ advertises the routes with extended community attributes to the specified peer. If the peer only needs to accept the routes but not the extended community attributes, you can run the peer discard-ext-community command on the peer to discard the extended community attributes from the received routing information.
To enable the device to advertise the Link Bandwidth extended community attribute to a specified EBGP peer, run the peer advertise ebgp link-bandwidth command.
To enable the device to convert the Link Bandwidth extended community attribute (optional non-transitive) carried in BGP4+ routes to an optional transitive attribute before advertising the routes to other peers, run the peer advertise link-bandwidth transitive command.
The configuration is committed.