
Chapter 2 Campus Infrastructure Considerations
IP Addressing and Management
2-24
Cisco IP Telephony Network Design Guide
78-11103-03
Voice VLAN Configuration
To configure the VVID from the Catalyst software CLI, use the set port
auxiliaryvlan command. You can use this command to set the VVID on a single
port, on a range of ports, or for an entire module. The following example shows
how to display the command syntax:
Console> (enable) set port auxiliaryvlan help
Usage: set port auxiliaryvlan <mod/port>
<vlan|untagged|dot1p|none>
(vlan + 1..1000)
In the following example, the VVID is set to 222 for ports 2/1 through 2/3. When
the phone powers up, the switch instructs it to register with VLAN 222.
Console> (enable) set port auxiliaryvlan 2/1-3 222
Auxiliaryvlan 222 configuration successful.
The following examples show how to display which ports are in which auxiliary
VLAN:
Console> show port auxiliaryvlan 222
AuxiliaryVlan auxVlanStatus Mod/Ports
------------- ------------- ---------
222 222 1/2,2/1-3
Console> show port 2/1
Port AuxiliaryVlan AuxVlan-Status
----- ------------- --------------
2.1 222 active
The following is an example of VVID configuration on Catalyst switches running
Cisco IOS at the interface level (for example, Catalyst 3524-PWR and 2900XL):
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan <PVID>
switchport mode trunk
switchport voice vlan <VVID>
spanning-tree portfast
switchport mode trust
Kommentare zu diesen Handbüchern