Configures the device to advertise a BGP network.
No network is advertised.
BGP address-family IPv4 unicast configuration mode
BGP address-family IPv6 unicast configuration mode
BGP address-family IPv4 unicast VRF configuration mode
BGP address-family IPv6 unicast VRF configuration mode
Use the no form of the command to restore the defaults.
This example imports the IP prefix 10.1.1.1/32 into the BGP4 database and specifies a route map called “myroutemap”.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv4 unicast device(config-bgp-ipv4u)# network 10.1.1.1/32 route-map myroutemap
This example imports the IPv6 prefix 2001:db8::/32 into the BGP4+ database and sets a weight of 300.
device# configure terminal device(config)# router bgp device(config-bgp-router)# address-family ipv6 unicast device(config-bgp-ipv6u)# network 2001:db8::/32 weight 300