ATA 186 -setting static Vlan ID in ATA (SCCP)

Posted: May 25, 2006 by sankar in Analog, ATA186

You will have to use OpFlag and Vlan setting fields.

Opflag:

Default value of OpFlag is 0x000000002

0000 0000 0000 0000 0000 0000 0000 0010  — bits 4,5,6 are set to zero by default which acquires VLAN ID via CDP. To disable this setting and set this to static, use 101 in bits 4,5,6

0000 0000 0000 0000 0000 0000 0101 0010  — 0x00000052

VLAN Setting:

Default setting is 0x0000002b

Translates to 0000 0000 0000 0000 0000 0000 0010 1011 

Set bits 18 through 29 with VLAN ID. IF you have to set VLAN ID to 115, 115 translate to

64 + 32 + 16 + 0 + 0 + 2 + 1 = 01110011

0000 0001 1100 1100 0000 0000 0010 1011 

which translate to 0x01cc002b

Cos bits for Signalling and RTP ( first 6 bits of Vlan setting)

0000 0001 1100 1100 0000 0000 0010 1011

First three bits (0-2) are for voice signalling. By default this is set to 3.

0000 0001 1100 1100 0000 0000 0010 1011 

Second three bits (3-5) are for voice bearer (rtp). By default this is set to 5.

Advertisements
Comments
  1. Greg Sowell says:

    I wrote a little program that will do the Voice VLAN calculation for you. All you have to do is put in the decimal VLAN ID. Link to the page is HERE.

    BTW, thanks for the great post!

  2. […] not going to explain the complicated process, because someone has already gone through the trouble, here.What I did, was to write an Autoit script that will do all the work for you! All you have to do is […]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s