beautypg.com

Show mac-vlan, Configuring voice vlans, Table 131: voice vlan commands – LevelOne GTL-2691 User Manual

Page 1147: Vlan

background image

C

HAPTER

39

| VLAN Commands

Configuring Voice VLANs

– 1147 –

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 Priority

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

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

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 131: 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