Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Hello very helpful people!!!

Have a stock Cisco 3500XL, haven't worked on Ciscos in forever, does anyone have a sample config for what I need to accomplish? Few notes, the uplink is port FastEthernet 0/24. I need all ports on the switch to be on VLAN 20 and the uplink to be assigned ip with being on VLAN 10 but being "tagged" also on VLAN 20 so data flows.

share|improve this question

migrated from Aug 31 '11 at 21:23

This question came from our site for professional and enthusiast programmers.

what version of software is it running? Do you want traffic on fa0/24 to egress the switch untagged on vlan 10 and tagged on vlan 20, fa0/24 is a trunk port? And perhaps would this be better on Server fault. – Doon Aug 31 '11 at 19:46
Yes to the egressing the switch untagged on vlan 10 and tagged on 20. fa0/24 is not currently a trunk port. If no response I will move to serverfault. thanks. – John Corps Aug 31 '11 at 19:59
do you need the switch to route? and are you running an L3 image? – Doon Aug 31 '11 at 20:01
You really need to peruse the documentation for your switch and at least try to get the thing configured yourself. If you have specific problemswe can try to help you with them, but we can't configure your switch for you... – voretaq7 Aug 31 '11 at 21:42
I'm surprised nobody has pointed out that this is an L2 only switch and cannot route traffic. – SpacemanSpiff Aug 31 '11 at 23:43

Assuming no vtp, etc.:

vlan 10
vlan 20
int range FastEthernet0/0 - 23
  switchport mode access
  switchport access vlan 20
int FastEthernet0/24
  switchport mode trunk
  switchport trunk native vlan 10
  switchport trunk allowed vlan 10,20
int vlan10
  ip address
share|improve this answer
Don't forget to set a default gateway if you utilize other subnets behind an upstream router. – SpacemanSpiff Aug 31 '11 at 23:46
Thanks @Zypher, I wrote that on my BlackBerry :) – MikeyB Sep 1 '11 at 2:14
@SpacemanSpiff: a gateway wasn't part of the specification :p – MikeyB Sep 1 '11 at 2:14
Neither was setting passwords, but he really ought to do that too. – SpacemanSpiff Sep 1 '11 at 4:18
Pshaw! It's an internal network, you can trust everybody. – MikeyB Sep 1 '11 at 4:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.