4.4.9 Packet Tracer - Troubleshoot Inter-VLAN Routing – Physical Mode Answers
Topology
Addressing Table
| Device | Interface | IP Address | Subnet Mask | Default Gateway |
|---|---|---|---|---|
| R1 | G0/0/1.3 | 10.3.0.1 | 255.255.255.0 | N/A |
| G0/0/1.4 | 10.4.0.1 | 255.255.255.0 | ||
| G0/0/1.13 | 10.13.0.1 | 255.255.255.0 | ||
| S1 | VLAN 3 | 10.3.0.11 | 255.255.255.0 | 10.3.0.1 |
| S2 | VLAN 3 | 10.3.0.12 | 255.255.255.0 | 10.3.0.1 |
| PC-A | NIC | 10.4.0.50 | 255.255.255.0 | 10.4.0.1 |
| PC-B | NIC | 10.13.0.50 | 255.255.255.0 | 10.13.0.1 |
VLAN Table
| VLAN | Name | Interface Assigned |
|---|---|---|
| 3 | Management | S1: VLAN 3 S2: VLAN 3 |
| 4 | Operations | S1: F0/6 |
| 7 | ParkingLot | S1: F0/2-4, F0/7-24, G0/1-2 S2: F0/2-17, F0/19-24, G0/1-2 |
| 8 | Native | N/A |
| 13 | Maintenance | S2: F0/18 |
Objectives
- Part 1: Evaluate Network Operation
- Part 2: Gather Information, Create an Action Plan, and Implement Corrections
Background / Scenario
All the network devices in this Packet Tracer Physical Mode (PTPM) activity have been preconfigured to include intentional errors that are keeping the inter-VLAN routing from working. Your task is to evaluate the network, identify, and correct the configuration errors to restore full inter-VLAN connectivity. You may find errors with the configurations which are not directly related to inter-VLAN routing. These errors impact the ability of the network devices to perform this function.
Note: The design approach used in this activity is to assess your ability to configure and troubleshoot interVLAN routing only. This design may not reflect networking best practices.
Contents
- Part 1: Evaluate Network Operation (ping tests)
- Part 2: Gather Information and Implement Corrections (Problems 1, 2, 3, 4, 5, 6; Fixes 1, 2, 3, 4, 5, 6)
- Final verification (requirements check)
- Device Running Configuration (Before Fix)
- Discrepancy Table
- Device Configs - Final
Instructions
Part 1: Evaluate Network Operation
Requirements:
- No VLAN 7 traffic is allowed on the trunks because there are no devices in VLAN 7.
- VLAN 8 is the native VLAN.
- All trunks are static.
- End to end connectivity.
a. Use the laptop computer and appropriate cable to console into the network devices for testing and configuration purposes. The login password on all network devices is cisco and the enable password is class. You can click and drag the console connection from the console port of one device to another, but you will have to start a new terminal session.
b. Use the ping command to test the following criteria and record the results in the table below.
| From | To | Ping Results |
|---|---|---|
| R1 | S1 VLAN 3 (10.3.0.11) | Unsuccessful |
| S2 VLAN 3 (10.3.0.12) | Unsuccessful | |
| PC-A (10.4.0.50) | Unsuccessful | |
| PC-B (10.13.0.50) | Unsuccessful | |
| S1 | S2 VLAN 3 (10.3.0.12) | Unsuccessful |
| PC-A (10.4.0.50) | Unsuccessful | |
| PC-B (10.13.0.50) | Unsuccessful | |
| S2 | PC-A (10.4.0.50) | Unsuccessful |
| PC-B (10.13.0.50) | Unsuccessful |
Ping outputs
Also check the IP settings of the two PCs:
Part 2: Gather Information, Create an Action Plan, and Implement Corrections
a. For each requirement that is not met, gather information by examining the running configuration and the routing tables to develop a hypothesis for what is causing the malfunction.
How to reach the devices
Connect the console cable from the laptop to the device you want to check (drag the cable to another device and open a new terminal session). Log in with cisco, then type enable and enter class. Follow the path of the traffic: R1 > S1 F0/5 > S1 F0/1 > S2 F0/1.
Problem 1: R1 – the native VLAN is set on the wrong subinterface
R1# show running-config | section interface GigabitEthernet0/0/1 interface GigabitEthernet0/0/1 no ip address duplex auto speed auto interface GigabitEthernet0/0/1.3 encapsulation dot1Q 3 ip address 10.3.0.1 255.255.255.0 interface GigabitEthernet0/0/1.4 encapsulation dot1Q 4 native ip address 10.4.0.1 255.255.255.0 interface GigabitEthernet0/0/1.8 encapsulation dot1Q 8 no ip address interface GigabitEthernet0/0/1.13 encapsulation dot1Q 13 ip address 10.13.0.1 255.255.255.0
Problem 2: S1 – F0/5 (link to R1) is an access port
S1# show interfaces fastethernet 0/5 switchport Name: Fa0/5 Switchport: Enabled Administrative Mode: static access Operational Mode: static access Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: native Negotiation of Trunking: Off Access Mode VLAN: 3 (Management) Trunking Native Mode VLAN: 1 (default) Voice VLAN: none Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Trunking VLANs Enabled: All Pruning VLANs Enabled: 2-1001 Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Unknown unicast blocked: disabled Unknown multicast blocked: disabled Appliance trust: none
Problem 3: S1 – F0/1 (link to S2) has native VLAN 1 and an incomplete allowed list
S1# show interfaces trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 1 Port Vlans allowed on trunk Fa0/1 4,8,13 Port Vlans allowed and active in management domain Fa0/1 4,8 Port Vlans in spanning tree forwarding state and not pruned Fa0/1 4
Problem 4: S2 – F0/1 (link to S1) is missing VLANs 3 and 13
S2# show interfaces trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 8 Port Vlans allowed on trunk Fa0/1 4,8 Port Vlans allowed and active in management domain Fa0/1 4,8 Port Vlans in spanning tree forwarding state and not pruned Fa0/1 4
S2# show vlan brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active 3 Management active 4 Operations active 7 ParkingLot active Fa0/2, Fa0/3, Fa0/4, Fa0/5 Fa0/6, Fa0/7, Fa0/8, Fa0/9 Fa0/10, Fa0/11, Fa0/12, Fa0/13 Fa0/14, Fa0/15, Fa0/16, Fa0/17 Fa0/19, Fa0/20, Fa0/21, Fa0/22 Fa0/23, Fa0/24, Gig0/1, Gig0/2 8 Native active 13 Maintenance active Fa0/18 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active
Problem 5: S1 – VLAN 13 does not exist
S1# show vlan brief VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1 default active 3 Management active Fa0/5 4 Operations active Fa0/6 7 ParkingLot active Fa0/2, Fa0/3, Fa0/4, Fa0/7 Fa0/8, Fa0/9, Fa0/10, Fa0/11 Fa0/12, Fa0/13, Fa0/14, Fa0/15 Fa0/16, Fa0/17, Fa0/18, Fa0/19 Fa0/20, Fa0/21, Fa0/22, Fa0/23 Fa0/24, Gig0/1, Gig0/2 8 Native active 1002 fddi-default active 1003 token-ring-default active 1004 fddinet-default active 1005 trnet-default active
b. Create an action plan that you think will fix the issue. Develop a list of all the commands you intend to issue to fix the issue, and a list of all the commands you need to revert the configuration, should your action plan fail to correct the issue.
Hint: If you need to reset a switchport to default configuration, use the default interface interface name command.
As an example for F0/10:
S1(config)# default interface fastethernet 0/10
c. Execute your action plans one at a time for each criterion that fails and record the fix actions.
Fix 1: R1: Remove the native keyword from G0/0/1.4 and make G0/0/1.8 the native VLAN subinterface.
R1(config)# interface gigabitethernet 0/0/1.4 R1(config-subif)# encapsulation dot1Q 4 R1(config-subif)# ip address 10.4.0.1 255.255.255.0 R1(config-subif)# interface gigabitethernet 0/0/1.8 R1(config-subif)# encapsulation dot1Q 8 native
R1# show running-config | section interface GigabitEthernet0/0/1 interface GigabitEthernet0/0/1 no ip address duplex auto speed auto interface GigabitEthernet0/0/1.3 encapsulation dot1Q 3 ip address 10.3.0.1 255.255.255.0 interface GigabitEthernet0/0/1.4 encapsulation dot1Q 4 ip address 10.4.0.1 255.255.255.0 interface GigabitEthernet0/0/1.8 encapsulation dot1Q 8 native no ip address interface GigabitEthernet0/0/1.13 encapsulation dot1Q 13 ip address 10.13.0.1 255.255.255.0
Fix 2: S1: Reset F0/5 (link to R1) and configure it as a static trunk with native VLAN 8.
S1(config)# default interface fastethernet 0/5 S1(config)# interface fastethernet 0/5 S1(config-if)# switchport mode trunk S1(config-if)# switchport trunk native vlan 8 S1(config-if)# switchport trunk allowed vlan 3,4,8,13
S1# show interfaces fastethernet 0/5 switchport Name: Fa0/5 Switchport: Enabled Administrative Mode: trunk Operational Mode: trunk Administrative Trunking Encapsulation: dot1q Operational Trunking Encapsulation: dot1q Negotiation of Trunking: On Access Mode VLAN: 1 (default) Trunking Native Mode VLAN: 8 (Native) Voice VLAN: none Administrative private-vlan host-association: none Administrative private-vlan mapping: none Administrative private-vlan trunk native VLAN: none Administrative private-vlan trunk encapsulation: dot1q Administrative private-vlan trunk normal VLANs: none Administrative private-vlan trunk private VLANs: none Operational private-vlan: none Trunking VLANs Enabled: 3-4,8,13 Pruning VLANs Enabled: 2-1001 Capture Mode Disabled Capture VLANs Allowed: ALL Protected: false Unknown unicast blocked: disabled Unknown multicast blocked: disabled Appliance trust: none
Fix 3: S1: Set native VLAN 8 on F0/1 (link to S2) and allow VLANs 3, 4, 8, and 13.
S1(config)# interface fastethernet 0/1 S1(config-if)# switchport trunk native vlan 8 S1(config-if)# switchport trunk allowed vlan 3,4,8,13
Fix 4: S2: Allow VLANs 3, 4, 8, and 13 on F0/1 (link to S1).
S2(config)# interface fastethernet 0/1 S2(config-if)# switchport trunk allowed vlan 3,4,8,13
S2# show interfaces trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 8 Port Vlans allowed on trunk Fa0/1 3-4,8,13 Port Vlans allowed and active in management domain Fa0/1 3,4,8,13 Port Vlans in spanning tree forwarding state and not pruned Fa0/1 3,4,8,13
Fix 5: S1: Create VLAN 13.
S1(config)# vlan 13 S1(config-vlan)# name Maintenance
S1# show vlan brief
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active
3 Management active
4 Operations active Fa0/6
7 ParkingLot active Fa0/2, Fa0/3, Fa0/4, Fa0/7
Fa0/8, Fa0/9, Fa0/10, Fa0/11
Fa0/12, Fa0/13, Fa0/14, Fa0/15
Fa0/16, Fa0/17, Fa0/18, Fa0/19
Fa0/20, Fa0/21, Fa0/22, Fa0/23
Fa0/24, Gig0/1, Gig0/2
8 Native active
13 Maintenance active
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default activeFinal verification
Note: Wait about 30 seconds (or click Fast Forward Time) so that spanning tree finishes converging on the trunks, then verify:
S1# show interfaces trunk Port Mode Encapsulation Status Native vlan Fa0/1 on 802.1q trunking 8 Fa0/5 on 802.1q trunking 8 Port Vlans allowed on trunk Fa0/1 3-4,8,13 Fa0/5 3-4,8,13 Port Vlans allowed and active in management domain Fa0/1 3,4,8,13 Fa0/5 3,4,8,13 Port Vlans in spanning tree forwarding state and not pruned Fa0/1 3,4,8,13 Fa0/5 3,4,8,13
Repeat the ping tests from Part 1:
Problem 6: S2 – the VLAN 3 interface stays up/down
After the five fixes, R1 and S1 reach both PCs, but nothing reaches S2 (10.3.0.12) and S2 cannot ping the PCs. Check the S2 interfaces:
S2# show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/1 unassigned YES manual up up
FastEthernet0/2 unassigned YES manual administratively down down
FastEthernet0/3 unassigned YES manual administratively down down
FastEthernet0/4 unassigned YES manual administratively down down
FastEthernet0/5 unassigned YES manual administratively down down
FastEthernet0/6 unassigned YES manual administratively down down
FastEthernet0/7 unassigned YES manual administratively down down
FastEthernet0/8 unassigned YES manual administratively down down
FastEthernet0/9 unassigned YES manual administratively down down
FastEthernet0/10 unassigned YES manual administratively down down
FastEthernet0/11 unassigned YES manual administratively down down
FastEthernet0/12 unassigned YES manual administratively down down
FastEthernet0/13 unassigned YES manual administratively down down
FastEthernet0/14 unassigned YES manual administratively down down
FastEthernet0/15 unassigned YES manual administratively down down
FastEthernet0/16 unassigned YES manual administratively down down
FastEthernet0/17 unassigned YES manual administratively down down
FastEthernet0/18 unassigned YES manual up up
FastEthernet0/19 unassigned YES manual administratively down down
FastEthernet0/20 unassigned YES manual administratively down down
FastEthernet0/21 unassigned YES manual administratively down down
FastEthernet0/22 unassigned YES manual administratively down down
FastEthernet0/23 unassigned YES manual administratively down down
FastEthernet0/24 unassigned YES manual administratively down down
GigabitEthernet0/1 unassigned YES manual administratively down down
GigabitEthernet0/2 unassigned YES manual administratively down down
Vlan1 unassigned YES manual administratively down down
Vlan3 10.3.0.12 YES manual up downS2# show running-config | section interface Vlan3 interface Vlan3 ip address 10.3.0.12 255.255.255.0
Fix 6: S2: Reset the VLAN 3 interface so that it comes up.
S2(config)# interface vlan 3
S2(config-if)# shutdown
S2(config-if)# no shutdown
%LINK-5-CHANGED: Interface Vlan3, changed state to administratively down
%LINK-3-UPDOWN: Interface Vlan3, changed state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan3, changed state to upS2# show ip interface brief
Interface IP-Address OK? Method Status Protocol
FastEthernet0/1 unassigned YES manual up up
FastEthernet0/2 unassigned YES manual administratively down down
FastEthernet0/3 unassigned YES manual administratively down down
FastEthernet0/4 unassigned YES manual administratively down down
FastEthernet0/5 unassigned YES manual administratively down down
FastEthernet0/6 unassigned YES manual administratively down down
FastEthernet0/7 unassigned YES manual administratively down down
FastEthernet0/8 unassigned YES manual administratively down down
FastEthernet0/9 unassigned YES manual administratively down down
FastEthernet0/10 unassigned YES manual administratively down down
FastEthernet0/11 unassigned YES manual administratively down down
FastEthernet0/12 unassigned YES manual administratively down down
FastEthernet0/13 unassigned YES manual administratively down down
FastEthernet0/14 unassigned YES manual administratively down down
FastEthernet0/15 unassigned YES manual administratively down down
FastEthernet0/16 unassigned YES manual administratively down down
FastEthernet0/17 unassigned YES manual administratively down down
FastEthernet0/18 unassigned YES manual up up
FastEthernet0/19 unassigned YES manual administratively down down
FastEthernet0/20 unassigned YES manual administratively down down
FastEthernet0/21 unassigned YES manual administratively down down
FastEthernet0/22 unassigned YES manual administratively down down
FastEthernet0/23 unassigned YES manual administratively down down
FastEthernet0/24 unassigned YES manual administratively down down
GigabitEthernet0/1 unassigned YES manual administratively down down
GigabitEthernet0/2 unassigned YES manual administratively down down
Vlan1 unassigned YES manual administratively down down
Vlan3 10.3.0.12 YES manual up upS2# ping 10.3.0.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.3.0.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 msS2# ping 10.4.0.50
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.4.0.50, timeout is 2 seconds:
.!!!!
Success rate is 80 percent (4/5), round-trip min/avg/max = 0/0/0 msRequirements check
| Requirement | Met? | Evidence |
|---|---|---|
| No VLAN 7 traffic on the trunks | ✔ | S1 Fa0/1 and Fa0/5 allow only 3-4,8,13 (final check); S2 Fa0/1 allows only 3-4,8,13 (Fix 4) |
| VLAN 8 is the native VLAN | ✔ | Native vlan 8 on S1 Fa0/1, Fa0/5 and S2 Fa0/1; R1 encapsulation dot1Q 8 native on G0/0/1.8 (Fix 1) |
| All trunks are static | ✔ | Mode on on every trunk port in show interfaces trunk; S1 F0/5 Administrative Mode trunk (Fix 2) |
| End-to-end connectivity | ✔ | R1 and S1 reach both PCs (final pings); S2 reaches its gateway and PC-A after Fix 6; the PCs use the correct gateways (Part 1) |
Device Running Configuration (Before Fix)
Discrepancy Table
| # | Device | Error | Evidence | Fix |
|---|---|---|---|---|
| 1 | R1 | Native VLAN flag placed on the wrong subinterface — G0/0/1.4 has encapsulation dot1Q 4 native instead of G0/0/1.8 |
Running-config shows encapsulation dot1Q 4 native under G0/0/1.4; both S1 and S2 configure switchport trunk native vlan 8, confirming VLAN 8 is the intended native VLAN, not VLAN 4 |
Under interface gigabitethernet 0/0/1.4, re-enter encapsulation dot1Q 4 (without native) and re-enter ip address 10.4.0.1 255.255.255.0; then apply encapsulation dot1Q 8 native under interface gigabitethernet 0/0/1.8. Only one subinterface per physical port can be native, so remove the flag from .4 first |
| 2 | S1 | F0/5 (uplink to R1) is configured as an access port in VLAN 3 instead of a trunk |
Running-config shows switchport access vlan 3 / switchport mode access under FastEthernet0/5, but the topology requires this link to carry VLAN 3, 4, 8, and 13 to R1's subinterfaces |
default interface fastethernet 0/5 (per the lab's own hint) to clear the leftover access config, then rebuild it as switchport mode trunk, switchport trunk native vlan 8, switchport trunk allowed vlan 3,4,8,13 |
| 3 | S1 | F0/1 (uplink to S2) has no native VLAN set (defaults to VLAN 1) and its allowed-VLAN list is incomplete |
Running-config shows switchport trunk allowed vlan 4,8,13 with no switchport trunk native vlan line; the embedded syslog %CDP-4-NATIVE_VLAN_MISMATCH: ...FastEthernet0/1 (1), with S2 FastEthernet0/1 (8) directly confirms the mismatch |
Add switchport trunk native vlan 8 and change the allowed list to switchport trunk allowed vlan 3,4,8,13 — VLAN 3 is needed for S1/S2/R1 management reachability, VLAN 13 for PC-B's traffic; VLAN 7 stays excluded as required |
| 4 | S2 | F0/1 (uplink to S1) is missing both VLAN 3 and VLAN 13 from the allowed list |
Running-config shows switchport trunk allowed vlan 4,8; native VLAN 8 is already correctly set here (S1 was the side missing it) |
Change the allowed list to switchport trunk allowed vlan 3,4,8,13, matching the corrected S1 side |
| 5 | S1 | VLAN 13 was never created in S1's local VLAN database | show vlan brief on S1 lists VLANs 1, 3, 4, 7, and 8 only; VLAN 13 (Maintenance) exists on S2 but not on S1, so PC-B traffic cannot transit S1 to R1 |
Add vlan 13 / name Maintenance — harmless to re-declare even if it already exists |
| 6 | S2 | interface Vlan3 stays up/down after the trunk is corrected, so S2 cannot reach any device |
show ip interface brief shows Vlan3 10.3.0.12 ... up down; R1 and S1 cannot ping 10.3.0.12, and S2 cannot ping PC-A or PC-B, while all other tests succeed |
Under interface vlan 3, enter shutdown and then no shutdown; the line protocol comes up |
Device Configs - Final
ROUTER R1
! ============================================================== !--- 4.4.9 Packet Tracer - Troubleshoot Inter-VLAN Routing - Physical Mode !--- FIX SCRIPT FOR ROUTER R1 !--- Usage: log in to R1 on the console (password "cisco"), type "enable" (password "class"), then paste this whole file at the R1# prompt. Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Troubleshooting lab: only the corrective commands from the Discrepancy Table. ! ============================================================== configure terminal ! -------------------------------------------------------------- !--- Discrepancy #1: the native VLAN flag is on G0/0/1.4 instead of G0/0/1.8. ! -------------------------------------------------------------- !--- Remove "native" from the VLAN 4 subinterface first (only one native subinterface is allowed per port) and re-enter its IP address. interface gigabitethernet 0/0/1.4 encapsulation dot1Q 4 ip address 10.4.0.1 255.255.255.0 exit !--- Make VLAN 8 the native VLAN, matching "switchport trunk native vlan 8" on the switches. interface gigabitethernet 0/0/1.8 encapsulation dot1Q 8 native exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show interfaces gigabitethernet 0/0/1.8 -> "Native VLAN" shown for VLAN 8 !--- ping 10.3.0.11 / 10.3.0.12 / 10.4.0.50 / 10.13.0.50 -> successful ! ==============================================================
SWITCH S1
! ============================================================== !--- 4.4.9 Packet Tracer - Troubleshoot Inter-VLAN Routing - Physical Mode !--- FIX SCRIPT FOR SWITCH S1 !--- Usage: log in to S1 on the console (password "cisco"), type "enable" (password "class"), then paste this whole file at the S1# prompt. Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Troubleshooting lab: only the corrective commands from the Discrepancy Table. ! ============================================================== configure terminal ! -------------------------------------------------------------- !--- Discrepancy #2: F0/5 (to R1) is an access port in VLAN 3. ! -------------------------------------------------------------- !--- Reset the port to defaults (lab hint), then build a static trunk with native VLAN 8; VLAN 7 is excluded. default interface fastethernet 0/5 interface fastethernet 0/5 switchport mode trunk switchport trunk native vlan 8 switchport trunk allowed vlan 3,4,8,13 exit ! -------------------------------------------------------------- !--- Discrepancy #3: F0/1 (to S2) has no native VLAN and an incomplete allowed list. ! -------------------------------------------------------------- !--- Native VLAN 8 clears the CDP native VLAN mismatch with S2; VLAN 3 (management) and VLAN 13 (PC-B) are added, VLAN 7 stays excluded. interface fastethernet 0/1 switchport trunk native vlan 8 switchport trunk allowed vlan 3,4,8,13 exit ! -------------------------------------------------------------- !--- Discrepancy #5: VLAN 13 does not exist in the S1 VLAN database (confirmed with show vlan brief). ! -------------------------------------------------------------- !--- PC-B traffic (VLAN 13) must transit S1 to reach R1, so the VLAN must exist here. vlan 13 name Maintenance exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show interfaces trunk -> Fa0/1 and Fa0/5 on, trunking, native VLAN 8, VLANs 3,4,8,13 !--- show vlan brief -> VLAN 13 Maintenance present !--- ping 10.3.0.12 / 10.4.0.50 / 10.13.0.50 -> successful ! ==============================================================
SWITCH S2
! ============================================================== !--- 4.4.9 Packet Tracer - Troubleshoot Inter-VLAN Routing - Physical Mode !--- FIX SCRIPT FOR SWITCH S2 !--- Usage: log in to S2 on the console (password "cisco"), type "enable" (password "class"), then paste this whole file at the S2# prompt. Every line beginning with "!" is a comment; IOS ignores it, so pasting a comment by accident is harmless. !--- Troubleshooting lab: only the corrective commands from the Discrepancy Table. ! ============================================================== configure terminal ! -------------------------------------------------------------- !--- Discrepancy #4: F0/1 (to S1) is missing VLAN 3 and VLAN 13. ! -------------------------------------------------------------- !--- Match the corrected S1 side (adds VLAN 3 management and VLAN 13 PC-B); native VLAN 8 is already set on this port. interface fastethernet 0/1 switchport trunk allowed vlan 3,4,8,13 exit ! -------------------------------------------------------------- !--- Discrepancy #6: interface Vlan3 stays up/down after the trunk change. ! -------------------------------------------------------------- !--- Reset the SVI so that its line protocol comes up (needed in this Packet Tracer file after the trunk is corrected). interface vlan 3 shutdown no shutdown exit end ! -------------------------------------------------------------- !--- Save the configuration to NVRAM. (Press Enter when prompted for the destination filename.) ! -------------------------------------------------------------- copy running-config startup-config ! ============================================================== !--- Verification: !--- show interfaces trunk -> Fa0/1 on, trunking, native VLAN 8, VLANs 3,4,8,13 !--- show ip interface brief -> Vlan3 10.3.0.12 up/up !--- ping 10.3.0.1 / 10.4.0.50 / 10.13.0.50 -> successful ! ==============================================================




