• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 关于我们

01-接入分册

12-端口隔离命令

本章节下载  (97.55 KB)

12-端口隔离命令


第1章  端口隔离命令

1.1  端口隔离命令

1.1.1  display port-isolate group

【命令】

display port-isolate group [ group-number ]

【视图】

任意视图

【缺省级别】

1:监控级

【参数】

group-number:指定隔离组组号。

【描述】

display port-isolate group命令用来显示隔离组以及隔离组的信息。

l              使用该命令时,如果不指定隔离组编号,则显示当前设备中所有隔离组的信息。

l              使用该命令时,如果指定隔离组编号,则显示指定隔离组的信息。

【举例】

# 显示隔离组2的信息。

<Sysname> display port-isolate group 2

Port-isolate group information:

 Uplink port support: YES

 Group ID: 2

 Uplink port: GigabitEthernet4/3/2

    GigabitEthernet4/3/1

表1-1 display port-isolate group命令显示信息描述表

字段

描述

Port-isolate group information

显示端口隔离组的信息,以下字段为具体信息

Uplink port support

是否支持配置上行口

Group ID

隔离组号

Uplink port

作为上行口的端口

GigabitEthernet4/3/1

加入到隔离组中的普通端口名称

 

1.1.2  port-isolate enable

【命令】

port-isolate enable group group-number

undo port-isolate enable

【视图】

以太网接口视图/端口组视图

【缺省级别】

2:系统级

【参数】

group-number:指定端口将要加入的隔离组组号。

【描述】

port-isolate enable命令用来将端口加入到隔离组中,只作为隔离组的普通端口。undo port-isolate enable命令用来把端口从隔离组中删除。

在设备上执行该命令,将把端口加入到指定的隔离组中,且必须先完成该隔离组的创建。在以太网接口视图下执行该命令,则该配置只在当前端口生效;在端口组视图下执行该命令,则该配置将在端口组中的所有端口生效。

&  说明:

对同一端口port-isolate enable命令和port-isolate uplink-port命令只能进行二选一操作,即同一端口不能既作为隔离组里的普通端口又作为隔离组(包括当前所有的隔离组)的上行端口。

 

【举例】

# 将端口Ethernet1/1/1加入隔离组2。

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] port-isolate enable group 2

1.1.3  port-isolate group

【命令】

port-isolate group group-number

undo port-isolate group { group-number | all }

【视图】

系统视图

【缺省级别】

2:系统级

【参数】

group-number:指定隔离组组号。

all:所有隔离组。

【描述】

port-isolate group命令用来在创建隔离组。undo port isolate命令用来删除指定隔离组中的配置,并删除该隔离组。

undo port-isolate group命令中:

l              如果指定隔离组号,则删除指定隔离组中的配置,并删除隔离组。

l              如果为all,则删除所有存在的隔离组中的配置,并删除隔离组。

【举例】

# 创建隔离组2。

<Sysname> system-view

[Sysname] port-isolate group 2

1.1.4  port-isolate uplink-port

【命令】

port-isolate uplink-port group group-number

undo port-isolate uplink-port

【视图】

以太网接口视图

【缺省级别】

2:系统级

【参数】

group-number:指定隔离组组号。

【描述】

port-isolate uplink-port命令用来将指定端口将端口加入到隔离组中,并作为隔离组的上行口。undo port-isolate uplink-port命令用来取消指定端口作为隔离组的上行口。

  注意:

l      在设备上使用该命令设置的是指定隔离组的上行口,而且必须先完成该隔离组的创建。

l      对同一端口port-isolate enable命令和port-isolate uplink-port命令只能进行二选一操作,即同一端口不能既作为隔离组里的普通端口又作为隔离组(包括当前所有的隔离组)的上行端口。

 

【举例】

# 将Ethernet1/1/1端口设置为隔离组的上行口。

<Sysname> system-view

[Sysname] interface ethernet 1/1/1

[Sysname-Ethernet1/1/1] port-isolate uplink-port group 2

 

不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!

新华三官网
联系我们