Вы находитесь на странице: 1из 52

Cisco VoIP Troubleshooting

Session Number Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

Agenda
Show Commands for Configurations Understanding the Cisco DOCSIS Scheduler

Call Signaling Using nRTPS


Cable Default-Phy-Burst and Fragmentation Low Latency Queuing Show Commands for UGS Flows VoIP & eMTA Issues

Miscellaneous Notes

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

sh run int c6/1


interface Cable6/1 cable downstream annex B cable downstream modulation 256qam cable downstream interleave-depth 32 cable downstream frequency 453000000 cable downstream channel-id 0 cable upstream 0 frequency 20000000 cable upstream 0 power-level 0 cable upstream 0 channel-width 3200000 cable upstream 0 minislot-size 4 cable upstream 0 modulation-profile 1 no cable upstream 0 shutdown cable upstream 1 frequency 30000000 cable upstream 1 power-level 0 cable upstream 1 channel-width 3200000 cable upstream 1 minislot-size 2 cable upstream 1 modulation-profile 2 no cable upstream 1 shutdown
Presentation_ID
2003 Cisco Systems, Inc. All rights reserved.

sh cab modu c6/1 u0


Mod IUC Type 1 1 1 1 1 request initial station short long qpsk qpsk qpsk qpsk qpsk Pre Diff FEC len enco T BYTE 64 yes 0x0 128 yes 0x5 128 yes 0x5 72 yes 0x2 80 yes 0x8 FEC k BYTE 0x10 0x22 0x22 0x34 0xDC Scrmb seed 0x152 0x152 0x152 0x152 0x152 Max B siz 0 0 0 35 149 Guard time size 8 48 48 8 8 Last Scrmb CW short no yes no yes no yes yes yes yes yes Pre Pre offst Type 184 128 128 176 168 qpsk qpsk qpsk qpsk qpsk RS na na na na na

sh cab modu 1
Mod IUC Type Pre Diff FEC len enco T BYTE 64 yes 0x0 128 yes 0x5 128 yes 0x5 72 yes 0x2 80 yes 0x8 FEC k BYTE 0x10 0x22 0x22 0x34 0xDC Scrmb seed 0x152 0x152 0x152 0x152 0x152 Max B siz 0 0 0 35 0 Guard time size 8 48 48 8 8 Last Scrmb CW short no yes no yes no yes yes yes yes yes Pre Pre offst Type 184 128 128 176 168 qpsk qpsk qpsk qpsk qpsk RS

1 1 1 1 1

request initial station short long

qpsk qpsk qpsk qpsk qpsk

na na na na na

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

sh cab modem
scm s t Interface Cable6/1/U0 Cable6/1/U1 Total: Cable Modem Total Registered Unregistered 34 34 0 17 16 1 51 50 1 Cable Modem Total Registered Unregistered 1 1 0 5 5 0 4 4 0 3 3 0 1 1 0 13 13 0 1 1 0 19 18 1 MaxSusRate Description Offline 0 0 0

scm ven s Vendor


00.0C.41 Arris Cisco Cisco Cisco Cisco Cisco Toshiba

OUI 00.0C.41 00.00.CA 00.04.27 00.05.5E 00.06.28 00.07.0E 00.30.94 00.00.39

Offline 0 0 0 0 0 0 0 0 MinRsvRate Throughput

sh cable modem 0002.8a81.85ea qos Sfid Dir Curr Sid Sched Prio State Type 1597 US act 798 BE 7 2287 US act 1143 BE 0 32816 US act 2659 UGS 0 1598 DS act N/A BE 0 2288 DS act N/A BE 3
Presentation_ID
2003 Cisco Systems, Inc. All rights reserved.

MaxBrst

20000 880012 0 3300012 20000

1600 1600 0 1600 1600

10000 0 0 0 10000

0 301 87200 63236 0


5

sh cab modem c6/1 up 0


MAC Address 0000.39f2.2a58 0000.39a1.124f 0005.5e48.d4d5 0000.39d7.2251 0000.3961.2659 0000.39a1.b04f 0000.39a1.664f 0000.39cc.6c70 0000.39f2.1858 0000.39a1.ac4f 0000.39bc.2451 0000.39a1.a44f 0000.39bb.fc51 0000.3961.8259 0000.39a1.f44f 0000.39f2.1458 0000.ca36.f189 0000.39bb.f451 0000.39a1.ec4f 0000.39b6.224f 0000.ca36.fad1 0000.ca30.ce30 0004.27f6.2bc1 0007.0e03.2d85 0007.0e03.2dcd 0005.9bcc.cd69 0007.0e03.2d39 0007.0e03.2e31 0007.0e03.2d31 0005.5e86.6c49 0007.0e03.2d2d 0006.28ae.18a9 0007.0e03.2dc9 0007.0e03.2cdd
Presentation_ID

IP Address 10.7.12.165 10.7.12.190 10.7.12.169 10.7.12.189 10.7.12.188 10.7.12.177 10.7.12.149 10.7.12.182 10.7.12.150 10.7.12.185 10.7.12.144 10.7.12.186 10.7.12.138 10.7.12.145 10.7.12.187 10.7.12.139 10.7.12.213 10.7.12.183 10.7.12.178 10.7.12.191 10.7.12.148 10.7.12.215 10.7.12.181 10.7.12.216 10.7.12.223 10.7.12.175 10.7.12.211 10.7.12.172 10.7.12.218 10.7.12.167 10.7.12.161 10.7.12.199 10.7.12.173 10.7.12.217

