Auto-Voice over IP Commands

Use these commands to configure Auto-Voice over IP (VoIP).

This section describes the commands you use to configure Auto-Voice over IP (VoIP) commands. The Auto-VoIP feature explicitly matches VoIP streams in Ethernet switches and provides them with a better class-of-service than ordinary traffic. When you enable the Auto-VoIP feature on an interface, the interface scans incoming traffic for the following call-control protocols:

  • Session Initiation Protocol (SIP)
  • H.323
  • Skinny Client Control Protocol (SCCP)

When a call-control protocol is detected, the switch assigns the traffic in that session to the highest CoS queue, which is generally used for time-sensitive traffic.

auto-voip

M4250

M4350

Use this command to configure auto VoIP mode. The supported modes are protocol-based and oui-based. Protocol-based auto VoIP prioritizes the voice data based on the layer 4 port used for the voice session. OUI based auto VoIP prioritizes the phone traffic based on the known OUI of the phone.

When both modes are enabled, if the connected phone OUI is one of the configured OUIs, then the voice data is prioritized using OUI Auto VoIP, otherwise protocol-based Auto VoIP is used to prioritize the voice data.

Active sessions are cleared if protocol-based auto VoIP is disabled on the port.

Default oui-based
Format auto-voip [protocol-based | oui-based]
Mode

Global Config

Interface Config

no auto-voip

Use the no form of the command to set the default mode.

Format no auto-voip [protocol-based | oui-based]
Mode

Global Config

Interface Config

auto-voip oui

M4250

M4350

Use this command to configure an OUI for Auto VoIP. The traffic from the configured OUI will get the highest priority over the other traffic. The oui-prefix is a unique OUI that identifies the device manufacturer or vendor. The OUI is specified in three octet values (each octet represented as two hexadecimal digits) separated by colons. The oui-desc string is a description of the OUI that identifies the manufacturer or vendor associated with the OUI.

Default A list of known OUIs is present.
Format auto-voip oui oui-prefix oui-desc string
Mode Global Config

Command example:

The following example adds an OUI to the table:

CODE
(NETGEAR Switch) (Config)#auto-voip oui 00:03:6B oui-desc "ABC VoIPPhone"

no auto-voip oui

Use the no auto-voip oui command to remove a configured OUI prefix from the table.

Format no auto-voip oui oui-prefix
Mode Global Config

auto-voip oui-based priority

M4250

M4350

Use this command to configure the global OUI based auto VoIP priority. If the phone OUI matches one of the configured OUIs, the priority of traffic from the phone is changed to the OUI priority configured through this command. The priority-value is the 802.1p priority used for traffic that matches a value in the known OUI list. If the interface detects an OUI match, the switch assigns the traffic in that session to the traffic class mapped to this priority value. Traffic classes with a higher value are generally used for time-sensitive traffic.

Default Highest available priority.
Format auto-voip oui-based priority priority-value
Mode Global Config

no auto-voip oui-based priority

Use the no auto-voip oui-based priority command to reset the global OUI based auto VoIP priority to its default.

Format no auto-voip oui-based priority
Mode Global Config

auto-voip protocol-based

M4250

M4350

Use this command to configure the global protocol-based auto VoIP remarking priority or traffic-class. If remark priority is configured, the voice data of the session is remarked with the priority configured through this command. The remark-priority is the 802.1p priority used for protocol-based VoIP traffic. If the interface detects a call-control protocol, the device marks traffic in that session with the specified 802.1p priority value (from 0 to 7) to ensure voice traffic always gets the highest priority throughout the network path.

The traffic class value is the traffic class used for protocol-based VoIP traffic. The value depends on the switch model:

  • For an M4250 series switch, the range is from 0 to 7.
  • For an M4350 series switch, the range is from 0 to 6.

If the interface detects a call-control protocol, the device assigns the traffic in that session to the configured Class of Service (CoS) queue. Traffic classes with a higher value are generally used for time-sensitive traffic. The CoS queue associated with the specified traffic class should be configured with the appropriate bandwidth allocation to allow priority treatment for VoIP traffic.

Note: You must enable tagging on auto VoIP-enabled ports to remark the voice data upon egress.
Default Traffic class 7
Format auto-voip protocol-based [remark remark-priority | traffic-class value]
Mode Global Config

no auto-voip protocol-based

Use this command to reset the global protocol based auto VoIP remarking priority or traffic-class to the default.

Format no auto-voip protocol-based [remark remark-priority | traffic-class value]
Mode Global Config

auto-voip vlan

M4250

M4350

Use this command to configure the global Auto VoIP VLAN ID. The VLAN behavior depends on the configured auto VoIP mode. The auto-VoIP VLAN is the VLAN used to segregate VoIP traffic from other non-voice traffic. All VoIP traffic that matches a value in the known OUI list gets assigned to this VoIP VLAN.

Default None
Format auto-voip vlan vlan-id
Mode Global Config

no auto-voip vlan

Use the no form of the command to reset the auto-VoIP VLAN ID to the default value.

Format no auto-voip vlan
Mode Global Config

show auto-voip

M4250

M4350

Use this command to display the auto VoIP settings on one particular interface or on all interfaces of the switch. To specify an actual interface or port, do the following:

  • For an M4250 series switch, use the argument slot/port.
  • For an M4350 series switch, use the argument unit/slot/port, as shown in the command description and format.
Format show auto-voip [{protocol-based | oui-based} [interface {unit/slot/port | all}]
Mode Privileged EXEC
Field Description
VoIP VLAN ID The global VoIP VLAN ID.
Prioritization Type The type of prioritization used on voice traffic.
Class Value
  • If the Prioritization Type is configured as traffic-class, then this value is the queue value.
  • If the Prioritization Type is configured as remark, then this value is 802.1p priority used to remark the voice traffic.
Priority The 802.1p priority. This field is valid for OUI auto VoIP.
AutoVoIP Mode The Auto VoIP mode on the interface.

Command example:

CODE
(NETGEAR Switch)# show auto-voip protocol-based interface all

VoIP VLAN Id................................... 2
Prioritization Type............................ traffic-class
Class Value.................................... 7

Interface     Auto VoIP     Operational Status
                  Mode
---------    -------------- -----------------
0/1           Disabled       Down
0/2           Disabled       Down
0/3           Disabled       Down
0/4           Disabled       Down

Command example:

CODE
(NETGEAR Switch)# show auto-voip oui-based interface all

VoIP VLAN Id................................... 2
Priority....................................... 7
Interface   Auto VoIP   Operational Status
               Mode
---------  -------------- ------------------
0/1        Disabled       Down
0/2        Disabled       Down
0/3        Disabled       Down
0/4        Disabled       Down
0/5        Disabled       Down

show auto-voip oui-table

M4250

M4350

Use this command to display the VoIP OUI table information.

Format show auto-voip oui-table
Mode Privileged EXEC
Parameter Description
OUI OUI of the source MAC address.
Status Default or configured entry.
OUI Description Description of the OUI.

Command example:

CODE
(NETGEAR Switch)# show auto-voip oui-table

OUI          Status          Description
---------    ----------      ---------
00:01:E3     Default         SIEMENS
00:03:6B     Default         CISCO1
00:01:01     Configured      VoIP phone