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
IP配置:
interface FastEthernet1/0 ip address 161.139.128.31 255.255.255.128 ip accounting output-packets duplex full speed auto exit ip route 0.0.0.0 0.0.0.0 161.139.128.1 end wr
时间: 2024-11-05 13:41:24