Configuration Guide
502
Configuring Voice VLAN
Configuration Example
3.5 Using the CLI
Configurations for Switch A
1) Configure the link type of ports 1/0/1-2 as General.
Switch_A#configure
Switch_A(config)#interface range gigabitEthernet 1/0/1-2
Switch_A(config-if-range)#switchport mode general
Switch_A(config-if-range)#exit
2) Create VLAN 10.
Switch_A(config)#vlan 10
Switch_A(config-vlan)#name VoiceVLAN
Switch_A(config-vlan)#exit
3) Configure the aging time as 1440 minutes for port in automatic voice VLAN mode, and
set the 802.1p priority of voice packets as 6. Set VLAN 10 as the voice VLAN.
Switch_A(config)#voice vlan aging 1440
Switch_A(config)#voice vlan priority 6
Switch_A(config)#voice vlan 10
4) Configure port 1/0/1 to automatic voice VLAN mode and enable security mode.
Switch_A(config)#interface gigabitEthernet 1/0/1
Switch_A(config-if)#switchport voice vlan mode auto
Switch_A(config-if)#switchport voice vlan security
Switch_A(config-if)#exit
5) Configure port 1/0/2 to manual voice VLAN mode, and add it to the voice VLAN as a
tagged port.
Switch_A(config)#interface gigabitEthernet 1/0/2
Switch_A(config-if)#switchport voice vlan mode manual
Switch_A(config-if)#switchport general allowed vlan 10 tagged
Switch_A(config-if)#exit
6) Enable LLDP globally and set the fast start count of LLDP-MED frame as 4.
Switch_A(config)#lldp
Switch_A(config)# lldp med-fast-count 4
7) Enable the LLDP-MED feature on port 1/0/1.
Содержание T2500G-10MPS
Страница 1: ...User Guide T2500G 10MPS 1910012405 REV1 0 1 April 2018...
Страница 24: ...Using the CLI 767 Appendix Default Parameters 773...
Страница 27: ...Part 1 Accessing the Switch CHAPTERS 1 Overview 2 Web Interface Access 3 Command Line Interface Access...
Страница 129: ...Part 4 Configuring LAG CHAPTERS 1 LAG 2 LAG Configuration 3 Configuration Example 4 Appendix Default Parameters...
Страница 145: ...Part 5 Monitoring Traffic CHAPTERS 1 Traffic Monitor 2 Appendix Default Parameters...
Страница 172: ...Part 7 Configuring DDM CHAPTERS 1 Overview 2 DDM Configuration 3 Appendix Default Parameters...
Страница 190: ...Part 8 Configuring L2PT CHAPTERS 1 Overview 2 L2PT Configuration 3 Configuration Example 4 Appendix Default Parameters...
Страница 274: ...Part 13 Configuring GVRP CHAPTERS 1 Overview 2 GVRP Configuration 3 Configuration Example 4 Appendix Default Parameters...
Страница 800: ...Configuration Guide 776 Configuring SNMP RMON Appendix Default Parameters Parameter Default Setting Status Disable...
Страница 803: ...BSMI Notice Pb Cd Hg CrVI PBB PBDE PCB 1 2...