|
|
< Day Day Up > |
|
Local SwitchingLayer 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 Configuration Flowchart for Local Switching Among Like CircuitsFigure 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 RelayFigure 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 SwitchingTo 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 SwitchingPE1(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 ConfigurationThe 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 SwitchingTo verify Frame Relay to Frame Relay local switching, follow these steps: Local Switching—Ethernet to EthernetFigure 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 SwitchingTo 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 PE1PE1(config)# connect Ethernet fastEthernet 5/0 fastEthernet 1/0Ethernet to Ethernet Switching ConfigurationThe 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 SwitchingTo verify Ethernet to Ethernet local switching, follow these steps: Local Switching—ATM to ATMFigure 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 SwitchingTo 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 SwitchingPE1(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 SwitchingThe 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 SwitchingTo verify ATM to ATM local switching, follow these steps: Local Switching—Ethernet to Frame RelayFigure 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 SwitchingTo 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 SwitchingPE1(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 SwitchingThe 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 SwitchingTo verify Ethernet to Frame Relay local switching, follow these steps: |
|
|
< Day Day Up > |
|