国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 學(xué)院 > 網(wǎng)絡(luò)通信 > 正文

Voice VLAN Lab 配置舉例

2019-11-04 20:43:28
字體:
供稿:網(wǎng)友

  源碼:--------------------------------------------------------------------------------
  r1-1(e0/0)-----(f0/1)sw(f0/2)---------r1-2(f0/0)
  
   (f0/3)----------r1-3(e0)
  
  cat3550 f0/2 configured with one access vlan 20 and
  one voice vlan 50
   f0/1 access vlan 50
   f0/3 access vlan 20
  
  r1-2 configured with a native vlan 20 and a dot1q
  trunk vlan 50 (simulating ip phone)
  
  And ping r1-1 and r1-3 works from r1-2!
  
  This means that cat3550 treats the voice vlan in a
  very special way!
  
  If you configure the voice vlan port as a dot1q trunk
  port, you may need
  to block all vlans other than the native vlan and
  voice vlan. Otherwise
  all other vlan packets will be sent to the ip phone...
  
  ===================================
  cat3550 configuration:
  
  interface FastEthernet0/1
   switchport access vlan 50
   no ip address
  !
  interface FastEthernet0/2
   switchport access vlan 20
   switchport voice vlan 50
   no ip address
   duplex full
   speed 100
   spanning-tree portfast
  !
  interface FastEthernet0/3
   switchport access vlan 20
   no ip address
  !
  =============
  
  r1-1:
  interface Ethernet0/0
   ip address 50.1.1.10 255.255.255.0
  
  r1-2:
  
  interface FastEthernet0/0
   no ip address
   speed 100
   full-duplex
  !
  interface FastEthernet0/0.20
   encapsulation dot1Q 20 native
   ip address 20.1.1.1 255.255.255.0
  !
  interface FastEthernet0/0.50
   encapsulation dot1Q 50
   ip address 50.1.1.1 255.255.255.0
  !
  
  
  r1-3:
  interface Ethernet0
   ip address 20.1.1.3 255.255.255.0
   no ip directed-broadcast
  !
  
  r1-2#p 20.1.1.3
  
  Type escape sequence to abort.
  Sending 5, 100-byte ICMP Echos to 20.1.1.3, timeout is
  2 seconds:
  !!!!!
  SUCcess rate is 100 percent (5/5), round-trip
  min/avg/max = 1/2/4 ms
  
  r1-2#p 50.1.1.10
  
  Type escape sequence to abort.
  Sending 5, 100-byte ICMP Echos to 50.1.1.10, timeout
  is 2 seconds:
  !!!!!
  Success rate is 100 percent (5/5), round-trip
  min/avg/max = 1/2/4 ms
  
  cat3550-11#sh int f0/2 swi
  Name: Fa0/2
  Switchport: Enabled
  Administrative Mode: dynamic desirable
  Operational Mode: static access
  Administrative Trunking Encapsulation: negotiate
  Operational Trunking Encapsulation: native
  Negotiation of Trunking: On
  Access Mode VLAN: 20 (VLAN0020)
  Trunking Native Mode VLAN: 1 (default)
  Administrative PRivate-vlan host-association: none
  Administrative private-vlan mapping: none
  Operational private-vlan: none
  Trunking VLANs Enabled: ALL
  Pruning VLANs Enabled: 2-1001
  
  Protected: false
  Unknown unicast blocked: disabled
  Unknown multicast blocked: disabled
  
  
  Voice VLAN: 50 (VLAN0050) <--- wow, voice vlan now is
  active!!!


上一篇:VLAN有什么用

下一篇:淺談VLAN技術(shù)

發(fā)表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發(fā)表
主站蜘蛛池模板: 东安县| 田阳县| 丰镇市| 长治市| 河津市| 仙桃市| 黄浦区| 集贤县| 喜德县| 天祝| 桃江县| 无极县| 拜城县| 新竹县| 公主岭市| 醴陵市| 平昌县| 夏津县| 辽中县| 南开区| 邛崃市| 准格尔旗| 桓台县| 保定市| 铜山县| 岐山县| 永康市| 钦州市| 高清| 甘德县| 萝北县| 丰台区| 武乡县| 德阳市| 高青县| 边坝县| 宝应县| 平邑县| 松滋市| 平陆县| 澜沧|