Adds a network to be originated from this router.
address-family | Specifies an IPv4 or IPv6 unicast or multicast address family. |
ipaddress/masklength | Specifies an IP network address and mask length. |
policy | Name of policy to be associated with network export. Policy can filter and/or change the route parameters. |
If no address family is specified, IPv4 unicast is the default.
N/A.
The network must be present in the routing table.
Using the export command to redistribute routes complements the redistribution of routes using the configure bgp add network command. The configure bgp add network command adds the route to BGP (Border Gateway Protocol) only if the route is present in the routing table. The enable bgp export command redistributes an individual route from the routing table to BGP. If you use both commands to redistribute routes, the routes redistributed using the network command take precedence over routes redistributed using the export command.
If you do not specify an address family, this command applies to the IPv4 unicast address family. To apply this command to an address family other than the IPv4 unicast address family, you must specify the address family.
Note
If the specified address is an IPv4 address, an IPv4 address family must be specified with the command. If the specified address is an IPv6 address, an IPv6 address family must be specified with the command.
The following command adds a network to be originated from this router:
configure bgp add network 192.1.1.16/32
This command was first available in ExtremeXOS 10.1.
This command required a specific license in ExtremeXOS 11.1.
Support for IPv6 was added in ExtremeXOS 12.6 BGP.
This command is available on platforms that support the appropriate license. For complete information about software licensing, including how to obtain and upgrade your license and which licenses support the BGP feature,see the ExtremeXOS 22.7 Feature License Requirements document.