wrench-simpleExercice 4.3.8 : Configure Layer 3 Switching and Inter-VLAN Routing

Part 1: Configure Layer 3 Switching

Step 1: Configure G0/2 as a Routed Port

  1. Command Sequence:

    MLS(config)# interface g0/2
    MLS(config-if)# no switchport
    MLS(config-if)# ip address 209.165.200.225 255.255.255.252
  2. Verification:

    • Ping 209.165.200.226:

      MLS# ping 209.165.200.226

      Output:

      Type escape sequence to abort.
      Sending 5, 100-byte ICMP Echos to 209.165.200.226, timeout is 2 seconds:
      .!!!!
      Success rate is 80 percent (4/5), round-trip min/avg/max = 0/0/0 ms

Part 2: Configure Inter-VLAN Routing

Step 1: Add VLANs

  1. Command Sequence:

Step 2: Configure SVI Interfaces

  1. Commands for VLAN 10:

  2. Commands for VLAN 20:

  3. Commands for VLAN 30:

  4. Commands for VLAN 99:

Step 3: Configure Trunking

  1. On MLS:

  2. On S1:

Step 4: Enable Routing

  1. Verify routing:

  2. Enable routing:

  3. Verify active routes:

Step 5: Verify End-to-End Connectivity

  • Ping tests:

    • From PC0 to PC3, PC1 to PC4, and PC2 to PC5.

    • Verify inter-VLAN and external connectivity.


Part 3: Configure IPv6 Inter-VLAN Routing

Step 1: Enable IPv6 Routing

  1. Command:

Step 2: Configure SVI for IPv6

  1. Example for VLAN 10:

  2. Repeat for VLANs 20 and 30.

Step 3: Configure IPv6 Address on G0/2

  1. Command:

Step 4: Verify IPv6 Routing and Connectivity

  • Use the show ipv6 route command:

  • Perform IPv6 ping tests:

    • From PC3, PC4, and PC5 to MLS.

    • Verify inter-VLAN IPv6 routing.

Last updated