BGP Commands
ExtremeWare XOS 11.5 supports only the Summit X450 family of switches and the BlackDiamond 8800 series switch.
ExtremeWare XOS 11.5 Command Reference Guide
1760
enable bgp export
enable bgp export [direct | ospf | ospf-extern1 | ospf-extern2 | ospf-inter
| ospf-intra | rip | static] {address-family [ipv4-unicast | ipv4-
multicast]} {export-policy <policy-name>}
Description
Enables BGP to export routes from other protocols to BGP peers.
Syntax Description
Default
Disabled.
If no address family is specified, IPv4 unicast is the default.
Usage Guidelines
The exporting of routes between any two routing protocols is a discreet configuration function. For
example, you must configure the switch to export routes from OSPF to BGP and, if desired, you must
configure the switch to export routes from BGP to OSPF. You must first configure both protocols and
then verify the independent operation of each. Then, you can configure the routes to export from OSPF
to BGP, and the routes to export from BGP to OSPF. Similarly for BGP and ISIS, or BGP and RIP.
You can use a policy to associate BGP attributes including Community, NextHop, MED, Origin, and
Local Preference with the routes. A policy can also be used to filter out exported routes.
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 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.
direct
Specifies direct routing.
ospf
Specifies OSPF routing.
ospf-extern1
Specifies OSPF-extern1 routing.
ospf-extern2
Specifies OSPF-extern2 routing.
ospf-inter
Specifies OSPF-inter routing.
ospf-intra
Specifies OSPF-intra routing.
rip
Specifies RIP routing.
static
Specifies static routing.
address-family
The address family to which the IGP routes will be exported. BGP supports two
address families: IPv4 Unicast and IPv4 Multicast.
policy-name
Name of policy to be associated with network export. Policy can filter and/or
change the route parameters.