Chapter 3 Configuring the Cisco ATA for SIP

Specifying a Preconfigured VLAN ID or Disabling VLAN IP Encapsulation

Table 3-2 VLAN-Related Features and Corresponding Configuration Parameters

 

 

 

 

VLANSetting

 

OpFlags Bit 4

OpFlags Bit 5

OpFlags Bit 6

Bits 18-29

Feature

 

 

 

 

 

 

 

 

 

Static VLAN

1

0

1

VLAN ID

 

 

 

 

 

CDP-acquired

0

0

0

N/A

VLAN

 

 

 

 

 

 

 

 

 

No VLAN

N/A

1

N/A

N/A

 

 

 

 

 

No CDP

N/A

N/A

1

N/A

 

 

 

 

 

No CDP and no

0

1

1

N/A

VLAN

 

 

 

 

 

 

 

 

 

N/A indicates that the variable is not applicable to the feature and the setting of this varaible does not affect the feature.

Example

The following procedure shows you how to configure the OpFlags and VLANSetting parameters to allow the Cisco ATA to use a user-specified VLAN ID. In this example, the voice VLAN ID is 115 (in decimal format).

Step 1 Set bits 4-6 of the OpFlags parameter to 1, 0, and 1, respectively. This setting translates to the following bitmap:

xxxx xxxx xxxx xxxx xxxx xxxx x101 xxxx

The remaining bits of the OpFlags parameter, using all default values, make up the following bitmap representation:

0000 0000 0000 0000 0000 0000 0xxx 0010

Therefore, the resulting value of the OpFlags parameter becomes the following bitmap representation:

0000 0000 0000 0000 0000 0000 0101 0010

In hexadecimal format, this value is 0x00000052.

Step 2 Set bits 18-29 of the VLANSetting parameter to to voice VLAN ID 115. This setting translates to the following bitmap

xx00 0001 1100 11xx xxxx xxxx xxxx xxxx

where 000001110011 is the binary representation of the demical value 115.

The remaining bits of the VLANSetting parameter, using all default values, make up the following representation:

00xx xxxx xxxx xx00 0000 0000 0010 1011

Therefore, the resulting value of the VLANSetting parameter becomes the following bitmap representation:

0000 0001 1100 1100 0000 0000 0010 1011

In hexadecimal format, this value is 0x01cc002b.

Cisco ATA 186 and Cisco ATA 188 Analog Telephone Adaptor Administrator’s Guide (SIP)

3-4

OL-3410-01

 

 

Page 38
Image 38
Cisco Systems 188, 186 manual VLANSetting, Bits, Feature, Example