Lateral VLAN Segmentation Bypass
SW1(config)# show mac address-table | include 0050.0000.0500SW1# show vlan briefSW1(config)# interface GigabitEthernet 0/2
SW1(config-if)# switchport trunk encapsulation dot1q
SW1(config-if)# switchport mode trunksudo vconfig add eth0 10
sudo vconfig add eth0 20
sudo vconfig add eth0 50
sudo vconfig add eth0 60
sudo ifconfig eth0.10 up
sudo ifconfig eth0.20 up
sudo ifconfig eth0.50 up
sudo ifconfig eth0.60 upExample for manually setting a static IP address on an interface (VLAN 10):
在接口上手动设置静态IP地址的示例(VLAN 10):
References
最后更新于