• 产品与解决方案
  • 行业解决方案
  • 服务
  • 支持
  • 合作伙伴
  • 新华三人才研学中心
  • 关于我们

03-二层技术-以太网交换命令参考

目录

07-BPDU Tunnel命令

本章节下载 07-BPDU Tunnel命令  (77.32 KB)

docurl=/cn/Service/Document_Software/Document_Center/Switches/Catalog/S5500/S5500-EI-D/Command/Command_Manual/H3C_S5500-EI-D_CR-Release_2208-6W100/03/201103/710380_30005_0.htm

07-BPDU Tunnel命令


1 BPDU Tunnel配置命令

1.1  BPDU Tunnel配置命令

1.1.1  bpdu-tunnel dot1q

【命令】

在以太网端口视图或端口组视图下:

bpdu-tunnel dot1q { cdp | dldp | eoam | gvrp | hgmp | lacp | lldp | pagp | pvst | stp | udld | vtp }

undo bpdu-tunnel dot1q { cdp | dldp | eoam | gvrp | hgmp | lacp | lldp | pagp | pvst | stp | udld | vtp }

在二层聚合端口视图下:

bpdu-tunnel dot1q { cdp | gvrp | hgmp | pvst | stp | vtp }

undo bpdu-tunnel dot1q { cdp | gvrp | hgmp | pvst | stp | vtp }

【视图】

以太网端口视图/端口组视图/二层聚合端口视图

【缺省级别】

2:系统级

【参数】

cdp:表示CDP协议。

dldp:表示DLDP协议。

eoam:表示EOAM协议。

gvrp:表示GVRP协议。

hgmp:表示HGMP协议。

lacp:表示LACP协议。

lldp:表示LLDP协议。

pagp:表示PAGP协议。

pvst:表示PVST协议。

stp:表示STP协议。

udld:表示UDLD协议。

vtp:表示VTP协议。

【描述】

bpdu-tunnel dot1q命令用来使能指定协议的BPDU Tunnel功能。undo bpdu-tunnel dot1q命令用来关闭指定协议的BPDU Tunnel功能。

缺省情况下,各协议的BPDU Tunnel功能均处于关闭状态。

需要注意的是:

l            以太网端口视图下的配置只对当前端口有效;端口组视图下的配置对当前端口组中的所有端口有效;二层聚合端口视图下的配置只对当前端口有效。

l            不能在业务环回组的成员端口上使能BPDU Tunnel功能。

l            在端口上使能DLDP、EOAM、GVRP、HGMP、LLDP或STP协议的BPDU Tunnel功能之前,必须在该端口上关闭该协议。由于PVST协议是一种特殊的STP协议,因此在端口上使能PVST协议的BPDU Tunnel功能之前,也必须在该端口上关闭STP协议并使能STP协议的BPDU Tunnel功能。

l            如果端口是聚合组的成员端口,则在该端口上使能LACP协议的BPDU Tunnel功能之前,必须将该端口退出聚合组。

【举例】

# 在端口GigabitEthernet1/0/1上关闭STP功能,并使能STP协议的BPDU Tunnel功能。

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname-GigabitEthernet1/0/1] undo stp enable

[Sysname-GigabitEthernet1/0/1] bpdu-tunnel dot1q stp

# 在端口组1中关闭STP功能,并使能STP协议的BPDU Tunnel功能。

<Sysname> system-view

[Sysname] port-group manual 1

[Sysname-port-group-manual-1] group-member gigabitethernet 1/0/1 to gigabitethernet 1/0/6

[Sysname-port-group-manual-1] undo stp enable

[Sysname-port-group-manual-1] bpdu-tunnel dot1q stp

# 在二层聚合端口1上关闭STP功能,并使能STP协议的BPDU Tunnel功能。

<Sysname> system-view

[Sysname] interface bridge-aggregation 1

[Sysname-Bridge-Aggregation1] undo stp enable

[Sysname-Bridge-Aggregation1] bpdu-tunnel dot1q stp

1.1.2  bpdu-tunnel tunnel-dmac

【命令】

bpdu-tunnel tunnel-dmac mac-address

undo bpdu-tunnel tunnel-dmac

【视图】

系统视图

【缺省级别】

2:系统级

【参数】

mac-addressBPDU Tunnel报文的组播目的MAC地址,格式为H-H-H。取值可以为下列地址之一:0x0100-0CCD-CDD0、0x0100-0CCD-CDD1、0x0100-0CCD-CDD2或0x010F-E200-0003

【描述】

bpdu-tunnel tunnel-dmac命令用来配置BPDU Tunnel报文的组播目的MAC地址。undo bpdu-tunnel tunnel-dmac命令用来恢复缺省情况。

缺省情况下,BPDU Tunnel报文的组播目的MAC地址为0x010F-E200-0003。

【举例】

# 配置BPDU Tunnel报文的组播目的MAC地址为0x0100-0CCD-CDD0

<Sysname> system-view

[Sysname] bpdu-tunnel tunnel-dmac 0100-0ccd-cdd0

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

新华三官网
联系我们