API Guide
NPG1 交换机配置
1. 启用 NPG 功能。
OS10(config)# feature fc npg
2. 配置 vFabric。
OS10(config)# vfabric 2
OS10(conf‐vfabric‐2)# vlan 1000
OS10(conf‐vfabric‐2)# name fcoe_fabric
OS10(conf‐vfabric‐2)# fcoe fcmap 0efc02
3. 在连接到 FC HBA 的接口上应用 vFabric 配置并将端口模式更改为 F_Port。
OS10(config)# interface fibrechannel 1/1/21
OS10(conf‐if‐fc1/1/21)# vfabric 2
4. 在连接到 CNA 1 的接口上应用 vFabric 配置。
OS10(config)# interface ethernet 1/1/50
OS10(conf‐if‐eth1/1/50)# vfabric 2
5. 全局启用 DCBX。
OS10(config)# dcbx enable
6. 创建类别映射和策略映射。
OS10(config)# class‐map type network‐qos cmap1
OS10(config‐cmap‐nqos)# match qos‐group 3
OS10(config)# policy‐map type network‐qos pmap1
OS10(config‐pmap‐network‐qos)# class cmap1
OS10(config‐pmap‐c‐nqos)# pause
OS10(config‐pmap‐c‐nqos)# pfc‐cos 3
7. 禁用连接到 CNA 1 的接口上的 LLFC。
OS10(config)# interface ethernet 1/1/50
OS10(conf‐if‐eth1/1/50)# no flowcontrol receive
8. 在连接到 CNA 1 的接口上启用 PFC 模式。
OS10(config)# interface ethernet 1/1/50
OS10(conf‐if‐eth1/1/50)# priority‐flow‐control mode on
光纤通道
343