获取端口许可证
不必在连续范围的端口上使用 Cisco 交换机许可证;相反,可以获取已使用的特定端口的许可证,并删除未用端口的许可证。应该在交换机配置中验证许可端口的数量,并在必要时根据需要将许可证从一个端口移动到另一个端口。
在端口上删除和获取许可证
此示例显示了从端口 fc1/2 上删除许可证,端口 fc1/1 有资格获取许可证,在端口 fc1/1 上获取许可证:
Switch_A_1# conf t
Switch_A_1(config)# interface fc1/2
Switch_A_1(config)# shut
Switch_A_1(config-if)# no port-license acquire
Switch_A_1(config-if)# exit
Switch_A_1(config)# interface fc1/1
Switch_A_1(config-if)# port-license
Switch_A_1(config-if)# port-license acquire
Switch_A_1(config-if)# no shut
Switch_A_1(config-if)# end
Switch_A_1# copy running-config startup-config
Switch_B_1# conf t
Switch_B_1(config)# interface fc1/2
Switch_B_1(config)# shut
Switch_B_1(config-if)# no port-license acquire
Switch_B_1(config-if)# exit
Switch_B_1(config)# interface fc1/1
Switch_B_1(config-if)# port-license
Switch_B_1(config-if)# port-license acquire
Switch_B_1(config-if)# no shut
Switch_B_1(config-if)# end
Switch_B_1# copy running-config startup-config
以下示例显示了如何验证端口许可证使用情况:
Switch_A_1# show port-resources module 1
Switch_B_1# show port-resources module 1
提供反馈