API Guide

NPG1 交换机配置
1. 启用 NPG 功能。
OS10(config)# feature fc npg
2. 配置 vFabric
OS10(config)# vfabric 2
OS10(confvfabric2)# vlan 1000
OS10(confvfabric2)# name fcoe_fabric
OS10(confvfabric2)# fcoe fcmap 0efc02
3. 在连接到 FC HBA 的接口上应用 vFabric 配置并将端口模式更改为 F_Port
OS10(config)# interface fibrechannel 1/1/21
OS10(confiffc1/1/21)# vfabric 2
4. 在连接到 CNA 1 的接口上应用 vFabric 配置。
OS10(config)# interface ethernet 1/1/50
OS10(confifeth1/1/50)# vfabric 2
5. 全局启用 DCBX
OS10(config)# dcbx enable
6. 创建类别映射和策略映射。
OS10(config)# classmap type networkqos cmap1
OS10(configcmapnqos)# match qosgroup 3
OS10(config)# policymap type networkqos pmap1
OS10(configpmapnetworkqos)# class cmap1
OS10(configpmapcnqos)# pause
OS10(configpmapcnqos)# pfccos 3
7. 禁用连接到 CNA 1 的接口上的 LLFC
OS10(config)# interface ethernet 1/1/50
OS10(confifeth1/1/50)# no flowcontrol receive
8. 在连接到 CNA 1 的接口上启用 PFC 模式。
OS10(config)# interface ethernet 1/1/50
OS10(confifeth1/1/50)# priorityflowcontrol mode on
光纤通道
343