cc/td/doc/product/l3sw/2948g-l3/rel_12_0/7wx515a
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

Configuring Bridging

Configuring Bridging

This chapter describes how to configure bridging for the Catalyst 2948G-L3 switch router. For more information about the Cisco IOS commands used in this chapter, refer to the Cisco IOS Command Reference publication.This chapter includes the following sections:


Note You are at Step 6 in the suggested process for configuring your switch router (see Table 2-1). This is an optional step. You should have already configured the networking and routing protocols before proceeding with configuring bridging as an optional step.

Note The 24K content addressable memory (CAM) on the Catalyst 2948G-L3 is shared by Layer 2 entries, IP routing, IP multicast routing, and Novell IPX routing.

About Bridging

Cisco IOS software supports transparent bridging for Fast Ethernet and Gigabit Ethernet. In addition, Cisco supports all the mandatory Management Information Base (MIB) variables specified for transparent bridging in RFC 1286.

Cisco IOS software bridging functionality combines the advantages of a spanning-tree bridge and a full multiprotocol router. This combination provides the speed and protocol transparency of an adaptive spanning-tree bridge, along with the functionality, reliability, and security of a router.

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 Bridging

To configure bridging for a switch router on an interface, use the following steps beginning in global configuration mode.

Step Command Purpose

1 . 

2948G-L3(config)# bridge bridge-group-number protocol ieee

Assigns a bridge group number and defines the IEEE 802.1D Spanning-Tree Protocol.

2 . 

2948G-L3(config)# bridge bridge-group-number priority number

Assigns a specific priority to the bridge, assisting in the spanning-tree root definition. The lower the priority, the more likely the bridge will be selected as the root.

3 . 

2948G-L3(config)# interface f1

2948G-L3(config-if)#

Enters interface configuration mode to configure the Fast Ethernet interface f1.

4 . 

2948G-L3(config-if)# bridge-group bridge-group-number

Assigns a network interface to a bridge group.

5 . 

2948G-L3(config-if)# interface f2

Enters Ethernet interface configuration mode to configure the Fast Ethernet interface f2.

6 . 

2948G-L3(config-if)# bridge-group bridge-group-number

Assigns a network interface to a bridge group.

7 . 

2948G-L3(config-if)# Ctrl-Z

2948G-L3#

Returns to privileged EXEC mode.

8 . 

2948G-L3# copy running-config startup-config

Saves your configuration changes to NVRAM.

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.

Monitoring and Verifying Bridging

Once you have set up the switch router for bridging, you can administer its operation using the following commands.

Command Purpose

clear bridge bridge-group-number

Removes any learned entries from the forwarding database and clears the transmit and receive counts for any statically configured forwarding entries.

show bridge bridge-group-number | interface address | mask

Displays classes of entries in the bridge forwarding database.

show bridge group verbose

Displays information about configured bridge groups.

show bridge vlan

Displays IEEE 802.10 transparently bridged virtual LAN configuration.

show span

Displays the spanning-tree topology known to the Catalyst 2948G-L3 switch router.

show vlans

Displays a summary of virtual LAN subinterfaces.

About Integrated Routing and Bridging

Your 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.

A BVI is a virtual interface within the switch router that acts like a normal routed interface. A BVI does not support bridging, but it actually represents the corresponding bridge group to routed interfaces within the switch router. The interface number is the link between the BVI and the bridge group.

Layer 3 switching software supports the routing of IP and IPX between routed interfaces and bridged interfaces in the same router.

Before Configuring IRB

Consider the following before configuring IRB:

Configuring IRB

Configuring integrated routing and bridging consists of the following key tasks and subtasks:

Step 1 Configure bridge groups and routed interfaces.

Step 2 Configure IRB and the BVI.

Step 3 Verify IRB configuration.

When you configure the BVI and enable routing on it, packets that come in on a routed interface destined for a host on a segment that is in a bridge group complete the following process.

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.

To define a bridge group and configure an interface in the bridge group, use the following steps beginning in global configuration mode.

Step Command Purpose
1

2948G-L3(config)# bridge bridge-group protocol ieee

Defines one or more bridge groups.

2

2948G-L3(config)# interface f1

2948G-L3(config-if)#

Enters interface configuration mode to configure the Fast Ethernet interface.

3

2948G-L3(config-if)# bridge-group bridge-group

Assigns a bridge group number to the designated interface.

4

2948G-L3(config-if)# end

2948G-L3#

Returns to global configuration mode.

To enable and configure IRB and BVI, use the following steps beginning in global configuration mode.

Step Command Purpose

1 . 

2948G-L3(config)# bridge irb

Enables IRB. Allows routing of traffic from the bridged interfaces.

2 . 

2948G-L3(config)# interface bvi bridge-group

2948G-L3(config-if)#

Configures the BVI by assigning the corresponding bridge group's number to the BVI. Each bridge group can only have one corresponding BVI.

3 . 

2948G-L3(config-if)# ip address ip-address ip-address-subnet-mask

Configures protocol addresses on routed interfaces. This step shows an example for IP.

4 . 

2948G-L3(config-if)# exit

2948G-L3(config)#

Exits interface configuration mode.

5 . 

2948G-L3(config)# bridge bridge-group route protocol

Enables a BVI to accept and route routable packets received from its corresponding bridge group.

You must issue this command for each protocol that you want the BVI to route from its corresponding bridge group to other routed interfaces.

6 . 

2948G-L3(config)# end

2948G-L3#

Exits interface configuration mode.

7 . 

2948G-L3# copy running-config startup-config

Saves your configuration changes to NVRAM.

Monitoring and Verifying IRB

You can verify the IRB configuration by using the following commands.

Command Purpose

show interfaces bvi interface-name

Shows BVI information, such as the BVI MAC address and processing statistics.

show interfaces irb

Shows BVI information:

  • Protocols that this bridged interface can route to the other
    routed interface if this packet is routable

  • Protocols that this bridged interface bridges


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed May 3 14:44:49 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.