You are here

Force CM to specific D3.0 DBG

27 posts / 0 new
Last post
emsi
Force CM to specific D3.0 DBG

Dear forum,

is it possible to force a D3.0 Modem to use a specific Downstream Bonding Group available on a fiber node? I assume this would be vendor based, we primarily use Cisco EPC3212. Are you aware of any TLV or other config file options for Cisco? I know about generic "Downstream Frequency" setting in confilg file but read about problems with DS bonding in case you use it. Is it probably possible via DHCP vendor option 43?

thanks
Oliver

mbowe
Have a read about "attribute

Have a read about "attribute masks"

emsi
Thanks for your reply. Let's

Thanks for your reply. Let's say I configure on the CMTS:

[...]
interface Wideband-Cable3/0:0
cable downstream attribute-mask 800000ff

interface Wideband-Cable4/0:0
cable downstream attribute-mask 800000fe
[...]

and in the configfile of the modem I define:

Euro-DOCSIS Extension Field
Cable Modem Attribute Masks
CM Downstream Forbidden Attribute Mask: 800000ff
CM Downstream Required Attribute Mask: 800000fe

Does this force the cable modem to finally register on Wideband-Cable4/0:0?

thanks
Oliver

xsimio
Can you tell us exactly which

Can you tell us exactly which TLVs are you configuring into the config file?

xsimio
Michael is right, you should

Michael is right, you should use Attribute Masks, take a look into the following settings for the docsis configurator:

CMAttributeMasks
CMDownstreamRequiredAttributeMask
CMDownstreamForbiddenAttributeMask
CMUpstreamRequiredAttributeMask
CMUpstreamForbiddenAttributeMask

Hope it helps. You can check MULPI spec for a detailed description on how to use it.

emsi
Thanks. Have you seen my

Thanks. Have you seen my example above? Should this work?

Oliver

emsi
I just had the time to check

I just had the time to check this out. I made a new bootfile including attribute masks. The CM comes online with the attribute mask settings:

cmts-test# sh cable modem verbose
[...]
Required DS Attribute Mask : 0x800000FF
Forbidden DS Attribute Mask : 0x800000FE
[...]

On the CMTS I configured this:

interface Wideband-Cable3/0:0
cable bundle 1
cable bonding-group-id 1
cable dynamic-bw-sharing
cable rf-channel 0 bandwidth-percent 10 remaining ratio 100
cable rf-channel 1 bandwidth-percent 10 remaining ratio 100
cable rf-channel 2 bandwidth-percent 10 remaining ratio 100
cable rf-channel 3 bandwidth-percent 10 remaining ratio 100
cable downstream attribute-mask 800000FE
!

interface Wideband-Cable3/1:0
cable bundle 1
cable bonding-group-id 50
cable dynamic-bw-sharing
cable rf-channel 0 bandwidth-percent 10 remaining ratio 100
cable rf-channel 1 bandwidth-percent 10 remaining ratio 100
cable rf-channel 2 bandwidth-percent 10 remaining ratio 100
cable rf-channel 3 bandwidth-percent 10 remaining ratio 100
cable downstream attribute-mask 800000FF
!

The CM registers successful on Wideband-Cable3/0:0 and never switches to Wideband-Cable3/1:0. Do I get anything wrong about attribute masks?

thanks
Oliver

emsi
Ok, I got it

just read this:

http://www.cisco.com/c/en/us/td/docs/cable/cmts/config_guide/b_cmts_ds_u...

about the restrictions of Cable Modem Steering. After reading I tried it with "Service Type Identifier". Set to a value in config file (TLV 43.11) and adopt the same value on the CMTS like this:

cable service type test1 ds-frequency 570000000
cable service type test2 ds-frequency 602000000

This makes the modem stick to a DS bonding group.

Oliver

mbowe
Bad masks ?

I think you chose your masks incorrectly.

Note that these are "bit masks", not just identifier numbers.

The required attribute mask and the forbidden attribute mask should be configured in such a way that the bitwise AND of the two masks are zero.

In your case, the required and forbidden overlap each other and thus wont be applied, CMTS will just ignore because the combination is invalid.

On the CMTS, you probably should have set the bonding group attribute-masks to be something like :
wide3/0:0 - 8000000F
wide3/0:1 - 800000F0

Then you need to set the CM config file appropriately :

To assign to wide3/0:0
required DS attribute mask : 0x8000000F
forbidden DS attribute mask : 0x000000F0 (or just omit this line)

To assign to wide3/0:1
required DS attribute mask : 0x800000F0
forbidden DS attribute mask : 0x0000000F (or just omit this line)

darkng
10k and attribute mask not working

Hello,

I'm trying to do the same configuration as propossed but mbowe but somehow it isn't working with the 10k and the attribute masks.
The Modem is always comming to the first wideband even that's forbidden.

