S1配置:
vlan batch 10 20
interface Vlanif10
ip address 192.168.1.254 255.255.255.0
#
interface Vlanif20
ip address 192.168.2.254 255.255.255.0
#
interface GigabitEthernet0/0/1
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/2
port link-type access
port default vlan 10
#
interface GigabitEthernet0/0/3
port link-type access
port default vlan 20
#
本文介绍了一种针对S1交换机的具体VLAN配置方案,包括创建VLAN 10和20,并分别为这两个VLAN分配IP地址192.168.1.254和192.168.2.254。同时,配置了三个端口,其中端口1和2被设置为VLAN 10的一部分,端口3则属于VLAN 20。

6711

被折叠的 条评论
为什么被折叠?



