cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
368
Views
0
Helpful
26
Replies
Highlighted
Beginner

Re: Port not working for access to vlan

To Verify that I am in port 20 I disconnected the Cat 5 from port 20 on switch. PC has no connectivity. Connect it back and network activity returns. Wrong IP but it is assigning dhcp for vlan 2.

interface GigabitEthernet1/0/20
switchport access vlan 90
switchport mode access
spanning-tree portfast
Highlighted
Hall of Fame Master

Re: Port not working for access to vlan

Thanks for the clarification. I am surprised at this line in the config that you posted

switchport access vlan 90

 

Is it still the case that if you have the PC use DHCP that it gets an IP address for vlan 2? And still the case that if your manually configure the PC with an address for vlan 9 that it can not connect to anything?

HTH

Rick
Highlighted
Beginner

Re: Port not working for access to vlan

I am sorry, that was my typo. I didn't paste it in, I actually typed it. But it is actually vlan 9.

Sorry for the confusion. 

Highlighted
Hall of Fame Master

Re: Port not working for access to vlan

Thank for the clarification. I am still trying to figure out the inconsistencies/contradictions of a port that seems assigned to vlan 9 getting address in vlan 2, and if manually configured with an address for vlan 9 then not being able to connect to anything. Can you check the log messages on this switch and verify that when you removed the cable that the switch logs show this interface going down and then back up?

HTH

Rick
Highlighted
Beginner

Re: Port not working for access to vlan

Thank you again for your attention.  Please see the following:

 

 

*Mar 1 21:24:46.230: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/20, changed state to down
000487: *Mar 1 21:24:46.230: %ILPOWER-5-POWER_GRANTED: Interface Gi1/0/20: Power granted
000488: *Mar 1 21:24:54.920: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/20, changed state to up
000489: *Mar 1 21:24:55.935: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/20, changed state to up
000490: *Mar 1 21:25:15.162: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/20, changed state to down
000491: *Mar 1 21:25:16.169: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/20, changed state to down
000492: *Mar 1 21:25:18.576: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/20, changed state to up
000493: *Mar 1 21:25:19.583: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/20, changed state to up
000494: *Mar 1 21:25:22.259: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet1/0/20, changed state to down
000495: *Mar 1 21:25:23.274: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/20, changed state to down
000496: *Mar 1 21:25:25.707: %LINK-3-UPDOWN: Interface GigabitEthernet1/0/20, changed state to up

Highlighted
Hall of Fame Master

Re: Port not working for access to vlan

Thank you for the output. In trying to reconcile the inconsistencies I was hoping that it might be something like maybe being actually on a different switch. But the output is clear that it is on the expected switch and it is 1/0/20. And the config is clear that this port is assigned to vlan 9. So why is it not getting the expected IP address ???

 

Would you post the configuration of interface vlan 2 and of interface vlan 9? Where is the dhcp that assigns the addresses? Is it on the switch? Is it on a dedicated dhcp server?

HTH

Rick
Highlighted
Beginner

Re: Port not working for access to vlan

It appears that the switch is handling DHCP.

 

#show interface vlan 2
Vlan2 is up, line protocol is up
Hardware is EtherSVI, address is 6c41.6a35.dbc2 (bia 6c41.6a35.dbc2)
Internet address is 10.2.2.0/24
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not supported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:00, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 2/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 15000 bits/sec, 18 packets/sec
5 minute output rate 48000 bits/sec, 5 packets/sec
1403961 packets input, 126155304 bytes, 0 no buffer
Received 0 broadcasts (33586 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
765731 packets output, 327720390 bytes, 0 underruns
0 output errors, 2 interface resets
0 output buffer failures, 0 output buffers swapped out

 

#show interface vlan 9
Vlan9 is up, line protocol is up
Hardware is EtherSVI, address is 6c41.6a35.dbc3 (bia 6c41.6a35.dbc3)
Internet address is 10.2.0.0/24
MTU 1500 bytes, BW 1000000 Kbit, DLY 10 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set
Keepalive not supported
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:00:20, output 00:00:00, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
Queueing strategy: fifo
Output queue: 0/40 (size/max)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
9867 packets input, 821753 bytes, 0 no buffer
Received 0 broadcasts (45 IP multicasts)
0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
62776 packets output, 4023930 bytes, 0 underruns
0 output errors, 2 interface resets
0 output buffer failures, 0 output buffers swapped out

Highlighted
VIP Mentor

Re: Port not working for access to vlan

If the Switch handing over DHCP IP on VLAN 2 and VLAN 9

 

as i have posted in the first post.

 

if you looking user need to get IP address from VLAN 9 that is  10.2.0.0/24 or VLAN 2 10.2.2.0/24

 

you need to allocate the switch port that VLAN.

 

EDIT :

 

After reviewing the ports back and forth, i would like see complete configuration of the switch.

show run

ipconfig /all from PC

show ip arp  from switch.

BB
*** Rate All Helpful Responses ***
Highlighted
Hall of Fame Master

Re: Port not working for access to vlan

Thanks for the output. Unfortunately what I asked for was the configuration of the vlan interfaces and not the show interface output. With the possibility that DHCP is handled by the switch it might be easier if I just ask you to post the running configuration of the switch.

HTH

Rick
Highlighted
VIP Mentor

Re: Port not working for access to vlan

Hello

curious are you positive that pc isn't  hardcoded with an ip address?

Have you tested another device in the same port do you get the same result?

Are the dhcp server scopes correct meaning they are not overlapping with the ip ranges on the rtr ?

 



kind regards
Paul

Please rate and mark posts accordingly if you have found any of the information provided useful.
It will hopefully assist others with similar issues in the future
Highlighted
Beginner

Re: Port not working for access to vlan

I would like to thank you all for the direction in which I should focus.  I am currently offsite and will return on Tuesday at which time I will follow up and let you know which of these suggestions were beneficial.

 

Thank you again for your time and attention to this, I really appreciate your help.

 

respectfully

Highlighted
Hall of Fame Master

Re: Port not working for access to vlan

You are welcome. When you are able please do send the outputs that we have requested.

HTH

Rick
CreatePlease to create content
Content for Community-Ad