I've already setup the attribution mask to two widebands ( W6/0/0:0 ) with 16x DS and W6:0:0:1 with 8xDS
I want to force modem to connect on the second wideband interface by using the tlvs 43.9 for attribute masks.
When i check it on the Cisco 10k CMTS, i'm seeing that the modem got already both attributes but again it's not working as epected.

Does anyone have a hint what could be wrong.

scm verbose
Required DS Attribute Mask : 0x800000F0
Forbidden DS Attribute Mask : 0x8000000F
Required US Attribute Mask : 0x0
Forbidden US Attribute Mask : 0x0

CFG FILE:
TLV 43.9.1 : 0x800000F0 - Required - WI6:0:0:1
TLV 43.9.2 : 0x8000000F - Forbidden- WI6:0:0:0

WI6:0:0:0
cable downstream attribute-mask 8000000F

WI6:0:0:1
cable downstream attribute-mask 0x800000F0

mbowe
Try this

In the config file, don't put an 8 in the forbidden mask

darkng
Hello Mbowe

hello Mbowe,

Thank you very much for your quick reply.
I have tried to remove the 8 in the forbidden mask but again its not working.

ubr10k#show cable modem 172.22.8.5 verbose | inc Att
Required DS Attribute Mask : 0x800000F0
Forbidden DS Attribute Mask : 0xF

interface Wideband-Cable6/0/0:0
cable downstream attribute-mask 8000000F

interface Wideband-Cable6/0/0:1
cable downstream attribute-mask 800000F0

Euro-DOCSIS Extension Field
Cable Modem Attribute Masks
CM Downstream Required Attribute Mask:800000F0
CM Downstream Forbidden Attribute Mask:0000000F

Maybe you see a problem, why its not working again.
Thanks again for your help.

kwesibrunee
A couple of things I noticed:

A couple of things I noticed:

The Required/Forbidden attributes have to match between the CMTS and cable modem config

0000000F in HEX = 15 in decimal
8000000F in HEX = 2147483663 in Decimal
obviously they don't match....

the other thing is, you are adding the required/forbidden attribute mask to the extension field TLV43
Have you tried setting it on the primary Downstream service flow instead? If I remember correctly the TLV43 required/forbidden attr mask is for Docsis 1.0 modems, for all other docsis versions I think it is set on the primary (first) Service flow instead.

Finally, what are you trying to accomplish with the Required/Forbidden attribute mask? Load balancing? Enhanced service for premium/business tiers? There may be a better way to do what you want.

darkng
kwesibrunee

Hello kwesibrunee,

Thank you for your response.
I want to force a modem to connect to a specific wideband channel through Cisco 10k and attribute masks ( TLVs 43.9 ).
I'm not sure if the Cisco 10k supports correctly these for wideband channels.
For Example: Arris TG2492 Modem or EPC3940 modem, I want to force the modems to connect to the second wideband interface 6/0/0:0(with 8 DS) and deny the connection to the first wideband 6/0/0:0 ( with 16xDS) by using the config file through required and forbidden attribute masks.

Can you please tell me what's the best way to achieve this by using the configuration file to assign a modem to only a specific wideband interface.

By downstream service flow do you mean using :
ServiceFlowRequiredAttrMask TLV: [25.31] - SfRequiredAttributeMask ex. hexstr: 80000001
ServiceFlowForbiddenAttrMask TLV: [25.32]

Please if you can help me to achieve this, I would be very thankful.

kwesibrunee
Ok,

Ok,

definitely use the Service flow attribute masks only on the primary service flows (the ones with the lowest SFId) and since you want to only do downstream modem steering, just do it on the primary Downstream service flow. Also only add TLV 25.31 required Attribute mask.

Also try using an attribute mask of FFFF or 0x0000FFFFF, the last time I played with attribute masks this is the one I eventually got to work.

drop the TLV 43.9 masks...

on the CMTS only use an attribute mask on the interface you want it to connect on. You can add the Forbidden attribute mask later if needed.

lastly the mask you put in the config file has to match what is set on the CMTS.

mbowe
> 0000000F in HEX = 15 in

> 0000000F in HEX = 15 in decimal
> 8000000F in HEX = 2147483663 in Decimal
> obviously they don't match....

No, it doesnt work like that

These are bitwise masks not identifying numbers

The masks are a 32bit in size, and written in hex they look like XXXXYYYY
XXXX section is DOCSIS defined/reserved
YYYY section is operator defined

The required/forbidden masks are put in CM config file.
The provisioned mask is put on the CMTS.

CMTS will apply selection rules like this :
* When required attribute mask is set, for every 1 bit in the required mask, there needs to be a matching 1 bit in the provisioned mask (if such a channel is available in the RCC)
* When forbidden attribute mask is set, for every 1 bit in the forbidden mask, there needs to be a matching 0 bit in the provisioned mask (if such a channel is available in the RCC)

