Question
February 19, 2008 at 03:43 PM
selltekk

IOS 12.2 switching vlan question

by selltekk . Updated 18 years, 5 months ago

It’s been a good ling while since I’ve done this so I am very rusty.

I need to configure one (or all) ports on a cisco catalyst 3560 to be on a VLAN.

Am I correct in assuming that this would be the correct set of commands?

conf t
int vlan ####
ip address x.x.x.x x.x.x.x
no ip route-cache
no shutdown
end
conf t
int range fa 0/1-8
switchport access vlan ####
spanning-tree portfast
end
conf t
int gi 0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan ####
switchport mode trunk
switchport nonegotiate
end

Provided that the encapsulation on the other end of the gig port is 802.1q, should this work?

This discussion is locked

All Comments