Command:

network (BGP)


Mode:

Router(config-router)#

Router(config-router-af)#

 


Syntax:

network network-number [mask network-mask]

no network network-number [mask network-mask]

 

Syntax Description:

network-number

Network that BGP or multiprotocol BGP will advertise

network-mask

(Optional) Network mask address

mask

(Optional) Network or subnetwork mask. If the mask keyword is configured, then an exact match must exist in the routing table. 


Command Description:

To specify the networks to be advertised by the BGP and multiprotocol BGP routing processes, use the network command in address family or router configuration mode. To remove an entry, use the no form of this command.


Example:

The following router configuration mode example sets up network 131.108.0.0 to be included in the BGP updates:

  Router(config)#router bgp 120

  Router(config-router)#network 131.108.0.0 

The following address-family mode configuration example sets up network 131.108.0.0 to be included in the multiprotocol BGP updates:

  Router (config)#router bgp 120

  Router (config-router)#address family ipv4 multicast

  Router (config-router-af)#network 131.108.0.0

Misconceptions:

 

None


Related Commands:

 

router bgp

 

address-family ipv4

 

show ip route

 


� Cisco Systems, Inc. 2001, 2002, 2003
World Wide Education

Converted from CHM to HTML with chm2web Pro 2.85 (unicode)