3Com 3031 Command Reference Manual page 647

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

network
peer
advertise-community
Description
Using the ip community-list command, you can configure a BGP community list.
Using the undo ip community-list command, you can delete the configured BGP
community list.
The configured community list can be used in BGP policy.
For the related command, see apply community, and display bgp routing-table
community-list.
Example
Define a community attribute list which does not advertise routes with the
community attribute beyond the confederation.
[3Com] ip community-list 6 permit no-export-subconfed
Syntax
network ip-address [ address-mask ] [ route-policy route-policy-name ]
undo network ip-address [ address-mask ] [ route-policy route-policy-name ]
View
BGP view
Parameter
ip-address: Network address that BGP advertises.
address-mask: Mask of the network address.
route-policy-name: Route-policy applied to advertised routes.
Description
Using the network command, you can configure the network routes advertised by
the local BGP. Using the undo network command, you can delete the existing
configuration.
By default, there is no network sent through BGP.
Example
Advertise routes to network segment 10.0.0.0/16.
[3Com-bgp] network 10.0.0.1 255.255.0.0
Syntax
peer { group-name } advertise-community
undo peer { group-name } advertise-community
View
BGP view, VPNv4 view, VPN instance view
Parameter
group-name: Specifies the name of peer group.
BGP Configuration Commands
647

Advertisement

Table of Contents
loading

Table of Contents