欢迎user
11-端口隔离命令
本章节下载 (100.21 KB)
目 录
【命令】
description text
undo description
【视图】
隔离组视图
【参数】
text:隔离组描述字符串,取值为1~80个字符。
【描述】
description命令用来为当前隔离组指定描述字符串。undo description命令用来删除当前隔离组指定描述字符串。
缺省情况下,隔离组没有指定描述字符串。
【举例】
# 指定隔离组1的描述字符串为home。
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] port-isolate group 1
[H3C-port-isolate-group1] description home
【命令】
display isolate port [ group group-id ]
【视图】
任意视图
【参数】
group-id:隔离组编号,取值范围为1~64。
【描述】
display isolate port命令用来显示已经创建的隔离组的配置信息,包括:
l 隔离组编号
l 隔离组描述字符串
l 隔离组中包含的端口
【举例】
# 显示隔离组1的配置信息。
<H3C> display isolate port group 1
Isolate group ID: 1
Description: home
Isolated port(s) in group 1:
Ethernet2/0/2 Ethernet2/0/3 Ethernet2/0/4
【命令】
port interface-list
undo port interface-list
【视图】
隔离组视图
【参数】
interface-list:目的端口列表。interface-list = interface-type interface-number [ to interface-type interface-number ] &<1-10>。其中:
l interface-type表示绑定的端口类型;
l interface-number表示绑定的端口号;
l to用来指定一组连续的端口,to之后的端口号要大于或等于to之前的端口号;
l &<1-10>表示前面的参数最多可以输入10次。
【描述】
port命令用来将指定端口加入到隔离组中。undo port命令用来将指定端口从隔离组中删除。
缺省情况下,隔离组中没有加入任何以太网端口。
该命令作用与1.1.4 port isolate group命令相同,只是该命令需要指定以太网端口。
& 说明:
用户向隔离组中批量加入端口时,系统会首先检测是否所有的指定端口都能加入该隔离组:
l 如果所有的端口都能加入该隔离组,则进行正常的加入操作;
l 如果有端口不符合加入条件,则系统会停止检测并产生提示信息,所有的指定端口都不会加入到该隔离组。
【举例】
# 将端口GigabitEthernet1/0/1加入到隔离组1中。
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] port-isolate group 1
[H3C-port-isolate-group1] port GigabitEthernet1/0/1
【命令】
port isolate group group-id
undo port isolate
【视图】
以太网端口视图
【参数】
group-id:隔离组编号,取值范围为1~64。
【描述】
port isolate group命令用来将当前以太网端口加入到已经创建的指定隔离组中,undo port isolate命令用来将当前的以太网端口从所属的隔离组中删除。
缺省情况下,隔离组中没有加入任何以太网端口。
该命令作用与1.1.3 port命令相同,只是不需要再指定以太网端口。
& 说明:
一个以太网端口只能属于一个端口隔离组。如果用户多次将某个以太网端口加入到不同的隔离组中,该端口只能属于最后一次被加入的隔离组。
目前A型单板(LS81FT48A、LS81FM24A、LS81FS24A、LS81GB8UA、LS81GT8UA)不支持端口隔离特性。
【举例】
# 将以太网端口GigabitEthernet1/0/1加入到隔离组1中。
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface gigabitethernet1/0/1
[H3C-GigabitEthernet1/0/1] port isolate group 1
【命令】
port-isolate group group-id
undo port-isolate group group-id
【视图】
系统视图
【参数】
group-id:隔离组编号,取值范围为1~64。
【描述】
port-isolate group命令用来创建一个隔离组。undo port-isolate命令用来删除指定的隔离组。
缺省情况下,隔离组中没有加入任何以太网端口。
【举例】
# 创建隔离组1。
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] port-isolate group 1
[H3C-port-isolate-group1]
不同款型规格的资料略有差异, 详细信息请向具体销售和400咨询。H3C保留在没有任何通知或提示的情况下对资料内容进行修改的权利!