BVI Cisco
BVI Cisco
Bridging Configurations
This 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:
• About Bridging
• Configuring Bridging
• Administering Bridging
• About Integrated Routing and Bridging
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 Bridging
Cisco 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.
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:
• In Global configuration mode:
— Select Spanning-Tree Protocol.
— Assign a priority to the bridge (optional).
• In Interface configuration mode:
— Determine which interfaces belong to the same bridge group.
These interfaces will be part of the same spanning tree. This allows the switch router to
bridge all nonrouted traffic among the network interfaces comprising the bridge group.
Interfaces not participating in a bridge group cannot forward bridged traffic.
If the packet's destination address is known in the bridge table, it is forwarded on a single
interface in the bridge group. If the packet's destination is unknown in the bridge table, it is
flooded on all forwarding interfaces in the bridge group. The bridge places source addresses
in the bridge table as it learns them during the process of bridging.
A separate spanning-tree process runs for each configured bridge group. Each bridge group
participates in a separate spanning tree. A bridge group establishes a spanning tree based on
the BPDUs it receives on only its member interfaces.
— Assign a cost to the outgoing interface (optional).
Configuring Bridging
Table 7-1 shows an example of configuring bridging for a router and an interface.
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 Bridging
Once you have set up the switch router for bridging, you can administer its operation using the
commands in Table 7-2.
Command Displays
clear bridge bridge_group_number Remove any learned entries from the forwarding
database and clear the transmit and receive counts
for any statically configured forwarding entries.
clear vlan statistics Remove virtual LAN statistics from any static or
system configured entries.
show bridge bridge_group_number | interface address | mask Display classes of entries in the bridge forwarding
database.
show bridge bridge_group circuit-group circuit_group | Display the interfaces configured in each circuit
src_mac_address | dest_mac_address group and show whether they are participating in
load distribution.
show bridge group verbose Display information about configured bridge groups.
show bridge vlan Display IEEE 802.10 transparently bridged virtual
LAN configuration.
show span Display the spanning-tree topology known to the
Catalyst 8500 campus switch router.
show vlans Display a summary of virtual LAN subinterfaces.
Configuring IRB
Configuring 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.
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.
Table 7-3 shows an example of defining a bridge group and configuring an interface.
Table 7-4 shows an example of enabling and configuring IRB and BVI.
Command Displays
show interfaces bvi interface_name BVI information, such as the BVI MAC address and processing statistics
show interfaces irb 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
• Entries in the software MAC-address filter
When you have completed the configuration tasks for bridging, see Chapter 8, “EtherChannel
Configurations.”