Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Troubleshoot Cisco VLAN 1

Status
Not open for further replies.

msworld

MIS
Jun 28, 2005
534
US
Our consultant had created a VLAN for us. On one of 3500 switch, I have these command lines:
interface FastEthernet0/19
switchport access vlan 300
spanning-tree portfast

That works fine. However, I did the same command on otehr 3500 swicth, that doesn't work. I can't receive IP from the DHCP. Why?

The configuration can be found thsi link:


Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, VPN & Remote Access on
 
Hi,

Can you paste the output from "sh run int vlan300"? Do you have an IP Helper setup?

Rgds,

John
 
you would have to explain where the dhcp server is and how the switches are hooked together . Is the layer 2 vlan actually configured on the 2nd switch ? Just because you added the switchport access command does not mean the vlan is created , verify the vlan is created with the "show vlan" command and 300 should show active .
 
Also, in the layer 3 switch, you need
switch(config)#ip routing
and just to be sure the switchport had not been configured for trunking, look at it like this...
switch#sh int trunk
If it is, do the "no switchport mode trunk" and then the "switchport mode access" before the "switchport access vlan blablabla...also, make sure that vlan300 is in the vlan database (sh vlan).

Burt
 
Thank you for all posts.

1. show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/2, Fa0/3, Fa0/4,
Fa0/5, Fa0/6, Fa0/7, Fa0/8,
Fa0/9, Fa0/10, Fa0/11, Fa0/14,
Fa0/15, Fa0/16, Fa0/17, Fa0/18,
Fa0/19, Fa0/20, Fa0/21, Fa0/22,
Fa0/23, Fa0/24, Fa0/25, Fa0/26,
Fa0/27, Fa0/28, Fa0/29, Fa0/30,
Fa0/31, Fa0/32, Fa0/33, Fa0/34,
Fa0/35, Fa0/36, Fa0/37, Fa0/38,
Fa0/39, Fa0/40, Fa0/41, Fa0/42,
Fa0/43, Fa0/44, Fa0/45, Fa0/46,
Fa0/47
300 VLAN0300 active Fa0/12, Fa0/13
1002 fddi-default active
1003 token-ring-default active
1004 fddinet-default active
1005 trnet-default active

VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
300 enet 100300 1500 - - - - - 0 0
1002 fddi 101002 1500 - - - - - 0 0
1003 tr 101003 1500 - - - - - 0 0
1004 fdnet 101004 1500 - - - ieee - 0 0
1005 trnet 101005 1500 - - - ibm - 0 0
2. sh run int vlan300
^
% Invalid input detected at '^' marker.

3. show int trunk
^
% Invalid input detected at '^' marker.

What's next?


Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, VPN & Remote Access on
 
OK, I found out that one works is 3560G and that one doesn't work is 3548XL. Can I make 3548XL using the VLAN? If yes, how?

Bob Lin, MS-MVP, MCSE & CNE
How to Setup Windows, Network, VPN & Remote Access on
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top