Configuring voice vlans, Show mac-vlan, Table 113: voice vlan commands – Microsens MS453490M Management Guide User Manual

Page 809: Vlan

Advertising
background image

C

HAPTER

34

| VLAN Commands

Configuring Voice VLANs

– 809 –

When MAC-based, IP subnet-based, and protocol-based VLANs are

supported concurrently, priority is applied in this sequence, and then

port-based VLANs last.

E

XAMPLE

The following example assigns traffic from source MAC address 00-00-00-

11-22-33 to VLAN 10.

Console(config)#mac-vlan mac-address 00-00-00-11-22-33 vlan 10

Console(config)#

show mac-vlan

This command displays MAC address-to-VLAN assignments.

C

OMMAND

M

ODE

Privileged Exec

C

OMMAND

U

SAGE

Use this command to display MAC address-to-VLAN mappings.

E

XAMPLE

The following example displays all configured MAC address-based VLANs.

Console#show mac-vlan

MAC address VLAN ID

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

00-00-00-11-22-33 10

Console#

C

ONFIGURING

V

OICE

VLAN

S

The switch allows you to specify a Voice VLAN for the network and set a

CoS priority for the VoIP traffic. VoIP traffic can be detected on switch ports

by using the source MAC address of packets, or by using LLDP (IEEE

802.1AB) to discover connected VoIP devices. When VoIP traffic is detected

on a configured port, the switch automatically assigns the port to the Voice

VLAN. Alternatively, switch ports can be manually configured.

Table 113: Voice VLAN Commands

Command

Function

Mode

voice vlan

Defines the Voice VLAN ID

GC

voice vlan aging

Configures the aging time for Voice VLAN ports

GC

voice vlan mac-address

Configures VoIP device MAC addresses

GC

switchport voice vlan

Sets the Voice VLAN port mode

IC

switchport voice vlan

priority

Sets the VoIP traffic priority for ports

IC

Advertising