华三V7 交换机端口隔离配置方法

本案例适用于如S5130-28F-WiNet、S5500V2-24P-WiNet、S5500V2-48P-WiNet 等
的V7交换机,V5、V7交换机具体分类及型号可以参考“1.1 Comware V5、V7平
台交换机分类说明”

一,网络拓扑

1,配置需求及实现的效果

应用要求小区用户Win4、Win5分别与交换机的端口HGE1/0/2、HGE1/0/3、
相连;实现用户Win4、Win5彼此之间二层/三层报,文不能互通,但可以和外部网络通信。

支持多个隔离组的交换机配置端口隔离
 配置步骤 
<Device> system-view   //进入系统视图 
[Device] port-isolate group 2   //创建隔离组2 
# 将端口SW1-HundredGigE1/0/2、SW1-HundredGigE1/0/3 加入隔
离组。 
<Device> system-view   //进入系统视图 
[Device] SW1-HundredGigE1/0/2   //进入g1/0/1接口 
[SW1-HundredGigE1/0/2] port-isolate enable   //将接口加入隔离组 
[SW1-HundredGigE1/0/2] quit   //退出当前视图 
[Device] SW1-HundredGigE1/0/3  //进入g1/0/2接口 
[SW1-HundredGigE1/0/3] port-isolate enable   //将接口加入隔离组 
[SW1-HundredGigE1/0/3] quit   //退出当前视图 
# 保存配置

显示隔离组中的信息。

[SW1-HundredGigE1/0/2]display port-isolate group 1
 Port isolation group information:
 Group ID: 1
 Group members:
    No ports.
 Community VLAN ID: None

[SW1-HundredGigE1/0/2]display port-isolate group 2
 Port isolation group information:
 Group ID: 2
 Group members:
    HundredGigE1/0/2              HundredGigE1/0/3              
 Community VLAN ID: None
2,只支持一个隔离组的交换机配置端口隔离
# 将端口SW1-HundredGigE1/0/2、SW1-HundredGigE1/0/3 加入隔
离组。 
<Device> system-view   //进入系统视图 
[Device] SW1-HundredGigE1/0/2   //进入g1/0/2接口 
[SW1-HundredGigE1/0/2] port-isolate enable   //将接口加入隔离组 
[SW1-HundredGigE1/0/2] quit   //退出当前视图 
[Device] interface SW1-HundredGigE1/0/3   //进入g1/0/3接口 
[Device-SW1-HundredGigE1/0/3] port-isolate enable   //将接口加入隔离组 
[Device-SW1-HundredGigE1/0/3]quit   //退出当前视图

备注:以上配置在模拟器Pnetlab上完成,但模拟器上无法实现隔离,真机上测试可以实现

华三V7 交换机端口隔离配置方法
华三V7 交换机端口隔离配置方法

H3C 路由MER3220命令行下配置WAN口PPP:https://www.hao0564.com/5512.html

一条评论

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注