VLan in config file | docsis.org

You are here

VLan in config file

6 posts / 0 new
Last post
gadz
VLan in config file

Hello

Is it possible to link a cm to a VLAN in config file ?

Now I do it in the CMTS with this straight in my BSR2000:
BSR200(config)#bridge cable modem xxxx.xxxx.xxx 15

cm mac xxxx.xxxx.xxxx
VLan: 15

cmcaldas
yes you can

You have to change the TLV 43 contents in this file which are ASCII equivalent of text characters.
e.g.
FileVersion = Version 6.0
03 (Net Access Control) = 1

04 (Class of Service Encodings Block)
S01 Class ID = 1
S02 Maximum DS Rate = 3800000
S03 Maximum US Rate = 3800000
S04 US Channel Priority = 0
S05 Minimum US Data Rate = 0
S06 Maximum US Xmit Burst = 0
S07 Privacy Enable = 1

17 (Baseline Privacy Configuration Settings Block)
S01 Author Wait Timeout = 15
S02 Re-auth Wait Timeout = 10
S03 Author Grace Timeout = 900
S04 Oper Wait Timeout = 5
S05 Re-key Wait Timeout = 5
S06 TEK Grace Time = 900
S07 Auth Rej Wait Timeout = 300
18 (Maximum Number of CPE) = 16
29 (Privacy Enable) = 1

43 (Vendor Specific Options)
08 (Vendor ID) = 08 00 3e
S3 (Vendor Specific Type) = 76 6c 61 6e 3a 32 30 this = to 76= v, 6c=l , 61=a, 6e=n, 3a=:, 32=2, 30=0

Here the values 76 6c 61 6e 3a 32 30
Are ASCII equivalents of vlan:20
For reference pls refer to
http://www.asciitable.com/

gadz
Config

Thank you for your reply.

Main
{
NetworkAccess 1;

ClassOfService
{
ClassID 1;
MaxRateDown 3800000;
MaxRateUp 3800000;
PriorityUp 0;
GuaranteedUp 0;
MaxBurstUp 0;
PrivacyEnable 1;
}

BaselinePrivacy
{
AuthTimeout 15;
ReAuthTimeout 10;
AuthGraceTime 900;
OperTimeout 10;
ReKeyTimeout 5;
TEKGraceTime 300;
AuthRejectTimeout 300;
}
MaxCPE 3;

VendorSpecific
{
VendorIdentifier 08 00 3e;
{
VendorSpecificType 76 6c 61 6e 3a 32 30;
}
}
}

I can not see how it should be written in the file, is there anything correct in this or is it possible you can create a file and send?
jannik_eriksen "a" hotmail.com

cmcaldas
free download

simple cool little program where you type in ascii and it gives you the hex value. or the other way around

http://bluefive.pair.com/hexwrite.htm

gadz
config file

Thanks for the link.

I understand it with the ASCII, no problems with it.

But how should I put it into the config file?

cmcaldas
info

Sorry for the delay, holidays are always crazy.
I've only got the Motorola Docsis editor, so I'll use that for the info your looking for. on the left side, vendor specific.
vendor id 08 00 3e is for Motorola. to the right, tlv tuples you would have the following 03 07 76 6C 61 6E 3A 32 30
the 03 is Ethernet 07 is length meaning 76 6C 61 6E 3A 32 30 (76=1, 6c=2, 61=3, 6e=4 etc...)
this would put the modem on vlan:20 hope this helps

Log in or register to post comments