首页 > 代码库 > 思科2960trunk vlan配置

思科2960trunk vlan配置

en

conf t

vlan id

end

conf t

inter rang gi 0/0/1-x

switchport access vlan id

no shutdown

exit

(config)#interface range gigabitEthernet 1/0/23-24
(config-if-range)#switchport mode trunk
(config-if-range)#switchport trunk allowed vlan all
(config-if-range)#no shutdown