I/F C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0 C6/1/U0

MAC State online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt) online(pt)

Prim Sid 1 3 4 5 6 7 9 10 11 12 13 14 15 16 17 18 19 20 21 22 24 26 35 36 39 40 43 44 49 50 51 52 53 54

RxPwr (dB) 0.25 -0.25 0.25 0.25 0.00 -0.25 -0.25 -0.50 0.25 -0.25 -0.50 0.00 0.00 0.25 0.00 0.00 -0.25 0.50 -0.50 -0.25 0.25 0.00 -0.50 -0.25 0.25 0.25 0.00 0.25 -0.50 0.00 -0.25 -0.50 0.75 0.25

Timing Offset 1675 1676 2738 1670 1666 1677 1679 1679 1682 1676 1677 1668 1670 1671 1680 1662 1673 1670 1670 1672 1669 1669 2741 2742 2739 2743 2740 2738 2741 2740 2742 2739 2740 2742

Num CPE 1 1 0 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0 0 0 0 0

BPI Enb Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y Y
6

2003 Cisco Systems, Inc. All rights reserved.

sh controller c6/1 u0
Cable6/1 Upstream 0 is up Frequency 19.984 MHz, Channel Width 3.200 MHz, QPSK Symbol Rate 2.560 Msps Spectrum Group is overridden US phy SNR_estimate for good packets - 33.4213 dB Nominal Input Power Level 0 dBmV, Tx Timing Offset 2743 Ranging Backoff automatic (Start 0, End 3) (3 6 is recommended for new cards) Ranging Insertion Interval automatic (102 ms) Tx Backoff Start 3, Tx Backoff End 5 Modulation Profile Group 1 Concatenation is enabled Fragmentation is enabled part_id=0x3137, rev_id=0x03, rev2_id=0xFF nb_agc_thr=0x0000, nb_agc_nom=0x0000 Range Load Reg Size=0x58 Request Load Reg Size=0x0E Minislot Size in number of Timebase Ticks is = 4 Minislot Size in Symbols = 64 Bandwidth Requests = 0xA95D6 Piggyback Requests = 0x6102 Invalid BW Requests= 0x0 Minislots Requested= 0x76659C Minislots Granted = 0x1E55137 Minislot Size in Bytes = 16 Map Advance (Dynamic) : 2447 usecs UCD Count = 301435
Presentation_ID
2003 Cisco Systems, Inc. All rights reserved.

Agenda
Show Commands for Configurations Understanding the Cisco DOCSIS Scheduler

Call Signaling Using nRTPS


Cable Default-Phy-Burst and Fragmentation Low Latency Queuing Show Commands for UGS Flows VoIP & eMTA Issues

Miscellaneous Notes

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

sh int c6/1 mac-sch 0


DOCSIS 1.1 MAC scheduler for Cable6/1/U0 Queue[Rng Polls] 0/64, 0 drops Queue[CIR Grants] 0/64, 0 drops Queue[BE(7) Grants] 0/64, 0 drops Queue[BE(6) Grants] 0/64, 0 drops . Queue[BE(1) Grants] 0/64, 0 drops Queue[BE(0) Grants] 0/64, 0 drops Req Slots 569303709, Req/Data Slots 0 Init Mtn Slots 7916484, Stn Mtn Slots 1033208 Short Grant Slots 31803719, Long Grant Slots 6414 ATDMA Short Grant Slots 0, ATDMA Long Grant Slots 0 ATDMA UGS Grant Slots 0 Awacs Slots 0 Fragmentation count 589 Fragmentation test disabled Avg upstream channel utilization : 19% Avg percent contention slots : 79% Avg percent initial ranging slots : 1% Avg percent minislots lost on late MAPs : 0% Sched Table Adm-State: Grants 9, Reqpolls 0, Util 20% UGS : 9 SIDs, Reservation-level in bps 835200 UGS-AD : 0 SIDs, Reservation-level in bps 0 RTPS : 0 SIDs, Reservation-level in bps 0 NRTPS : 0 SIDs, Reservation-level in bps 0 BE : 37 SIDs, Reservation-level in bps 0
Presentation_ID
2003 Cisco Systems, Inc. All rights reserved.

sh int c6/1 mac-sch 0 ver


mac_schedp:0x6303E0DC hwidbp:0x502D88BC uschan:1 slotchunkp:0x20396C6C bktp:0x50649A28, bktwidth:(2000 usecs, 80 mslots) numbkts:150 Pendbkts:0x0 Vacant bkt interval: 2400 mslots Bucket vacancy table (slot_count, vacancy_ms)

( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( (
Presentation_ID

1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0,

0) 79) 79) 79) 79) 79) 0) 79) 79) 79) 79) 79) 0) 79) 79) 79) 79) 79)

( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( (

0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,

10) 79) 79) 79) 79) 79) 10) 79) 79) 79) 79) 79) 10) 79) 79) 79) 79) 79)

( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( (

3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0, 3, 0,

28) 79) 28) 79) 28) 79) 28) 79) 28) 79) 28) 79) 28) 79) 28) 79) 28) 79)

( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( (

4, 0, 4, 0, 4, 0, 4, 0, 4, 0, 4, 0, 4, 0, 4, 0, 4, 0,

11) 79) 11) 79) 11) 79) 11) 79) 11) 79) 11) 79) 11) 79) 11) 79) 11) 79)

( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( (

2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 0,

45) 79) 45) 79) 45) 79) 45) 79) 45) 79) 45) 79) 45) 79) 45) 79) 45) 79)
10

2003 Cisco Systems, Inc. All rights reserved.

Agenda
Show Commands for Configurations Understanding the Cisco DOCSIS Scheduler

Call Signaling Using nRTPS


Cable Default-Phy-Burst and Fragmentation Low Latency Queuing Show Commands for UGS Flows VoIP & eMTA Issues

Miscellaneous Notes

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

11

With nRTPS for Signaling


show inter c5/1/0 mac-scheduler 5 ver
DOCSIS 1.1 MAC scheduler for c5/1/0/U5 Req Slots 4127861563 Init Mtn Slots 12255706 Stn Mtn Slots 53731278 Short Grant Slots 748773912 Long Grant Slots 1933681334, Fragmentation count 178082455 Avg upstream channel utilization : 59% Avg percent contention slots : 26% Avg percent initial ranging slots : 1% Avg perc minislots lost on late MAPs : 0% Sched Table Adm-State: Grants 2, Reqpolls 171, Util 15% UGS : 2 SIDs, Reser-level in bps 185600 UGS-AD:0 SIDs, Reser-level in bps 0 RTPS :0 SIDs, Reser-level in bps 0 NRTPS:171SIDs, Reser-level in bps 437760 BE :326SIDs, Reser-level in bps 0 bktwidth:(2000 usecs, 80 mslots) numbkts:150 Pendbkts:0x0 Vacant bkt interval: 2400 mslots
Presentation_ID
2003 Cisco Systems, Inc. All rights reserved.

12

With nRTPS for Signaling (cont)


Bucket vacancy table (slot_count, vacancy_ms)

( 1, 0) ( 7, 0) ( 39, 0) ( 39, 0) ( 39, 0) ( 38, 2) ( 10, 26) ( 1, 76) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 2, 42) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 2, 42) ( 0, 78) ( 0, 78) ( 0, 78) ( 1, 0) ( 0, 14) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 2, 42) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 2, 42) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 7, 64) ( 39, 0) ( 39, 0) ( 39, 0) ( 38, 2) ( 10, 26) ( 1, 76) ( 0, 78) ( 0, 78) ( 1, 0) ( 0, 14) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 2, 42) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 2, 42) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 2, 42) ( 0, 78) ( 0, 78) ( 0, 78) ( 1, 0) ( 0, 14) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 2, 42) ( 0, 78) ( 0, 78) ( 0, 78) ( 0, 78) ( 7, 64) ( 39, 0) ( 39, 0) ( 39, 0) ( 38, 2) ( 10, 26) ( 1, 76) ( 0, 78) ( 0, 78)
Presentation_ID
2003 Cisco Systems, Inc. All rights reserved.

Rsched_Time:8 msecs Current minislot count : 2094017 Flag: 0 Scheduled minislot count : 2094166 Flag: 0 ReqSlotSz:2 ReqSlotChunkSz:8 ImSlotSz:76 SmSlotsz:4 MinFragSz:12 MaxUnfragSz:144 TolUfragJitt:0 MslotBitsExp:7 Current UCD count: 7 UnfragSlotJittLimit: 0 usecs, CACEnf:1 UGS-AD inactivity detection threshold 10 secs QI grant mode : DOCSIS compliant QI granting Requests dropped for size 0 Force fragmentation: Threshold 0, number 0

13

With nRTPS for Signaling (cont)


With minislot 4, QPSK at 3.2 MHz = 16 B/mini Using profile: ubr10k#sh cab modu c8/0/0 up 0
21 long qpsk 64 no 0x9 0xE8 0x152 0 22 yes yes 64 qpsk na

Calculate 17 minislots/call. Scheduler with nothing reserved:


( 1, 0) ( 0, 55) ( 0, 79) ( 0, 79) ( 0, 79)

