Académique Documents
Professionnel Documents
Culture Documents
Ajay Gummalla
Ethernet in the First Mile Study Group
July 2001
Fiber
Fiber TX
Tap
Fiber RX
2way
Amp
CMTS
Fiber RX
Fiber
TV
Divid
er
Fiber Node
Headend
CM
Fiber TX
VCR
Subscriber Premises
Typical fiber node supports about 2000 subscribers
Terminology
DOCSIS: Data over cable service interface specification
CM: Cable Modem
CMTS: Cable Modem Termination System
Communication Basics
Frequency
Upstream Channels
(0 to 45 MHz)
CMTS
(Cable Headend)
Downstream Channels
(50 MHz to 1GHz or higher)
upstream
downstream
Upstream
TDMA Burst of QPSK or 16QAM signals
Supports data rates upto 10 Mbps
Supports multiple upstream channels
Downstream
TDM Continuous Transmission 64 or 256 QAM signals
The downstream uses an MPEG transmission convergence sublayer
Data rates upto 100 Mbps
Ajay Gummalla-July 2001
Objective
Show DOCSIS solutions for P2MP issues
Link management
Upstream synchronization (timing adjustment)
Ranging (offset adjustment) (Periodic and Initial)
Power adjustment
Burst transmission and reception
Bandwidth management
Bandwidth allocation
Contention resolution
Prioritization/classification of traffic
Supports unsolicited grant service (voice/T1 ckts)
Subscriber management
Authentication
Security
Registration
MIBs
Ajay Gummalla-July 2001
Overview
DOCSIS1.0
Designed for Best Effort Service
Uses request/grant mechanism for accessing upstream bandwidth
Single Quality of Service association per modem
Baseline Privacy provides in-line 56-bit DES encryption/decryption to secure the
privacy of the connection
Protocol Layering
CMTS Protocol Stack
CM Protocol Stack
IP
IP
forwarding
802.2/DIX LLC
802.2/DIX LLC
Link Security
Link Security
MAC
MAC
Transparent
Bridging
802.2/DIX LLC
802.3 MAC
Physical Layer
TC
layer
DS
PMD
US
PMD
US
PMD
Cable RF interface
TC
layer
DS
PMD
10/100BaseT
Phy
CM Subscriber Interface
Frame Formats
Registration Request (REG-REQ)
SID
2 bytes
SA
6 bytes
DS Ch. ID
1 byte
ISO 8802-2
msgLEN
2 bytes
DSAP
1 byte
SSAP
1 byte
PHY OH
control
1 byte
MAC HEADER
version
1 byte
type
1 byte
RSVD
1 byte
management
message payload
CRC
4 bytes
DATA PDU
18~1518 bytes
Ethernet / 8802-3
Variable-Length Packets or Packet PDU fragment
FC
1 byte
MAC_PARM
1 byte
LEN (SID)
2 bytes
EHDR
0~240 bytes
HCS
2 bytes
DA
6 bytes
SA
6 bytes
TYPE/LEN
2 bytes
USER DATA
0~1500 bytes
CRC
4 bytes
SA
6 bytes
ISO 8802-2
msgLEN
2 bytes
Type Value
1
2
3
4
5
6
7
12
13
14
15
16
17
18
19
20
21
22
25-255
DSAP
1 byte
Version
1
1
1
1
1
1
1
1
1
2
2
2
2
2
2
2
2
2
SSAP
1 byte
Message Name
SYNC
UCD
MAP
RNG-REQ
RNG-RSP
REG-REQ
REG-RSP
BPKM-REQ
BPKM-RSP
REG-ACK
DSA-REQ
DSA-RSP
DSA-ACK
DSD-REQ
DSD-RSP
DSC-REQ
DSC-RSP
DSC-ACK
control
1 byte
version
1 byte
msg type
1 byte
RSVD
1 byte
management
message payload
Message Description
Timing Synchronization
Upstream Channel Descriptor
Upstream Bandwidth Allocation
Ranging Request
Ranging Response
Registration Request
Registration Response
Privacy Key Management Request [DOCSIS8]
Privacy Key Management Response [DOCSIS8]
Registration Acknowledge
Dynamic Service Addition Request
Dynamic Service Addition Response
Dynamic Service Addition Acknowledge
Dynamic Service Deletion Request
Dynamic Service Deletion Response
Dynamic Service Change Request
Dynamic Service Change Response
Dynamic Service Change Acknowledge
Reserved for future use
CRC
4 bytes
CM Initialization
DS synchronization
Obtain upstream parameters
Ranging and automatic adjustments
Establish IP connectivity
Establish time of day
Transfer operational parameters (TFTP download of Configuration
parameters)
Registration
Baseline privacy initialization
10
CM Initialization (Details..)
CMTS
CM
Ranging Request
If CM times out on response, CM increases TX power level and signals
MAC. MAC increases backoff window and picks a new slot, searches
MAPs for appropriate initial ranging slot, and transmits at that time. MAC
waits for ranging response message.
CMTS eventually hears
modems ranging request
and sends ranging
response. CMTS then
sends station maintenance
slots to CM being ranged.
Ranging Request
Ranging Response
CM tells MAC to switch to station maintenance slots. MAC
automatically transmits a ranging request in any station
maintenance slot reserved for it. Modem adjusts timing, power
level, and frequency offset per ranging response.
11
Clock Synchronization
CMTS
CM
SYNC Msg
TX
Timestamp
Generation Circuit
RX
Timestamp Recovery
Circuit
32-bit Counter
32-bit Counter
TX
RX
Local Reference or
Network Clock
CMTS sends out periodic sync messages that contain a 32-bit time stamp of 10.24 MHz
clock
CM receives sync messages and locks the frequency of its local clock so that it
matches the time stamp in the sync messages
CM now knows frequency of CMTS clock but not the phase because of propagation
delays in receiving the sync messages
12
Ranging Process
CMTS
CM
SYNC Msg
TX
RNG RSP
RX
Timestamp Recovery
Circuit
Timestamp
Generation Circuit
32-bit Counter
32-bit Counter
Ranging Offset
RNG REQ
Local Reference or
Network Clock
MS Counter
RX
TX
Before initial transmission, CM loads its ranging offset register with a value to compensate for the
13
Bandwidth Management
Request-Grant arbitration mechanism
CM makes requests to the CMTS
Requests can be made in Contention or as Piggybacks
Contention is resolved using combination of Binary exponential back off and AckTimer
14
TDMA Control
1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117
Request Region
MAP Information
Upstream Channel ID
UCD Count
Upstream time is divided into minislots. Minislot is just a convenient
(misc.)
partitioning of time for bandwidth allocation purposes
MAP start time = 1099
ACK time=0800
Ranging Backoffs
An upstream transmission is described by a burst profile
Data Backoffs
A burst profile specifies: Modulation type, Preamble length and value, FEC, Scrambler
Request Region Offset=0
properties, Maximum burst size, Guard period
Grant for CM20 Offset=5
Burst types: Initial Maintenance, Periodic Maintenance, Request, Short Data and Long Data
Grant for CM90 Offset=9
Null Offset=19
The CMTS serves as the upstream (TDMA) controller.
Zero Length Grants (Data Grant Pending)
15
Request Transmitted
(remember transmit time)
Ack expires & Retries
left (increment retry cnt)
Ack expires
& no Retries
left
(purge
packet)
Packet enqueued
and grant received
Packet Transmitted
without piggyback
Packet enqueued
(pick request opportunity)
Start
16
the frame format for carrying encrypted data within DOCSIS MAC frames
set of supported cryptographic suites (pairings of data encryption and authentication algorithms)
Currently employs Cipher based chaining mode of DES
rules for applying these algorithms to a DOCSIS frames packet data
17
DOCSIS 1.1
Quality of Service: Service flows, classifiers, scheduling types and dynamic
service establishment
18
Summary
DOCSIS is widely deployed today.
DOCSIS addresses point to multipoint issues. It has been
used in cable and wireless systems.
19