Specifications
disable bgp export
ExtremeWare XOS 10.1 Command Reference Guide 643
disable bgp export
disable bgp export [direct | ospf | ospf-extern1 | ospf-extern2 |
ospf-inter | ospf-intra | rip | static] {address-family [ipv4-unicast |
ipv4-multicast]}
Description
Disables BGP from exporting 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 policies to associate BGP attributes including Community, NextHop, MED, Origin, and
Local Preference with the routes. Policies 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.
Example
The following command disables BGP from exporting routes from the OSPF protocol to BGP peers:
disable bgp export ospf
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.