BGP Configuration Commands
647
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
network
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
peer
advertise-community
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.
Summary of Contents for Router 3031
Page 6: ......
Page 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Page 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...