Cisco Cisco ASR 5000
BGP Address-Family (IPv4/IPv6) Configuration Mode Commands
▀ network
▄ Command Line Interface Reference, StarOS Release 18
1638
network
Configures and specifies a network to announce via BGP.
Product
All
Privilege
Security Administrator, Administrator
Mode
Exec > Global Configuration > Context Configuration > BGP Configuration > BGP Address-Family Configuration
configure > context context_name > router bgp as_number > address-family
address_family_type
address_family_type
Entering the above command sequence results in the following prompt:
[context_name]host_name(config-bgp-af-v6)#
Syntax
[ no ] network ip_address/mask [ route-map map_name ]
no
Delete the specified network from the configuration for the BGP router.
network
ip_address/mask
Specifies the IP address and netmask bits for the network to announce via BGP.
ip_address
is a network IP
address in IPV4 dotted-decimal notation and
mask
is the number of subnet bits, representing a subnet mask in
CIDR. These must be entered in the IPv4 dotted-decimal notation/subnet bits format.
route-map
map_name
Filter routes through the specified route map before announcing the network.
map_name
specifies the name
of the route-map to use as an alphanumeric string of 1 through 79 characters.
Usage
Use this command to specify a network to announce via BGP.
Example
The following command announces the network
192.168.0.0
with a netmask of
16
via BGP:
network 192.168.0.0/16
The following command removes the network from the BGP router configuration:
no network 192.168.0.0/16