First bucket and 24 minislots (79-55) from 2nd bucket used for IM and DOCSIS 1.0 CMs If we had 172 eMTAs using 1 minislot for each request, then we could use 55 from 2nd bucket, 79 from 3rd bucket and 38 from 4th bucket giving:
( ( 1, 0) ( 55, 0) ( 0, 79) ( 79, 0) ( 38, 41) ( 0, 79) ( 0, 79) ( 0, 79) 0, 79) 0, 79) (

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

14

With nRTPS for Signaling (cont)


This would lead to:
( ( 1, 0) ( 55, 0) ( 4, 11) ( 79, 0) ( 40, 4, 11) ( 7) ( 4, 11) 4, 11) 4, 11) ( 4, 11) (

= 26 calls
I suspect we could get ~ 7 more eMTAs to register and still get 26 calls since the 4th bucket has 7 minislots leftover

If nRTPS polling is not an increment of packetization (usually 20 msec) or fit in 300 msec scheduling wheel, it may be forced to do 150 msec & give:
( 1, 0) ( 55, 0) ( 79, 0) ( 38 2,7) ( 4, 11) ( 4, 11) ( 55 1,7)( 79, 0) ( 38 2,7) ( 4, 11)

Only 17 calls!

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

15

Example of Bad Settings


(24) upstream_service_flow (1) service_flow_reference -> 2 (6) qos_parameter_set -> [binary] 111 (15) service_flow_scheduling_type -> 3 (non-real-time polling) (8) maximum_sustained_traffic -> 32768 (bits per second) (9) maximum_traffic_burst -> 3044 (bytes) (10) minimum_reserved_traffic_rate -> 16384 (bits per second) (14) maximum_concatenated_burst -> 3044 (seconds) (7) traffic_priority -> 3 (16) request_transmission_policy -> 00:00:00:40 (17) nominal_polling_interval -> 250000 (microseconds) (23) ip_type_of_service_overwrite -> 00:60 (25) downstream_service_flow (1) service_flow_reference -> 6 (6) qos_parameter_set -> [binary] 111 (7) traffic_priority -> 3 (8) maximum_sustained_traffic -> 32768 (bits per second) (9) maximum_traffic_burst -> 3044 (bytes) (10)minimum_reserved_traffic_rate -> 16384 (bits per second)

With 250 msec polling, it will be rounded down to 150 to be an even increment of the 300 msec scheduling wheel nRTPS should be 100,000 microsecond polling and low min reserve rate nRTPS would be 2 minislots every 100 msec, giving 32*8/.1 = 2.56 kbps
Presentation_ID
2003 Cisco Systems, Inc. All rights reserved.

16

Example of Bad Settings (cont)


Looking at mod profile:
hstntxroy-ubr5#sh cab modu cable 3/0 up 0 46 request 16qam 128 no 0x0 0x10 0x152 0 8 no yes 504 16qam na

This would be 128/8+6+8*4/8 = 26 /16 B/minislot = 2 minislots = 32 bytes


46 46 46 initial 16qam 256 no station 16qam 256 no short 16qam 144 no 0x5 0x5 0xA 0x22 0x152 0x22 0x152 0x56 0x152 0 0 8 48 48 11 no no yes yes yes yes 4 4 504 16qam na 16qam na 16qam na

28U optimizes short grants for VoIP, but above settings won't let that happen
46 long 16qam 160 no 0xA 0xEB 0x152 140 78 yes yes 504 16qam na

Because profile used is from a 28C card, some of these parameters have been overwritten by the linecard itself, but the preambles are bad This is what the short and long should look like:
46 short 16qam 200 no 3 4e 152 18 16 yes yes 0 16qam na 46 long 16qam 216 no 9 e8 152 140 16 yes yes 0 16qam na

Assuming about 100 eMTAs registered on an US port, ~ 47 calls are possible with these settings, when it should be 73! If wanting to use nRTPS with our recommendations for polling rate, mod profiles, with 100 eMTAs on the US, we can get 64
Presentation_ID
2003 Cisco Systems, Inc. All rights reserved.

17

Agenda
Show Commands for Configurations Understanding the Cisco DOCSIS Scheduler

Call Signaling Using nRTPS


Cable Default-Phy-Burst and Fragmentation Low Latency Queuing Show Commands for UGS Flows VoIP & eMTA Issues

Miscellaneous Notes

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

18

Cable Default-Phy-Burst Effect


Introduced when CMTS upgraded from 1.0 to 1.1 code & CMs using 1.0 config files Many left max traffic burst blank. Blank max traffic has different meaning in 1.1 code (up to ~ 65K B max burst). All 1.0 CMs come up in reject(c) because they cant abide with this CoS Command on CMTS is easiest for backward compatibility when upgrading from EC to BC code w/o changing 1.0 CM config files Card configures default-phy-burst to 2000 bytes by default Setting command to 0 disables it from overriding max concat burst field in the CM's config file, and it sets the scheduler allocated time to enough minislots to service a 1518-B ethernet frame Using default-phy-burst 0 is fine if all CMs have realistic max burst
Presentation_ID
2003 Cisco Systems, Inc. All rights reserved.

19

Cable Default-Phy-Burst Effect (cont)


Using 1540 or so will open some minislots that may be enough to get 1 or 2 more calls per US port, but it will restrict the CM's max concat burst field

4096 will restrict CM's max concat burst & allocate more minislots every 60 msec
If no 1.0 CMs, a hidden command can be used to get rid of the reserved time for 1.0 CMs that can't fragment cable upstream x docsis11-cm-only

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

20

Default-Phy-Burst & Fragmentation


Fragmentation on a 28U is worse than other cards because of the gaurdtime required in mod profile for Broadcom 3138-based cards Make fragments < 3500 for legacy & U cards and < 2000 for 5x20S cards Use cab ux fragment-force 2000 5 or cab ux fragment-force 3500 3 For fast per-CM speeds, need big max traffic & concat bursts (8000-B or more) If CM has blank or 0 for max burst, it may concat too much & CMTS will ignore it Better to hardset to 1540 or so Big enough for max packet size plus variable MAC overhead Note: US port config turns off concat for 1.0 CMs, available in 12.3(13) no cab up 0 concatenation docsis10

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

21

Default-Phy-Burst & Fragmentation (cont)


Here's the 1st row of scheduler on 28U card with different settings: Default-phy-burst
none or 2000

Scheduler
( 1, 18) ( 0,158) ( 0,158) ( 0,158) ( 0,158)

4096
0 or 1590 1530

(
( (

1,

0) (

0, 63) (
0,158) ( 0,158) (

0,158) (
0,158) ( 0,158) (

0,158) (
0,158) ( 0,158) (

0,158)
0,158) 0,158)

1, 47) ( 1, 51) (

Bottom line: Use default-phy-burst 0 for 1.1 CMs to concat & get better per-CM speeds Set 1.0 CMs max traffic field set < 1600 or configure no concat for 1.0 CMs Use fragment-force if 1.1 CMs concat more then 3500 on legacy or U cards or if CMs concat more then 2000 bytes on an S card

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

22

Agenda
Show Commands for Configurations Understanding the Cisco DOCSIS Scheduler

Call Signaling Using nRTPS


Cable Default-Phy-Burst and Fragmentation Low Latency Queuing Show Commands for UGS Flows VoIP & eMTA Issues

Miscellaneous Notes

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

23

Low Latency Queue (LLQ)


LLQ Scheduler is new in 12.3(13a)BC IOS LLQ is a method of queuing where high priority traffic is allowed to exit an interface before other types of traffic

Rather than pre-scheduling UGS grants off into the future it simply schedules them using a just in time approach as they need to be scheduled
By taking the approach that grants for UGS service flows should be allocated as soon as possible but not necessarily with perfect periodicity we trade off strict jitter guarantees for increased UGS capacity and less Best Effort data fragmentation Another idea is LLQ just for nRTPS No problem with odd polling intervals

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

24

Low Latency Queueing Scheduler Config


cable upstream <upstream-port> scheduling type [nrtps | rtps | ugs] mode llq At this time UGS-AD is not supported by LLQ and therefore uses the regular scheduler

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

25

LLQ Scheduler Caveat w/ Admission Control


LLQ does not automatically police number of UGS service flows admitted on an US US admission control needs to be configured to restrict portion of US BW consumed by UGS To restrict UGS bandwidth to 75% of an US;
cable upstream 0 admission-control us-bandwidth scheduling-type UGS minor 50 major 60 exclusive 75

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

26

LLQ Scheduler Advantages and Disadvantages


Advantages Has slightly higher calls per US capacity Able to better cope with simultaneous operation of UGS service flows with different grant intervals Less fragmentation of non-VoIP traffic Disadvantages

Higher levels of jitter, but should typically be less than most devices jitter buffer Requires Admission control be configured otherwise possibility that an US could be oversubscribed causing degradation in service

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

27

Agenda
Show Commands for Configurations Understanding the Cisco DOCSIS Scheduler

Call Signaling Using nRTPS


Cable Default-Phy-Burst and Fragmentation Low Latency Queuing Show Commands for UGS Flows VoIP & eMTA Issues

Miscellaneous Notes

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

28

sh int c6/1 service-flow


Sfid 4 38838 3 38837 6 5 8 7 10 9 12 38828 11 38827 14 13 16 38832 Sid N/A N/A 1 3178 N/A 2 N/A 3 N/A 4 N/A N/A 5 3173 N/A 6 N/A N/A Mac Address 0000.39f2.2a58 0000.39f2.2a58 0000.39f2.2a58 0000.39f2.2a58 000c.4152.3ac8 000c.4152.3ac8 0000.39a1.124f 0000.39a1.124f 0005.5e48.d4d5 0005.5e48.d4d5 0000.39d7.2251 0000.39d7.2251 0000.39d7.2251 0000.39d7.2251 0000.3961.2659 0000.3961.2659 0000.39a1.b04f 0000.39a1.b04f QoS Param Index Prov Adm Act 4 4 4 0 18 18 3 3 3 0 17 17 6 6 6 5 5 5 4 4 4 3 3 3 12 12 12 11 11 11 4 4 4 0 18 18 3 3 3 0 17 17 4 4 4 3 3 3 4 4 4 0 18 18 Type prim dyn(S) prim dyn(S) prim prim prim prim prim prim prim dyn(S) prim dyn(S) prim prim prim dyn(S) Dir DS DS US US DS US DS US DS US DS DS US US DS US DS DS Curr State act act act act act act act act act act act act act act act act act act Active Time 6d23h7m 00:05 6d23h7m 00:05 6d23h7m 6d23h7m 6d23h7m 6d23h7m 6d23h6m 6d23h6m 6d23h7m 00:26 6d23h7m 00:26 6d23h7m 6d23h7m 6d23h7m 00:23

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

29

sh int c6/1 service-flow | i dyn


Sfid 38838 38837 38836 38835 38840 38839 38846 38845 38844 38843 38834 38833 38842 38841 Sid N/A 3178 N/A 3179 N/A 3177 N/A 3182 N/A 3181 N/A 3176 N/A 3180 Mac Address 0000.39f2.2a58 0000.39f2.2a58 0000.39f2.1858 0000.39f2.1858 0000.39a1.ac4f 0000.39a1.ac4f 0000.3961.8259 0000.3961.8259 0000.39f2.1458 0000.39f2.1458 0000.39bb.f451 0000.39bb.f451 0000.39b6.224f 0000.39b6.224f QoS Param Index Prov Adm Act 0 18 18 0 17 17 0 18 18 0 17 17 0 18 18 0 17 17 0 18 18 0 17 17 0 18 18 0 17 17 0 18 18 0 17 17 0 18 18 0 17 17 Type dyn(S) dyn(S) dyn(S) dyn(S) dyn(S) dyn(S) dyn(S) dyn(S) dyn(S) dyn(S) dyn(S) dyn(S) dyn(S) dyn(S) Dir DS US DS US DS US DS US DS US DS US DS US Curr State act act act act act act act act act act act act act act Active Time 00:15 00:15 00:21 00:21 00:14 00:14 00:10 00:10 00:13 00:13 00:28 00:28 00:14 00:14

Another possible command to use is; sh int c6/1 modem 0, which can indicate multiple hosts under a cable modem indicating eMTAs and PCs
Presentation_ID
2003 Cisco Systems, Inc. All rights reserved.

30

Manually Tearing Down Flows


Sfid Sid Mac Address QoS Param Index Prov 38838 N/A 38837 3178 0000.39f2.2a58 0000.39f2.2a58 0 0 Adm 18 17 Act 18 17 dyn(S) dyn(S) DS US Type Dir Curr State act act Active Time 12:15 12:15

38836 N/A
38835 3179

0000.39f2.1858
0000.39f2.1858

0
0

18
17

18
17

dyn(S)
dyn(S)

DS
US

act
act

10:21
10:21

If eMTAs do not tear down their call correctly by setting proper timers, it can be done manually via the CMTS Use "cable service flow activity-timeout" Will not clear already hung service flows Will work for the new calls Use "test cable dsd <mac-add> <sfid>" to clear hung service flows (hung prior to adding the activity-timeout command) Use clear packetcable gate id x
31

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

Off-board ATAs
Trying to establish UGS flows for off-board ATAs by pre-configuring in inactive state and establishing a classifier that directs target traffic to that flow From the CMTS:
cable cable cable cable cable cable cable cable cable cable service service service service service service service service service service class class class class class class class class class class 140 140 140 140 140 140 140 140 140 140 name RobTest upstream sched-type 6 req-trans-policy 0 grant-size 265 grant-interval 20000 grant-jitter 800 grants-per-interval 10 admission-timeout 200 activity-timeout 0

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

32

sh int c6/1 service-flow 38837 ver


Sfid Mac Address Type Direction Current State Current QoS Indexes [Prov, Adm, Act] Active Time Sid Admitted QoS Timeout Active QoS Timeout Packets Bytes Rate Limit Delayed Grants Rate Limit Dropped Grants Current Throughput Classifiers:
Classifier Id Service Flow Id CM Mac Address Direction Activation State Classifier Matching Priority PHSI Number of matches IP Classification Parameters: IP Source Address Source IP Address Mask Destination IP Address Destination IP Address Mask IP Protocol Type Source Port Low Source Port High Destination Port Low Destination Port High : : : : : : : :

: : : : : : : : : : : : : : :

38837 0000.39f2.2a58 Secondary(Dynamic) Upstream Active [0, 17, 17] 00:29 3178 200 seconds 60 seconds 1356 295608 0 0 87199 bits/sec, 49 packets/sec

3863 38837 0000.39f2.2a58 upstream active 128 0 -

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

: : : : : : : : :

10.7.14.71 255.255.255.255 10.7.13.44 255.255.255.255 17 30000 30000 30000 30000

33

sh int c6/1 sid 3178 count ver


Sid : Request polls issued : BWReqs {Cont,Pigg,RPoll,Other} : No grant buf BW request drops : Rate exceeded BW request drops : Grants issued : Packets received : Bytes received : Fragment reassembly completed : Fragment reassembly incomplete : Concatenated packets received : Queue-indicator bit statistics : Good Codewords rx : Corrected Codewords rx : Uncorrectable Codewords rx : Concatenated headers received : Fragmentation headers received : Fragmentation headers discarded: 3178 0 0, 0, 0, 0 0 0 1161 1156 252008 0 0 0 0 set, 0 granted 0 0 0 0 0 0

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

34

sh int c6/1 sid 3178 qos ver


Sid : 3187 Minimum Packet Size : 0 bytes Admitted QoS Timeout : 200 seconds Active QoS Timeout : 60 seconds Scheduling Type : Unsolicited Grant Service Unsolicited Grant Size : 232 bytes Nominal Grant Interval : 20000 usecs Grants per interval : 1 Tolerated Grant Jitter : 800 usecs Request/Transmission policy : 0x17F IP ToS Overwrite[AND-mask, OR-mask]: 0xFF, 0x0 Current Throughput : 87193 bits/sec, 49 packets/sec

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

35

sh int c6/1 qos paramset 17 ver


Index: 17 Name: Direction: Upstream Minimum Packet Size 0 bytes Admitted QoS Timeout 200 seconds Active QoS Timeout 60 seconds Scheduling Type: Unsolicited Grant Service Request/Transmission Policy: 0x17F Unsolicited Grant Size: 232 bytes Nominal Grant Interval: 20000 usecs Tolerated Grant Jitter: 800 usecs Grants per Interval: 1 IP ToS Overwrite [AND-mask,OR-mask]:0xFF,0x0 Parameter Presence Bitfield: {0xC00, 0x3CC000}

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

36

sh int c6/1 qos paramset 18 ver


Index: Name: Direction: Traffic Priority: Maximum Sustained Rate: Max Burst: Minimum Reserved Rate: Minimum Packet Size Admitted QoS Timeout Active QoS Timeout Scheduling Type: Max Latency: Parameter Presence Bitfield: 18 Downstream 5 87200 bits/sec 1522 bytes 87200 bits/sec 218 bytes 0 seconds 0 seconds Reserved 0 usecs {0xFE0, 0x0}

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

37

sh int c6/1 u0 ugs stat


UGS Statistics for Upstream 0 # of Active UGS on the Upstream : 9 UGS Allocation Statistics max min avg 10 5 8 10 5 8

Last 1 Hour Last 5 Min

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

38

sh packetcable gate sum


GateID 6563 39371 72139 88479 104851 137611 154027 186759 203211 219595 i/f Ca6/1 Ca6/1 Ca6/1 Ca6/1 Ca6/1 Ca6/1 Ca6/1 Ca6/1 Ca6/1 Ca6/1 SubscriberID 10.7.14.112 10.7.14.113 10.7.14.79 10.7.14.71 10.7.14.66 10.7.14.117 10.7.14.70 10.7.14.78 10.7.14.75 10.7.14.72 GC-Addr 10.10.1.99 10.10.1.99 10.10.1.99 10.10.1.99 10.10.1.99 10.10.1.99 10.10.1.99 10.10.1.99 10.10.1.99 10.10.1.99 State COMMIT COMMIT COMMIT COMMIT COMMIT COMMIT COMMIT COMMIT COMMIT COMMIT SFID(us) 38901 38905 38903 38897 38889 38899 38895 38891 38893 38887 SFID(ds) 38902 38906 38904 38898 38890 38900 38896 38892 38894 38888

Total number of gates = 10 Total Gates committed(since bootup or clear counter) = 19397

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

39

sh packetcable gate 6563


GateID : 6563 Subscriber ID : 10.7.14.112 GC Address : 10.10.1.99 GC Port : 50704 State : COMMIT Gate specs [UPSTREAM] Gate classifier : [protocol 17, src addr/port 10.7.14.112/0, dest addr/port 10.7.13.41/30000 diffserv dscp : 0xA0 timer t1(s) : 0 timer t7(s) : 200 timer t8(s) : 60 commit flags : 0x1 session class : 0x1 flowspec # 1 : [r/b/p/m/M 1176256512/1128792064/1176256512/200/200] [R/S: 1176256512/800] Gate specs [DOWNSTREAM] Gate classifier : [protocol 17, src addr/port 10.7.13.41/0, dest addr/port 10.7.14.112/30000 diffserv dscp : 0xA0 timer t1(s) : 0 timer t7(s) : 200 timer t8(s) : 60 commit flags : 0x1 session class : 0x1 flowspec # 1 : [r/b/p/m/M 1176256512/1128792064/1176256512/200/200] [R/S: 1176256512/0]
Presentation_ID
2003 Cisco Systems, Inc. All rights reserved.

40

Show cable admission-control global <cr>


Display information regarding resources configured at global level
Show cable adm global
Resource Minor #times Major cpu-avg 70% 0 80% io-mem 1% 0 2% #times Critical #times 0 90% 0 0 3% 0 Current 0 0

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

41

Show cable admission-control inter [all<cr>|<ifname>]*[upstream [all|<num>]]


Show cable adm int c6/1/0
Interface Cable6/1/0 Resource - Upstream Bandwidth ----------------------------Sched Class Minor # of Major Type Name Level Times Level BE 0 0 0 NRTPS 0 0 0 RTPS 0 0 0 AD-UGS 3 0 4 UGS 0 0 0

# of Times 0 0 0 0 0

Exclus Level 0 0 0 6 0

# of Times 0 0 0 0 0

Non-Excls Level 0 0 0 3 0

Resource - Downstream Bandwidth ------------------------------Flow Minor # of Major # of Excls Type Level Times Level Times Level voice 0 0 0 0 0 data 0 0 0 0 0

# of Times 0 0

Non-Excls Curr. Conf Level Reserv Level 0 0 0 0

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

42

Troubleshooting Commands w/12.3(13)


Show cable calls c5/0/0
Interface Cable5/0/0 ActiveHiPriCalls 2 ActiveAllCalls 2 PostHiPriCallCMs 0 RecentHiPriCMs 0

Show cable modem 4.5.0.3 calls


Cable Modem Call Status Flags H Active high priority calls R Recent high priority calls V Active voice calls (including high priority) MAC Address IP Address I/F C5/0/0/U0 Prim Sid 3 CMCallStatus HV LatestHiPriCall (minsec) 12713

0000.cad7.1eba 4.4.0.2

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

43

Agenda
Show Commands for Configurations Understanding the Cisco DOCSIS Scheduler

Call Signaling Using nRTPS


Cable Default-Phy-Burst and Fragmentation Low Latency Queuing Show Commands for UGS Flows VoIP & eMTA Issues

Miscellaneous Notes

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

44

Poor SNR (~17 or 18 dB SNR Reported)


SA & Thompson eMTAs use a QPSK1 preamble when using mixed-mod profiles in regular docsis tdma-mode Preamble is supposed to be QPSK0 or 16-QAM when the burst uses 16-QAM Work-around: Change station maintenance burst to 16-QAM or

Use pure 16-QAM profile instead of mixed mod profile Newer IOS changes some Broadcom registry settings, but then causes uncorr FEC to increase on legacy linecards

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

45

ATDMA Preambles

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

46

Configuring nRTPS in eMTA's Config File for Call Setup


Request reserved in scheduler for all eMTAs on an US port regardless of how many are actually active If mod profile is not optimum or just incorrect, req burst may be > default of 16-B leading to multiple minislots needed for each req If minislot is 16-B and req is over 16, scheduler will have to reserve 2 minislots (32 bytes) for each eMTA Same thing happens when you use 16-QAM for req burst, keeping request at QPSK may be in our best interest People trying to use old mod profiles from 28C on 28U or 5x20 Some parameters will be overwritten in linecard Only way to know "real" mod profile: Sh cab modu cx/y up z

If nRTPS service flow is configured with a polling rate that is "odd", then it has a more pronounced detrimental affect on scheduling
CSCsc01244 & CSCsd23426, 300 msec polling reverts to 150
Presentation_ID
2003 Cisco Systems, Inc. All rights reserved.

47

Weird VoIP Payload Size


Seen some eMTAs (Arris) require 236 or 234 bytes for a 20 msec G711 packetcable call, which is wrong Should be 232, which fits in with a mod profiles we suggest Found out extra bytes to support IPSec Look at sh int c/x/y/z qos para "w" "w" is a qos paramset for the US UGS flow Should say UGS 232 bytes. If not, figure out why

If < 232, BPI+ may be turned off


If payload is > 232, it may be prudent to change the mod profile FEC codeword size to match We optimize long bursts for VoIP on legacy (C cards) and 5x20 cards We optimize short burst for VoIP on 28U/X cards

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

48

Agenda
Show Commands for Configurations Understanding the Cisco DOCSIS Scheduler

Call Signaling Using nRTPS


Cable Default-Phy-Burst and Fragmentation Low Latency Queuing Show Commands for UGS Flows VoIP & eMTA Issues

Miscellaneous Notes

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

49

Notes
Be sure cable proxy-arp is enabled for eMTA-eMTA calling Offering DS1 Service CM should have a .cm file with multiple grants per flow Remember that this will be a "nailed up" service and no one can use that reserved BW except the UGS CM even if that UGS CM is not active E911 Preemption If running PacketCable and 911 call comes in, CMTS will drop active call to allow 911 call to complete if BW exceeded For Dali release we have global CLI to turn off 911 pre-emption
[no] cable admission-control 911-preempt

Enabled by default and if a customer needs to turn off preemption, may do so by configuring "no" to this command

UGS-AD conversion to RTPS during silence

ubr10k(config)#cab service flow inactivity-threshold ? <1-3600> Threshold value in seconds (default of 10)
2003 Cisco Systems, Inc. All rights reserved.

Presentation_ID

50

Debugs
Debug cable int c3/0 mac-address xxxx.xxxx.xxxx verbose Debug cable tlvs Debug cable qos Debug cable mac-scheduler admission-control Tells how things are getting put into the scheduler and if they don't fit, why they don't fit If Packetcable Debug packetcable control Debug packetcable gate control Debug packetcable sub <MTAs ip> ver Debug packetcable docsis

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

51

Debug Display when UGS Flow being Activated


Use Term Mon for terminal monitoring
Aug Aug Aug Aug Aug Aug Aug 5 19:12:27.733: Stale Active Event Deleted is - SFID:39015 Expiry Time:602098712 Expiry Time:602238712 5 19:12:27.733: Stale Admitted Event Deleted is - SFID:39015

5 19:12:27.733: Starting Admit Timeout Timer. SFID:39015 Expires:602270544 5 19:12:27.733: Inserting a Service Flow Event. SFID:39015 Expires:602270544 5 19:12:27.733: Stale Admitted Event Deleted is - SFID:39015 5 19:12:33.141: Stale Active Event Deleted is - SFID:39017 Expiry Time:602270544

Expiry Time:602104072 Expiry Time:602244072

5 19:12:33.141: Stale Admitted Event Deleted is - SFID:39017

Aug
Aug

5 19:12:33.145: Starting Admit Timeout Timer. SFID:39017 Expires:602275956


5 19:12:33.145: Inserting a Service Flow Event. SFID:39017 Expires:602275956

Presentation_ID

2003 Cisco Systems, Inc. All rights reserved.

52

Вам также может понравиться