关于“show interface switchport”输出

网络工程 思科 转变 VLAN cisco 命令 虚拟机
2021-07-06 15:07:37

show interface switchport命令显示特定行Pruning VLANs Enabled字段描述是,Lists the VLANs that are pruning-eligible但我无法理解该行的含义。

1个回答

使用 VTP,您可以将 VLAN 标记为有资格为中继链路修剪。在 VTP 中启用修剪时,如果在使用这些 VLAN 的中继链路下游没有任何内容,则将修剪符合条件的 VLAN。

此 Cisco 文档显示了如何配置 VTP 修剪以及如何将 VLAN 添加到修剪合格列表中。

switch(config-if)# switchport trunk pruning vlan [add | remove | except | none | all] VLAN-IDs

从不需要它们的链接中修剪 VLAN 是一种很好的做法。这将消除那些发送到没有这些 VLAN 的交换机的那些 VLAN 的广播流量。