Nexus 7000 - switchport 语音配置

网络工程 嗓音 cisco-nexus
2021-08-03 01:41:06

Nexus 7k NXOS 6.2(8a)

我正在尝试配置语音 vlan,但该命令似乎不可用?

我缺少什么来启用它吗?

interface Ethernet4/1
  description AV_Hotline_501
  switchport
  switchport access vlan 501
  spanning-tree port-priority 128
  no shutdown

(config-if)# switchport ?
  <CR>       
  access     Set access mode characteristics of the interface
  autostate  Include or exclude this port from vlan link up calculation
  dot1q      Configure dot1q EtherType value
  host       Set port host
  mode       Enter the port mode
  monitor    Configures an interface as span-destination
  trunk      Configure trunking parameters on an interface
  vlan       Set VLAN translation mapping

语音未显示在交换机端口详细信息中

Name: Ethernet4/1
  Switchport: Enabled
  Switchport Monitor: Not enabled 
  Operational Mode: access
  Access Mode VLAN: 501 (AV_hotline_501)
  Trunking Native Mode VLAN: 1 (default)
  Trunking VLANs Allowed: 1-4094
  FabricPath Topology List Allowed: 0
  Pruning VLANs Enabled: 2-1001
  Administrative private-vlan primary host-association: none
  Administrative private-vlan secondary host-association: none
  Administrative private-vlan primary mapping: none
  Administrative private-vlan secondary mapping: none
  Administrative private-vlan trunk native VLAN: none
  Administrative private-vlan trunk encapsulation: dot1q
  Administrative private-vlan trunk normal VLANs: none
  Administrative private-vlan trunk private VLANs: none
  Operational private-vlan: none
2个回答

我还没有能够在任何文档中确认这一点,但我已经在我自己的 Nexus 7k 上的铜端口上寻找“switchport voice”命令,它也不是我的选择:

(config)# int eth4/14
(config-if)# switchport ?
  <CR>       
  access     Set access mode characteristics of the interface
  autostate  Include or exclude this port from vlan link up calculation
  dot1q      Configure dot1q EtherType value
  host       Set port host
  mode       Enter the port mode
  monitor    Configures an interface as span-destination
  trunk      Configure trunking parameters on an interface
  vlan       Set VLAN translation mapping

我可以确认该命令在连接回我的 n5548 之一的 Nexus 2248TP 上可用 - 我没有 n7k 托管的 n2k 来测试。你也不是唯一一个问过这个问题的人没有一个可靠的答案。根据我在这里看到的情况,以及当 Nexus 70xx 被设计为 DC 核心/聚合交换机时的理解,并且在架构上没有像 Nexus HW 的更新迭代那样灵活,我只能推测Nexus 7k 线卡中未内置语音 vlan 等接入层功能。我希望我有一个更好的答案给你,但由于似乎没有任何公开可用的文件来确认这一点,如果你可以访问,我建议联系离你最近的 Cisco SE,看看他们是否可以提供更好的答案来自 Nexus 工程团队。

Nexus 7000 从未打算用作接入层交换机,因此它们不包含语音 vlan 命令。但是,您可以使用这些命令(data vlan 100、voice vlan 200)完成相同的操作

int eth 1/1
switchport mode trunk
switchport trunk native vlan 100
switchport trunk allowed vlan 100,200