1. 程式人生 > >配置隔離組使二層之間不能相互通信,但可以與外部網絡通信。

配置隔離組使二層之間不能相互通信,但可以與外部網絡通信。

quit eth view 不能 驗證配置 system iso display sys

組網要求:hostA hostB hostC 分別與Device的端口g1/0/1,g1/0/2,g1/0/3相連,Device通過g1/0/4與外部網絡相連,現要求hostA hostB hostC 三者之間不能相互通信,但可與外部網絡通信。
配置步驟如下:
1.創建隔離組2
<Device>system-view
[Device]port-isolate group 2

2.將端口g1/0/1,g1/0/2,g1/0/3加入隔離組2中
[Device]int g1/0/1
[Device-Gigab it Ethernet1/0/1]port-isolate enable group 2
[Device-Gigab it Ethernet1/0/1]quit

[Device]int g1/0/2
[Device-Gigab it Ethernet1/0/2]port-isolate enable group 2
[Device-Gigab it Ethernet1/0/2]quit
[Device]int g1/0/3
[Device-Gigab it Ethernet1/0/3]port-isolate enable group 2
[Device-Gigab it Ethernet1/0/3]quit

驗證配置:
1.顯示隔離組2中的信息
[Device]display port-isolate group 2
Port-isolation group information :
Group ID:2

Group members:
G1/0/1
G1/0/2
G1/0/3

配置隔離組使二層之間不能相互通信,但可以與外部網絡通信。