voice vlan mac-address
Syntax
voice vlan mac-address mac-address mask oui-mask [ description text ]
undo voice vlan mac-address oui
View
System view
Default level
2: System level
Parameters
mac-address: Specifies a source MAC address of voice traffic, in the format of H-H-H. For example, 1234-1234-1234.
mask oui-mask: Specifies the valid length of the OUI address by a mask in the format of H-H-H, formed by consecutive 1s and 0s. For example, FFFF-0000-0000. To filter the voice devices of a specific vendor, set the mask to FFFF-FF00-0000.
description text: Specifies the OUI address description, a case-sensitive string of 1 to 30 characters.
oui: Specifies the OUI address you want to remove, in the format of H-H-H. For example, 1234-1200-0000. An OUI address is the logic AND result of mac-address and oui-mask. An OUI address cannot be a broadcast address, a multicast address, or an all-zero address.
Description
Use voice vlan mac-address to allow packets carrying the specified OUI address to pass through.
Use undo voice vlan mac-address to prohibit packets carrying the specified OUI address from passing through.
Use display voice vlan oui to display the OUI addresses supported.
By default, the system is configured with the default OUI addresses. You can delete the default OUI addresses and then add recognizable OUI addresses manually.
The Switch Series supports up to 128 OUI addresses.
Table 39: Default OUI addresses
Number | OUI address | Vendor |
---|---|---|
1 | 0001-E300-0000 | Siemens phone |
2 | 0003-6B00-0000 | Cisco phone |
3 | 0004-0D00-0000 | Avaya phone |
4 | 00D0-1E00-0000 | Pingtel phone |
5 | 0060-B900-0000 | Philips/NEC phone |
6 | 00E0-7500-0000 | Polycom phone |
7 | 00E0-BB00-0000 | 3Com phone |
Related commands: display voice vlan oui.
Examples
# Add a recognizable OUI address 1234-1200-0000 by specifying the MAC address as 1234-1234-1234 and the mask as fff-ff00-0000, and configure its description string as PhoneA.
<Sysname> system-view [Sysname] voice vlan mac-address 1234-1234-1234 mask ffff-ff00-0000 description PhoneA