Previous Section  < Day Day Up >  Next Section

Local Switching

Layer 2 switching permits you to switch Layer 2 frames between two ACs located on the same PE. These ACs can be of the same encapsulation type or different. In this section, you will configure and verify Layer 2 local switching for

  • Ethernet to Ethernet

  • ATM to ATM

  • Frame Relay to Frame Relay

  • Ethernet to Frame Relay

Configuration Flowchart for Local Switching Among Like Circuits

Figure 11-61 shows the configuration flowchart for local switching among like circuits.

Figure 11-61. Configuration Flowchart for Local Switching


Local Switching—Frame Relay to Frame Relay

Figure 11-62 shows the network topology where PE1 is connected to CE1-A and CE2-A via Frame Relay circuits. To allow CE1-A to communicate with CE2-A, PE1 needs to be configured for local switching.

Figure 11-62. Frame Relay to Frame Relay Local Switching Topology


Configuring Frame Relay to Frame Relay Local Switching

To configure the topology shown in Figure 11-62, configure local switching on PE. Configure the PE router for Frame Relay switching. Configure the interfaces to CE routers for Frame Relay encapsulation and DLCI value. Note that configuring the switched DLCI using frame-relay interface-dlci dlci switched is optional. Use the connect IOS command to configure local switching between two Frame Relay circuits. Example 11-59 shows the steps to configure local switching on PE1.

Example 11-59. Configuring Frame Relay to Frame Relay Local Switching
PE1(config)#frame-relay switching

PE1(config)#interface Serial2/0

PE1(config-if)# no ip address

PE1(config-if)# encapsulation frame-relay

PE1(config-if)# frame-relay interface-dlci 100 switched

PE1(config-fr-dlci)# frame-relay intf-type dce

PE1(config-fr-dlci)# exit

PE1(config-if)#interface Serial2/2

PE1(config-if)# no ip addressPE1(config-if)# encapsulation frame-relay

PE1(config-if)# frame-relay interface-dlci 101 switched

PE1(config-fr-dlci)# frame-relay intf-type dce

PE1(config-fr-dlci)# exit

PE1(config)#connect FR Serial2/0 100 Serial2/2 101

Frame Relay to Frame Relay Local Switching Configuration

The final relevant configuration for local switching between Frame Relay circuits is shown in Figure 11-63.

Figure 11-63. Frame Relay to Frame Relay Local Switching Configurations


Verify Frame Relay to Frame Relay Local Switching

To verify Frame Relay to Frame Relay local switching, follow these steps:

Step 1.
Verify Frame Relay connection?a class="docLink" href="#ch11ex60">Example 11-60 shows the output of show connection all, which shows that local switching is up and operational.

Example 11-60. Configuring Frame Relay to Frame Relay Local Switching
PE1#show connection all



ID   Name          Segment 1            Segment 2              State

==========================================================================

2    FR            Se2/0 100            Se2/2 101              UP

Step 2.
Verify connectivity using ping?a class="docLink" href="#ch11ex61">Example 11-61 shows that CE1-A has connectivity to CE2-A.

Example 11-61. Verifying Local Switching Connectivity
CE1-A#ping 172.16.1.2



Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms

Local Switching—Ethernet to Ethernet

Figure 11-64 shows the network topology where PE1 is connected to CE1-A and CE2-A via Ethernet. To allow CE1-A to communicate with CE2-A, PE1 needs to be configured for local switching.

Figure 11-64. Configuration for Local Switching


Configuring Ethernet to Ethernet Local Switching

To configure the topology shown in Figure 11-64, configure local switching on PE. Use the connect IOS command to configure local switching between two Ethernet interfaces. Example 11-62 shows the step to configure local switching for Ethernet on PE1.

Example 11-62. Configuring Local Switching for Ethernet on PE1
PE1(config)# connect Ethernet fastEthernet 5/0 fastEthernet 1/0

Ethernet to Ethernet Switching Configuration

The final relevant configuration for local switching between Frame Relay circuits is shown in Figure 11-65.

Figure 11-65. Final Configuration for Ethernet to Ethernet Local Switching


Verification of Ethernet to Ethernet Local Switching

To verify Ethernet to Ethernet local switching, follow these steps:

Step 1.
Verify Ethernet connection?a class="docLink" href="#ch11ex63">Example 11-63 shows the output of show connection all, which shows that local switching is up and operational.

Example 11-63. Verify Ethernet Connectivity
PE1#show connection all