If you set a required and a forbidden mask, they must not overlap

mbowe
Should work

In your case there are two methods to achieve what you want

1/ Ban the modems from the 16x BG by setting CM Downstream Forbidden Attribute Mask 0xF
or
2/ Steer the modems to the 8x BG by setting CM Downstream Required Attribute Mask 0xF0

I tested it on my CMTS and it works OK, so there must be something wrong on your system.

Please provide some more outputs :
sh run int wide 6/0/0:0
sh run int wide 6/0/0:1
show cable modem 172.22.8.5 wide channel
show cable modem 172.22.8.5 ver | incl Attribute

darkng
Doesnt work

Hello mbowe,

Thank you for your quick answers but i think its maybe not clear enough for me. It seems not to make a CLICK into my Brain.

I want to achieve the first method, ban a particular modem from the 16x BG by setting the cm downstream forbidden attribute mask.
Can you please sent me your tested cfg file to my email a.gashi@albismart.com and maybe some part of the 10k wideband configuration.
I'm adding the Attribute mask through Excentis Config file editor.

Euro-DOCSIS Extension Field
Cable Modem Attribute Masks
CM Downstream Forbidden Attribute Mask:8000000F

Wideband configuration:
interface Wideband-Cable6/0/0:0
cable bundle 3
cable rf-channel 0 bandwidth-percent 10 remaining ratio 10
cable rf-channel 1 bandwidth-percent 10 remaining ratio 10
cable rf-channel 2 bandwidth-percent 10 remaining ratio 10
cable rf-channel 3 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 1 channel 0 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 1 channel 1 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 1 channel 2 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 1 channel 3 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 2 channel 0 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 2 channel 1 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 2 channel 2 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 2 channel 3 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 3 channel 0 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 3 channel 1 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 3 channel 2 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 3 channel 3 bandwidth-percent 10 remaining ratio 10
cable downstream attribute-mask 8000000F
end

interface Wideband-Cable6/0/0:1
cable bundle 3
cable rf-channel 0 bandwidth-percent 10 remaining ratio 10
cable rf-channel 1 bandwidth-percent 10 remaining ratio 10
cable rf-channel 2 bandwidth-percent 10 remaining ratio 10
cable rf-channel 3 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 1 channel 0 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 1 channel 1 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 1 channel 2 bandwidth-percent 10 remaining ratio 10
cable rf-channel controller 1 channel 3 bandwidth-percent 10 remaining ratio 10
end

ubr10k#show cable modem 172.22.8.5 wide channel
MAC Address IP Address I/F MAC DSxUS Primary
State WB
e088.5d89.de69 172.22.8.5 C6/0/0/UB w-online(pt) 16x4 Wi6/0/0:0

The attribute mask is already transferred to the modem. And the CMTS can also evaluate the attributes mask.
show cable modem 172.22.8.5 ver | incl Att
Required DS Attribute Mask : 0x0
Forbidden DS Attribute Mask : 0x8000000F
Required US Attribute Mask : 0x0
Forbidden US Attribute Mask : 0x0

ubr10k#show cable mac-domain cable 6/0/0 rcc
RCC-ID RCP RCs MD-DS-SG CMs WB/RCC-TMPL
1 00 00 00 00 00 16 0 4 WB (Wi6/0/0:0)
2 00 00 00 00 00 8 0 0 WB (Wi6/0/0:1)
3 00 00 00 00 00 4 0 1 WB (Wi6/0/0:2)

It seems that either the CMTS or the modem simply ignore this parameter.
It is always using the Wi6/0/0:0.

mbowe
OK I have my suspicion about

OK I have my suspicion about what is going wrong.

Please provide :

show run int cable 6/0/0 | incl downstream
show cable modem 172.22.8.5 wide primary

darkng
Primary Channels

Hello Mbowe,

Only the first 4 channels are primary * the same channels are already attached to the first and second wideband interface.

ubr10k#show run int cable 6/0/0 | incl downstream
downstream Integrated-Cable 6/0/0 rf-channel 0-3 upstream 0-3

ubr10k#show cable modem 172.22.8.5 wide primary
MAC Address IP Address Host MAC Prim Num Primary DS
Interface State Sid CPE Downstream RfId
e088.5d89.de69 172.22.8.5 C6/0/0/UB w-online 340 1 In6/0/0:3 483

Can you probably forward me your cfg file somehow that you have tested in my email a.gashi@albismart.com .

mbowe
OK well the issue isn't

OK well the issue isn't config file related, because the CMTS shows it is learning the CM masks correctly

And if only the 1st 4 x DS are primary, it rules out the other idea I had

What version IOS are you running ?

