network
For BGP, configures a BGP speaker with an IPv6 or IPv4 prefix originating within its AS that it advertises to its peers if a non-BGP route to the prefix exists in the IP forwarding table. The no version removes the prefix.
For DHCP local server, specifies the IP addresses that the DHCP local server can provide from an address pool. The no version removes the network address and mask.
For RIP, enables RIP on a specific network (not on a range of networks). If you do not associate a network with RIP, the router cannot advertise the network in any RIP update. The no version disables RIP on a specific network. If you do not specify a network mask, the router applies the natural mask. Use the ip rip commands to configure RIP attributes on the network.
For BGP:
[ no ] network { networkNumber [ [ mask ] networkMask ] | ipv6Prefix }
[ route-map mapTag ] [ weight weight ] [ backdoor ]
- networkNumber—Prefix that BGP will advertise
- networkMask—Subnet mask
- ipv6Prefix—IPv6 prefix that BGP will advertise
- mapTag—Name of the route map; a string of up to 32 alphanumeric characters
- weight—Number in the range 0-65535; default value is 32768; assigns an absolute weight to the network route that overrides a weight assigned by the redistribute command
- backdoor—Lowers the preference of an EBGP route to the specified prefix by setting the administrative distance to the value of an internal BGP route. Use this option to favor an IGP backdoor route over an EBGP route to a specific network. BGP does not advertise the prefix specified with this option.
network networkAddress { networkMask | prefix }
- networkAddress—IP address of the network
- networkMask—Subnet mask for the network
- prefix—Network prefix
- force—Deletes address pool even if the pool is in use
[ no ] network networkAddress [ networkMask ]
- networkAddress—IP address of the network
- networkMask—Subnet mask; the command accepts either the standard mask (network 10.2.1.0 255.255.255.0) or the inverse mask (network 10.2.1.0 0.0.0.255)
Address Family Configuration or Router Configuration for BGP; Router Configuration for RIP; DHCP Local Pool Configuration for DHCP local server