云7.16

链路捆绑实验

在这里插入图片描述
主要代码
int Eth-Trunk 1
port link-type trunk
port trunk allow-pass vlan 2

int e0/0/1
eth-trunk 1

int e0/0/4
port link-type access
port default vlan 2在这里插入图片描述
主要命令
int g0/0/1
vlan batch 100 200
port link-type access
port default vlan 100
int g0/0/2
port link-type hybrid
port hybrid pvid vlan 200
port hybrid untagged vlan 200
int Vlanif 100
ip add 192.168.100.2 24
int Vlanif 200
ip add 192.168.200.2 24

猜你喜欢

转载自blog.csdn.net/qyf158236/article/details/107396243
今日推荐