学习啦 > 学习电脑 > 网络知识 > 路由器 > 路由器设置 > cisco思科 > 思科交换Voice VLAN怎么设置(2)

思科交换Voice VLAN怎么设置(2)

时间: 权威724 分享

学习啦在线学习网思科交换Voice VLAN怎么设置

  配置流量的优先级

  1) 进入全局模式 configure terminal

学习啦在线学习网   2) 进入接口模式 ineterface 接口

学习啦在线学习网   3) 设置从IP电话接入端口收到数据报的优先级

  switchport priority extend [cos 值|trust]

学习啦在线学习网   cos 值:取值为0-7,7为最高

学习啦在线学习网   trust:配置电话接入端口信任从PC收到的数据优先级

  案例

  Switch(config)#inter f0/4

  Switch(config-if)#switchport priority extend cos 7

  Switch#show interface f0/4 switchport

  Name: Fa0/4

  Switchport: Enabled

学习啦在线学习网   Administrative Mode: dynamic desirable

学习啦在线学习网   Operational Mode: down

学习啦在线学习网   Administrative Trunking Encapsulation: dot1q

学习啦在线学习网   Negotiation of Trunking: On

  Access Mode VLAN: 1 (default)

  Trunking Native Mode VLAN: 1 (default)

  Voice VLAN: dot1p

学习啦在线学习网   Administrative private-vlan host-association: none

  Administrative private-vlan 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

学习啦在线学习网   Trunking VLANs Enabled: ALL

学习啦在线学习网   Pruning VLANs Enabled: 2-1001

学习啦在线学习网   Capture Mode Disabled

学习啦在线学习网   Capture VLANs Allowed: ALL

  Protected: false

学习啦在线学习网   Appliance trust: 7

  ----------------------------------------------------------------------------

学习啦在线学习网   Switch(config-if)#switchport priority extend trust

  Switch#show interf f0/4 switch

学习啦在线学习网   Name: Fa0/4

  Switchport: Enabled

  Administrative Mode: dynamic desirable

  Operational Mode: down

  Administrative Trunking Encapsulation: dot1q

  Negotiation of Trunking: On

学习啦在线学习网   Access Mode VLAN: 1 (default)

  Trunking Native Mode VLAN: 1 (default)

学习啦在线学习网   Voice VLAN: dot1p

  Administrative private-vlan host-association: none

学习啦在线学习网   Administrative private-vlan 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

学习啦在线学习网   Trunking VLANs Enabled: ALL

  Pruning VLANs Enabled: 2-1001

  Capture Mode Disabled

  Capture VLANs Allowed: ALL

  Protected: false

  Appliance trust: trusted

  ----------------------------------------------------------------

学习啦在线学习网   Switch#show running interfa f0/4

学习啦在线学习网   Building configuration...

学习啦在线学习网   Current configuration : 139 bytes

  !

  interface FastEthernet0/4

  switchport voice vlan dot1p

  switchport priority extend trust

学习啦在线学习网   mls qos trust cos

  spanning-tree portfast

  end

  案例

学习啦在线学习网   CCIE-LAB(YY)

  题目要求

学习啦在线学习网   Configure SW1 interface f0/15 to support a future cisco 7960 IP phone connection.The Cisco 7960 IP phone supports 802.1q. Voice traffic uses VLAN 200 named VLAN_VOICE. Data traffic uses VLAN A (VLAN 4).Configure the switch so that traffic on PC connects.

  配置

  SW1

  config terminal

  mls qos

  vlan 200

  name VLAN_VOICE

学习啦在线学习网   inteface f0/15

学习啦在线学习网   switchport trunk encapsulation 802.1q

学习啦在线学习网   switchport mode trunk

  switchport trunk native vlan 4

学习啦在线学习网   switchport voice vlan 200

学习啦在线学习网 思科交换Voice VLAN设置的相关文章:

1.cisco设置vlan

2.思科如何配置跨交换机相同VLAN间通讯

3.思科7960路由器怎么配置Voice vlan

565552