|
|
This chapter describes how to configure bridging for your Server Load Balancing (SLB) switch. For further information about the commands used in this chapter, refer to the command reference publications in the Cisco IOS documentation set and to "Command Reference."
This chapter includes the following sections:
![]() |
Note You are at Step 7 in the suggested process for configuring your SLB switch. See the "Configuring Your SLB Switch" section. By now you have set up the hardware and are ready to proceed with configuring 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.
The SLB switch can be configured to serve as both an IP router and a MAC-level bridge, bridging any traffic that cannot otherwise be routed.
To configure bridging, you must perform the following tasks:
To configure bridging for a router and an interface, perform the following steps:
| Command | Purpose | |||
|---|---|---|---|---|
Step 1 | SLB-Switch(config)# bridge bridge-group
protocol |
| ||
Step 2 | SLB-Switch(config)# bridge bridge-group priority number | |||
Step 3 | SLB-Switch(config)# interface | Enters Ethernet interface configuration mode to configure the Fast Ethernet interface. | ||
Step 4 | SLB-Switch(config-if)# bridge-group bridge-group | |||
Step 5 | SLB-Switch(config-if)# interface | Selects the next interface if you need to assign additional interfaces to a bridge group. | ||
Step 6 | SLB-Switch(config-if)# end SLB-Switch# | Returns to privileged EXEC mode. | ||
Step 7 | SLB-Switch# copy system:running-config nvram:startup-config | Saves your configuration changes to NVRAM. |
For additional transparent bridging configuration tasks, such as configuring bridged VLANs, routing between VLANs, and adjusting the Spanning-Tree Protocol, refer to the following Cisco IOS software publications:
Command | Purpose |
|---|---|
SLB-Switch# clear bridgebridge-group | |
SLB-Switch# clear vlan statistics |
|
SLB-Switch# show bridge [bridge-group] |
|
SLB-Switch# show bridge [bridge-group] circuit-group [circuit-group] [src-mac-address] [dest-mac-address] |
|
SLB-Switch# show bridge group verbose |
|
SLB-Switch# show bridge vlan |
|
SLB-Switch# show span |
|
SLB-Switch# show vlans |
|
Your network might 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 might 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 SLB switch. Specifically, local or unroutable traffic is bridged among the bridged interfaces in the same bridge group, while routable traffic is 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 between routed interfaces and bridged interfaces in the same router, in both fast-switching and process-switching paths.
Consider the following before configuring IRB:
Configuring integrated routing and bridging consists of the following tasks:
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:
Similarly, packets that come in on a bridged interface but are destined for a host on a routed interface complete the following process:
To define a bridge group and configure an interface in the bridge group, use the following steps beginning in global configuration mode:
| Command | Purpose | |
|---|---|---|
Step 1 | SLB-Switch(config)# bridge bridge-group
protocol {ieee | dec}
| Defines one or more bridge groups. |
Step 2 | SLB-Switch(config)# interface | Enters Ethernet interface configuration mode to configure the Fast or Gigabit Ethernet interface. |
Step 3 | SLB-Switch(config-if)# bridge-group bridge-group | Assigns a bridge group number to the designated interface. |
Step 4 | SLB-Switch(config-if)# exit | Returns to global configuration mode. |
To enable and configure IRB and BVI, perform the following steps:
| Command | Purpose | |
|---|---|---|
Step 1 | SLB-Switch(config)# bridge irb | Enables IRB, allowing routing of traffic from the bridged interfaces. |
Step 2 | SLB-Switch(config)# interface bvi bridge-group SLB-Switch(config-if)# | |
Step 3 | SLB-Switch(config-if)# ip address ip-address subnet-mask | Configures protocol addresses on routed interfaces. This step shows an example for IP. Optionally, you can configure additional routing attributes to the BVI. |
Step 4 | SLB-Switch(config-if)# exit SLB-Switch(config)# | Exits interface configuration mode. |
Step 5 | SLB-Switch(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. |
Step 6 | SLB-Switch(config)# end SLB-Switch# | Exits global configuration mode. Optionally, you can configure additional routing attributes to the BVI at this point. |
Step 7 | SLB-Switch# copy system:running-config nvram:startup-config | Saves your configuration changes to NVRAM. |
For a complete configuration example of IRB using BVI, see the "Example of an SLB and Layer 3 Switch with ISL, VLAN, and BVI with GEC" section.
To verify the IRB configuration, use the following commands:
Command | Purpose |
|---|---|
SLB-Switch# show interfaces bvi interface-name |
|
SLB-Switch# show interfaces irb |
|
When you have completed the configuration tasks for bridging, see "Configuring EtherChannel."
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Thu Sep 28 15:21:13 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.