Have you configured any DOCSIS load balancing ?

darkng
Hello mbowe,

Hello mbowe,

Right now i'm testing with the version SCG6 with a PRE4.
Cisco IOS Software, 10000 Software (UBR10K4-K9P6U2-M), Version 12.2(33)SCG6, RELEASE SOFTWARE (fc1)

If neccessary, i can try to change it to ubr10k4-k9p6u2-mz.122-33.SCI3.
With which version did you lately tested it.

I've connected some more modems to check.
ubr10k#show cable modem verbose | inc Attr|IP Address|MAC
MAC Address : 1498.7d7c.cc84
IP Address : 172.22.8.9
MAC Version : DOC3.0
Required DS Attribute Mask : 0x0
Forbidden DS Attribute Mask : 0x8000000F
Required US Attribute Mask : 0x0
Forbidden US Attribute Mask : 0x0
MAC Address : e088.5d89.de69
IP Address : 172.22.8.5
MAC Version : DOC3.0
Required DS Attribute Mask : 0x0
Forbidden DS Attribute Mask : 0x8000000F
Required US Attribute Mask : 0x0
Forbidden US Attribute Mask : 0x0
MAC Address : 0896.d78f.498c
IP Address : 172.22.8.21
MAC Version : DOC3.0
Required DS Attribute Mask : 0x0
Forbidden DS Attribute Mask : 0x0
Required US Attribute Mask : 0x0
Forbidden US Attribute Mask : 0x0
MAC Address : a811.fc99.605b
IP Address : 172.22.8.13
MAC Version : DOC3.0
Required DS Attribute Mask : 0x0
Forbidden DS Attribute Mask : 0x8000000F
Required US Attribute Mask : 0x0
Forbidden US Attribute Mask : 0x0
MAC Address : 9c34.2650.8f4a
IP Address : 172.22.8.14
MAC Version : DOC3.0
Required DS Attribute Mask : 0x0
Forbidden DS Attribute Mask : 0x8000000F
Required US Attribute Mask : 0x0
Forbidden US Attribute Mask : 0x0

ubr10k#show running-config | inc load
cable load-balance docsis-enable
cable load-balance docsis30-enable
cable load-balance group 22 method utilization

The complete 10k configuration is here :
http://37.139.13.185/sample/Cisco10k-SampleConfig.txt

The config file from excentis
http://37.139.13.185/sample/mask-config.txt

the config file from docsis decode
http://37.139.13.185/sample/mask.txt

the config file encoded
http://37.139.13.185/sample/mask.cfg

darkng
Hello

Hello mbowe,

Can you check what the issue could be and give me a hint how to solve it.
Or maybe just sent me your test configuration how you tested it including attribute masks that you put on the Widebands and on the configuration file.

mbowe
Be careful of the masks you set in CM config file

Wide 6/0/0:0 (16X BG) needs the mask set to 8000000F
You have done this already

Wide 6/0/0:1 (8X BG) can be left default mask (which is 8000000 and will not be shown in the running config)
You have done this already

In the CM config file, the downstream forbidden-mask needs to be 0000000F so it matches only wide 6/0/0:0
You have currently got this set to 8000000F which is not correct

darkng
Hello mbowe,

Hello mbowe,

Thank you very much for your answer but again it's not working.
Either i'm doing something wrong somewhere and i'm blind to see or it's not working as expected.

MAC Address : 4800.33c3.fe94
IP Address : 172.22.8.30
Primary Wideband Channel ID : 3073 (Wi6/0/0:0)
Primary Downstream : In6/0/0:2 (RfId : 2306)
Required DS Attribute Mask : 0x0
Forbidden DS Attribute Mask : 0xF
Required US Attribute Mask : 0x0
Forbidden US Attribute Mask : 0x0

interface Wideband-Cable6 0 0 0
bundle3
rf-channels 0 until 4 with bandwidth percent 10 and remaining ratio 100
controller 1 until 4 all channels attached
cable downstream attribute-mask 8000000F

interface Wideband-Cable6 0 0 1
bundle3
rf-channels 0 until 4 with bandwidth percent 10 and remaining ratio 100
controller 1 until 2 all channels attached

Same Primary channels on both Downstreams 6 0 0

CFG FILE
Euro-DOCSIS Extension Field
Cable Modem Attribute Masks
CM Downstream Forbidden Attribute Mask:0000000F

Can the order of the EuroDOCSIS extension field matter on the CFG file in my case.

can you please sent me your tested config file into my email a.gashi@albismart.com

darkng
any help from someone or mbowe

Hello,

Does anyone have any idea why its not working to me.
Please if you have any example cfg file that you have tested forward it to my email a.gashi@albismart.com

darkng
Hello

Hello,

Any help from someone that is/has already a setup with attribute masks on 10k cmts.

docsis