H3C S7500 Series Ethernet Switches Command Manual

Table Of Contents
Command Manual – Routing Protocol
H3C S7500 Series Ethernet Switches Chapter 5 BGP Configuration Commands
5-30
5.1.30 network
Syntax
network ip-address [ mask ] [ route-policy route-policy-name ]
undo network ip-address [ mask ] [ route-policy route-policy-name ]
View
BGP view
Parameters
ip-address: IP address of the destination network segment.
mask: Subnet mask.
route-policy-name: Route policy used for the advertised route, containing 1 to 19
characters.
Description
Use the network command to advertise the network segment route to the BGP routing
table.
Use the undo network command to cancel the existing configuration.
By default, BGP does not advertise any network segment routes.
Examples
# Advertise routes to the network segment 10.0.0.0/16.
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C] bgp 100
[H3C-bgp] network 10.0.0.0 255.255.0.0
5.1.31 peer advertise-community
Syntax
peer group-name advertise-community
undo peer group-name advertise-community
View
BGP view
Parameters
group-name: Name of a peer group, containing 1 to 47 alphanumeric characters.