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?