ID     Name           Segment 1             Segment 2          State

=========================================================================

3      Ethernet       Fa5/0                 Fa1/0              UP

Step 2.
Verify connectivity using ping?a class="docLink" href="#ch11ex64">Example 11-64 shows that CE1-A has connectivity to CE2-A.

Example 11-64. Verify Connectivity Using Ping
CE1-A#ping 172.16.1.2



Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms

Local Switching—ATM to ATM

Figure 11-66 shows the network topology in which PE1 is connected to CE1-A and CE2-A via ATM AAL5 circuits. In order to allow CE1-A to communicate with CE2-A, PE1 needs to be configured for local switching.

Figure 11-66. ATM to ATM Local Switching Topology


Configuring ATM to ATM Local Switching

To configure the topology shown in Figure 11-66, configure local switching on PE. Example 11-65 shows the steps to configure local switching on PE1.

Example 11-65. Configuring ATM to ATM Local Switching
PE1(config)#interface atm3/0

PE1(config-if)#pvc 1/100 l2transport

PE1(config-if)#exit

PE1(config)#interface atm 4/0

PE1(config-if)# pvc 1/100 l2transport

PE1(config-if)#exit

PE1(config)#connect ATM atm 3/0 1/100 atm 4/0 1/100

Final Configurations for ATM to ATM Local Switching

The final relevant configuration for local switching between Frame Relay circuits is shown in Figure 11-67.

Figure 11-67. ATM to ATM Local Switching Final Configurations


Verify ATM to ATM Local Switching

To verify ATM to ATM local switching, follow these steps:

Step 1.
Verify ATM connection?a class="docLink" href="#ch11ex66">Example 11-66 shows the output of show connection all, which shows that local switching is up and operational.

Example 11-66. Verifying ATM to ATM Local Switching
PE1#show connection all



ID    Name           Segment 1             Segment 2            State

==========================================================================

4     ATM            AT3/0 AAL5 1/100      AT4/0 AAL5 1/100     UP

Step 2.
Verify connectivity using ping?a class="docLink" href="#ch11ex67">Example 11-67 shows that CE1-A has connectivity to CE2-A.

Example 11-67. Verification of ATM to ATM Local Switching
CE1-A#ping 172.16.1.2



Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms

Local Switching—Ethernet to Frame Relay

Figure 11-68 shows the network topology where PE1 is connected to CE1-A and CE2-A via Ethernet and Frame Relay circuits, respectively. To allow CE1-A to communicate with CE2-A, PE1 needs to be configured for local switching.

Figure 11-68. Ethernet to Frame Relay Local Switching Topology


Configuring Ethernet to Frame Relay Local Switching

To configure the topology shown in Figure 11-68, configure local switching on PE. Example 11-68 shows the steps to configure local switching on PE1.

Example 11-68. Configuring Frame Relay to Ethernet Local Switching
PE1(config)#frame-relay switching

PE1(config-if)#interface Serial2/2

PE1(config-if)# no ip address

PE1(config-if)# encapsulation frame-relay

PE1(config-fr-dlci)# frame-relay intf-type dce

PE1(config-fr-dlci)# exit

PE1(config)# connect ETH-FR fastEthernet 5/0 s2/2 100 interworking ip

Final Configurations for Implementation of Ethernet to Frame Relay Local Switching

The final relevant configuration for local switching between Ethernet and Frame Relay circuits is illustrated in Figure 11-69.

Figure 11-69. Configuration for Local Switching Between Ethernet and Frame Relay Circuits


Verify Ethernet to Frame Relay Local Switching

To verify Ethernet to Frame Relay local switching, follow these steps:

Step 1.
Verify Frame Relay connection?a class="docLink" href="#ch11ex69">Example 11-69 shows the output of show connection all, which shows that local switching is up and operational.

Example 11-69. Verify Frame Relay to Ethernet Local Switching
PE1#show connection all



ID    Name            Segment 1              Segment 2          State

==========================================================================

11    ETH-FR          Fa5/0                  Se2/2 100          UP

Step 2.
Verify connectivity using ping?a class="docLink" href="#ch11ex70">Example 11-70 shows that CE1-A has connectivity to CE2-A.

Example 11-70. Verify Connectivity in Frame Relay to Ethernet Local Switching
CE1-A#ping 172.16.1.2



Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 172.16.1.2, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/4 ms

    Previous Section  < Day Day Up >  Next Section