![]() |
Layer 3 Switching Software Feature and Configuration Guide, 12.0(4a)WX5(11a)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Bridging Configurations
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Table of ContentsBridging ConfigurationsBridging ConfigurationsThis chapter describes how to configure bridging for your switch router. For more information about the Cisco IOS commands used in this chapter, refer to the Cisco IOS command references.This chapter includes the following sections: Note You are at step 5 in the suggested process for configuring your switch router (see Table 2-1). You should have already configured the networking and routing protocols, and should be ready to proceed with configuring bridging. About BridgingCisco IOS software supports transparent bridging for Ethernet. In addition, Cisco supports all the mandatory Management Information Base (MIB) variables specified for transparent bridging in RFC 1286. The switch router can be configured to serve as both an IP and IPX router and a MAC-level bridge, bridging any traffic that cannot otherwise be routed. For example, a router routing IP traffic can also bridge the Digital local-area transport (LAT) protocol or NetBIOS traffic. To configure bridging, you must perform the following tasks:
Configuring BridgingTable 7-1 shows an example of configuring bridging for a router and an interface. Table 7-1: Configuring a Bridge Group
For additional transparent bridging configuration tasks, such as configuring bridged VLANs and routing between VLANs, as well as adjusting the Spanning-Tree Protocol, refer to the Cisco IOS documents on those subjects. Administering BridgingOnce you have set up the switch router for bridging, you can administer its operation using the commands in Table 7-2. Table 7-2: Administering Bridging
About Integrated Routing and BridgingYour network may require you to bridge local traffic within several segments while having hosts on the bridged segments reach the hosts or routers on routed networks. For example, if you are migrating bridged topologies into routed topologies, you may want to start by connecting some of the bridged segments to the routed networks. Using the integrated routing and bridging (IRB) feature, you can route a given protocol between routed interfaces and bridge groups within a single switch router. Specifically, local or unroutable traffic will be bridged among the bridged interfaces in the same bridge group, while routable traffic will be routed to other routed interfaces or bridge groups. Because bridging is in the data-link layer (Layer 2) and routing is in the network layer (Layer 3), they have different protocol configuration models. With IP, for example, bridge group interfaces belong to the same network and have a collective IP network address. In contrast, each routed interface represents a distinct network and has its own IP network address. Integrated routing and bridging uses the concept of a Bridge-Group Virtual Interface (BVI) to enable these interfaces to exchange packets for a given protocol. Layer 3 switching software supports the routing of IP and IPX between routed interfaces and bridged interfaces in the same router, in both fast-switching and process-switching paths. Before Configuring IRBConsider the following before configuring IRB:
Configuring IRBConfiguring integrated routing and bridging consists of the following two key tasks and subtasks: Step 1 Configure bridge groups and routed interfaces. (a) Enable bridging. (b) Assign bridge groups to interfaces. (c) Configure routing for desired protocols. Step 2 Configure IRB and the BVI. (a) Enable IRB. (b) Configure the BVI. (c) Enable the BVI to accept routed packets. (d) Enable routing on the BVI for desired protocols. Step 3 Verify IRB configuration. The packet is routed to the BVI and forwarded to the bridging engine. From the bridging engine, the packet exits through a bridged interface. Similarly, packets that come in on a bridged interface but are sent to a host on a routed interface go first to the BVI. Then the BVI forwards the packets to the routing engine before sending them out on the routed interface. Table 7-3 shows an example of defining a bridge group and configuring an interface. Table 7-3: Configuring Bridge Groups and Routed Interfaces
Table 7-4 shows an example of enabling and configuring IRB and BVI. Table 7-4: Configuring IRB and BVI
Table 7-5 shows an example of verifying the IRB configuration. Table 7-5: Verifying the IRB Configuration
When you have completed the configuration tasks for bridging, see "EtherChannel Configurations."
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|