Thursday, October 27, 2011

CCNP TSHOOT - Ticket 6


As usual, check the ip address of Client1.


Client1#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            unassigned      YES DHCP   up                    up  
FastEthernet0/1            unassigned      YES NVRAM  administratively down down

No IP address are getting and here are the following possibilities.
- ASW1 (wrong access vlan)
- ASW1 ( wrong vlan trunk allowed )

Ok, let's start check from ASW1.
As the previous tickets already have "access vlan", now start check directly VLAN trunk.
---------------------------------

ASW1#sh int trunk

Port      Mode         Encapsulation  Status        Native vlan
Po4       on           802.1q         trunking      1
Po5       on           802.1q         trunking      1

Port      Vlans allowed on trunk
Po4       1-9,1002-1005
Po5       1-9,1002-1005

Port      Vlans allowed and active in management domain
Po4       1
Po5       1

Port      Vlans in spanning tree forwarding state and not pruned
Po4       1
Po5       1
----------------------------------
Here you will notice that trunk allowed vlan is excluded VLAN 10. Only VLAN 1-9 and 1002-1005 are allowed.

Let's change trunk allowed vlan in ASW1 as follows.


ASW1(config)#int range port-channel 4 - 5
ASW1(config-if-range)#no switchport trunk allowed vlan 1-9,1002-1005
ASW1(config-if-range)#switchport trunk allowed vlan 1-10,1002-1005

After wait a while, check in Client1 again and ip address 10.2.1.3 will be in placed as follow.

Client1#sh ip int brief
Interface                  IP-Address      OK? Method Status                Protocol
FastEthernet0/0            10.2.1.3        YES DHCP   up                    up  
FastEthernet0/1            unassigned      YES NVRAM  administratively down down

So, the problem is in ASW1, in switch to switch connectivity and can be fixed by adding VLAN 10 in port channel.

5 comments:

  1. I downloaded the labs but in all the 10 tickets the Client1 has NOT been assigned the ip (10.2.1.3).

    Also I cant see any vlans configured. My output doesnt match the show ip eigrp neighbors output regarding VLANs.

    Can anyone help please.

    ReplyDelete
  2. The Client1 gets IP address through DHCP (DHCP Server in R4). It will not have IP address until you fix the problem.

    You can see vlans with the following command:

    ASW1#show vlan-switch

    ReplyDelete
  3. You can also add switchport trunk allowed vlan all and it will complete the ticket

    ReplyDelete
  4. Hi,
    Please don't add switchport trunk allowed vlan all in either test or working environment.
    It's a practice. In my current work environment and it's in bad practice.
    Add only necessary VLAN in trunk.

    ReplyDelete
  5. or
    switchport trunk allowed add vlan 10

    ReplyDelete