network
For BGP, does one of the following:
- 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.
- Originates a RT-MEM-NLRI route for the prefix that represents the route-target membership NLRI. This route is advertised to all peers that have negotiated the route-target address family. The advertisement is used by the speaker to exhibit interest in or request routes from a specific VPN that is not configured locally. The no version removes the prefix.
For DHCP local server, specifies 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 | rtfPrefix }
[ route-map mapTag ] [ weight weight ] [ backdoor ]
- networkNumberPrefix that BGP will advertise
- networkMaskSubnet mask
- ipv6PrefixIPv6 prefix that BGP will advertise
- rtfPrefixPrefix representing the route-target membership NLRI (RT-MEM-NLRI), in the format asNumber:extendedCommunity/prefixLength (for example, 320:320:524/36) where:
- asNumberAS number for origin of route target information, in the range 14294967295
- extendedCommunityTwo-part number in the format number1:number2 that identifies an extended community of VPNs, in the format number1:number2, where:
- number1Autonomous system (AS) number, in the range 14294967295, or an IP address
- number2Unique integer, in the range 14294967295; 32 bits if number1 is a 16-bit AS number; 16 bits if number1 is an IP address or a 32-bit AS number
- mapTagName of the route map; a string of up to 32 alphanumeric characters; does not currently work with rtMemNlri
- weightNumber in the range 065535; default value is 32768; assigns an absolute weight to the network route that overrides a weight assigned by the redistribute command
- backdoorLowers 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 }
- networkAddressIP address of the network
- networkMaskSubnet mask for the network
- prefixNetwork prefix
- forceDeletes address pool even if the pool is in use
[ no ] network networkAddress [ networkMask ]
- networkAddressIP address of the network
- networkMaskSubnet 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 (BGP, RIP), DHCP Local Pool Configuration (for DHCP local server), Router Configuration (BGP, RIP)
Command introduced before JUNOSe Release 7.1.0.
rtMemNlri variable added in JUNOSe Release 9.0.0.
rtMemNlri variable replaced by rtfPrefix variable in JUNOSe Release 9.1.0.