H3C S7500E Series Command Manual page 464

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – IPv4 Routing
H3C S7500E Series Ethernet Switches
5.1.38 network
Syntax
network ip-address [ mask | mask-length ] [ short-cut | route-policy
route-policy-name ]
undo network ip-address [ mask | mask-length ] [ short-cut ]
View
BGP view
Parameters
ip-address: Destination IP address.
mask: Mask of the network address, in dotted decimal notation.
mask-length: Mask length, in the range 0 to 32.
short-cut: Specifies the route to use the local preference. If the route is an EBGP route
whose preference is higher than the local one, using this keyword can configure the
EBGP route to use the local preference, so the route is hard to become the optimal
route.
route-policy-name: Routing policy applied to the route. The name is a string of 1 to 19
characters.
Description
Use the network command to advertise a network to the BGP routing table.
Use the undo network command to remove a network from the routing table.
By default, no network route is advertised.
Note that:
The network route must be in the local IP routing table, and using a routing policy
makes route management more flexible.
The route advertised to the BGP routing table using the network command has
the ORIGIN attribute as IGP.
Examples
# In BGP view, advertise the network segment 10.0.0.0/16.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] network 10.0.0.0 255.255.0.0
Chapter 5 BGP Configuration Commands
5-35

Advertisement

Table of Contents
loading

Table of Contents