Border Gateway Protocol
ExtremeWare XOS 11.3 Concepts Guide
578
Exporting routes from OSPF to BGP and from BGP to OSPF are discrete configuration functions. To run
OSPF and BGP simultaneously, 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.
Configuring Route Redistribution
Exporting routes between any two routing protocols are discrete configuration functions. 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.
You can use route maps to associate BGP attributes including Community, NextHop, MED, Origin, and
Local Preference with the routes. Route maps can also be used to filter out exported routes.
To enable or disable the exporting of OSPF, RIP, static, and direct (interface) routes to BGP, use the
following commands:
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>}
disable bgp export [direct | ospf | ospf-extern1 | ospf-extern2 | ospf-inter | ospf-
intra | rip | static] {address-family [ipv4-unicast | ipv4-multicast]}
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
the specified routes 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.
BGP Static Network
ExtremeWare XOS BGP allows users to add static networks in BGP, which will be redistributed
(advertised) into the BGP domain if there is a corresponding active route in the IP routing table. Users
can associate a policy with the static BGP network to change or to set the route attributes before the
route is advertised to the BGP neighbors.
Use the following command to create a static BGP network:
configure bgp add network {address-family [ipv4-unicast | ipv4-multicast]} <ipaddr>/
<mask_len> {network-policy <policy>}
Use the following command to delete a static BGP network
configure bgp delete network {address-family [ipv4-unicast | ipv4-multicast]} [all |
<ipaddress/mask length>]
Содержание ExtremeWare XOS 11.3
Страница 20: ...Contents ExtremeWare XOS 11 3 Concepts Guide 20...
Страница 25: ...1 Using ExtremeWare XOS...
Страница 26: ......
Страница 38: ...ExtremeWare XOS Overview ExtremeWare XOS 11 3 Concepts Guide 38...
Страница 58: ...Accessing the Switch ExtremeWare XOS 11 3 Concepts Guide 58...
Страница 146: ...Configuring Slots and Ports on a Switch ExtremeWare XOS 11 3 Concepts Guide 146...
Страница 218: ...Status Monitoring and Statistics ExtremeWare XOS 11 3 Concepts Guide 218...
Страница 240: ...Virtual LANs ExtremeWare XOS 11 3 Concepts Guide 240...
Страница 248: ...Virtual Routers ExtremeWare XOS 11 3 Concepts Guide 248...
Страница 278: ...Access Lists ACLs ExtremeWare XOS 11 3 Concepts Guide 278...
Страница 288: ...Routing Policies ExtremeWare XOS 11 3 Concepts Guide 288 entry deny_rest if then deny...
Страница 344: ...Security ExtremeWare XOS 11 3 Concepts Guide 344...
Страница 393: ...2 Using Switching and Routing Protocols...
Страница 394: ......
Страница 454: ...Spanning Tree Protocol ExtremeWare XOS 11 3 Concepts Guide 454...
Страница 484: ...Extreme Standby Router Protocol ExtremeWare XOS 11 3 Concepts Guide 484...
Страница 514: ...IPv4 Unicast Routing ExtremeWare XOS 11 3 Concepts Guide 514...
Страница 530: ...IPv6 Unicast Routing ExtremeWare XOS 11 3 Concepts Guide 530...
Страница 538: ...RIP ExtremeWare XOS 11 3 Concepts Guide 538...
Страница 556: ...OSPF ExtremeWare XOS 11 3 Concepts Guide 556...
Страница 566: ...OSPFv3 ExtremeWare XOS 11 3 Concepts Guide 566...
Страница 589: ...3 Appendixes...
Страница 590: ......
Страница 640: ...CNA Agent ExtremeWare XOS 11 3 Concepts Guide 640...
Страница 670: ...Glossary ExtremeWare XOS 11 3 Concepts Guide 670...
Страница 698: ...Index ExtremeWare XOS 11 3 Concepts Guide 698...