Escolar Documentos
Profissional Documentos
Cultura Documentos
Module 4
MOTOROLA and the Stylized M Logo are registered in the US Patent & Trademark Office. All other
product or service names are the property of their respective owners. © Motorola, Inc. 2003.
Module 4, Page 2
Introduction
Objectives
CMTS/CM Interaction
Tuning
Scan for downstream channel and sync with the
CMTS
Ranging Obtain the transmit parameters (from UCD message)
Perform ranging
Establish IP connectivity
Connection
Establish time of day
Transfer operational parameters
Configuration Perform registration
Registration
Maintenance
Module 4, Page 5
MOT> en
MOT# sh cable modem
cm->mac: 0030.ebff.033
Interface Upstream Prim Connect Timing Rec Ip Address Mac Address
IfIndex Sid State Offset Power
Cable 0/0 4 1 online(pk) 1239 109 10.200.220.2 0030.ebff.f03
cm->mac: 0050.f112.2563
Cable 0/0 4 2 online(pt) 1228 116 10.200.220.3 0050.f112.2563
Total cable modems reg: 2
Total cable modems other state: 0
Module 4, Page 6
Tuning
Ranging
Connection
CM Listens
for CMTS
Configuration downstream
transmission
Registration CM searches for a downstream data channel
Synchronize with QAM
Maintenance Synchronize with FEC and MPEG
Module 4, Page 7
Analog Digital TV
5 @ 1 sec 2 sec DOCSIS
7 8 9 10 11 44 101 108
Tuning
Ranging SYNC
Connection
Configuration
Tuning
Ranging UCD
Connection
Configuration
UCDs
One set per upstream channel
Describe general upstream channel characteristics:
» Center frequency
» Channel width
» Mini-slot size
» Upstream channel ID
» Downstream channel ID
» Burst descriptor
• Describes each burst type:
– Initial maintenance
– Request
– Request/data
– Periodic maintenance
– Short data
– Long data
Defined at CMTS in form of Modulation Profiles
Module 4, Page 11
Modulation Profiles
MOT> en
MOT# sh cable modulation-profile 1
Profile 1
Intvl FEC FEC Burst Guard MOD Scrambl Scrambl Diff Preambl Last
usage err len len time type seed encode length code-
code corre mod word
reque 0 16 2 8 qpsk scrambl 0x152 no-dif 64 fixed
initi 5 34 0 48 qpsk scrambl 0x152 no-dif 128 fixed
stati 5 34 0 48 qpsk scrambl 0x152 no-dif 128 fixed
short 5 78 8 8 16qam scrambl 0x152 no-dif 144 short
long 10 235 0 8 16qam scrambl 0x152 no-dif 160 short
Module 4, Page 12
DOCSIS MAC
MAPs
MAPs (cont.)
MAP MAP
Maint. Maint.
D/S
S S S
U U
Y Y Y
C MAP C MAP
N N N
D D
C C C
Maint. Maint.
MiniSlot
MiniSlot Boundary
Integer Number
Boundary of of next
of Minislots
previous Burst Burst
Preamble
Preamble Zero-Fill Guard
FEC Parity Band
0-1024bits if
18-255 Bytes
(0-128Bytes) necessary
Ramp-Up Ramp-Down
Header
Extended MAC User Data
FC MAC_Par Length Check Seq. Destination Source Length CRC
Header (EHDR) 0-1500 Bytes
1 Byte 1 Byte 2 Bytes (HCS) 6 Bytes 6 Bytes 2 Bytes 4 Bytes
0-240 Bytes
2 Bytes
Module 4, Page 18
Interval 2
Null IE
ACK n
ACK 1
… …
Module 4, Page 19
Initial Initial
Maintenance Maintenance
t1 t3 Slots
t5 t6 t7
Slots Slots
t9 t11
Common
e
CMTS ues
t
m
Map 1
Map 2
Fra
Timing
Req
a
Reference
Dat
CM t2 t4 t8 t10
Map frequency/depth
Faster - less frame delay/lower efficiency
Slower - longer frame delay/more efficient
Slot Ratio - CSs to DSs in a map
Only one request outstanding per Service ID
More CSs - less contention, potential waste of bandwidth
Fewer CSs - longer request access delay, waste of DSs
Ideal Case where number of CSs serves number of requests
» Estimate the number of requests during a map interval
Mini-slot placement
minislots
Maintenance Maintenance Maintenance
map
Module 4, Page 21
Map Frequency
Ranging
Tuning
Registration
Maintenance
Module 4, Page 25
Auto Adjustments
Tuning
Maintenance
Module 4, Page 28
Admission Control
Tuning
RNG-REQ
Ranging
RNG-RSP
Connection
Configuration
Collisions
UCD
SYNC
MAP
Rng-Req
Rng-Rsp
MOT#
MOT#show
MOT# showcable
show cablemodem
cable modem
modem
cm->mac:
cm->mac:
Total
Total cable 0030.ebff.033
0030.ebff.033
cable modems
modems reg:
reg: 00
Interface
Interface
Total
Total cable Upstream
cable modems
modems otherPrim
Upstream
other state:Connect
Prim
state: Connect
00 Timing
Timing Rec
Rec Ip
Ip Address
Address Mac
Mac Address
Address
IfIndex
IfIndex Sid
Sid State
State Offset
Offset Power
Power
Cable
Cable 0/0
0/0 44 11 init(r1)1239
ranging 1239 109 0.0.0.0
109 0.0.0.00030.ebff.f03
0030.ebff.f03
Total
Total cable
cable modems
modems reg:
reg: 00
Total
Total cable
cable modems
modems other
other state:
state: 11
Module 4, Page 31
…
Module 4, Page 32
Timing Offset
m o v e to z e r o d is ta n c e fr o m C M T S D u r in g
R a n g in g
m o v e to z e r o d is ta n c e fr o m C M T S
R a n g in g
R e g io n
C M 1 a s s ig n e d C M 2 a s s ig n e d
C lo s e s t F a rth e s t
tim e o ffs e t t1 tim e o ffs e t t2
CM CM
fro m C M T S fro m C M T S
CMs range by transmitting at a known time in an initial ranging region
Region is wide enough for closest & farthest CMs to range
CMTS measures the difference from the expected time
CMTS sends the CM an offset to normalize the CM to zero distance from
the CMTS
Module 4, Page 33
Power Offset
Downstream
29-8 20-4 14-8 11-8
Upstream
Higher Lower
Due to attenuation
Module 4, Page 34
IP Connectivity
Registration
Maintenance
Module 4, Page 35
Initialization
Selection Rebinding
Request Renewing
Binding
Module 4, Page 36
Regional
WAN/MAN
Distribution Hub
LocalHeadend
10/100
Ethernet
OC-3/OC12 POS
DHCP LDAP
Server Server
Web VOD/AOD
Video
Cache Server
LocalHeadend
Distribution Hub
= Legacy CMTS
Layer 3
Network
DHCP Server Policies/
Options
CM Cfg File
Switch ToD Server
Layer 3
Network CM Cfg File
(host
functions
only) TFTP Server
Layer 3 CM Cfg File
Network
Layer 2
Network
Scopes
Layer 3
Network
DHCP Server Policies/
Options
WAN
CM Cfg File
ToD Server
Switch
Layer 3
Network CM Cfg File
(host
functions
only) TFTP Server
Layer 3 CM Cfg File
Network
Layer 2
Network
Debugging DHCP
MOT> en
MOT# debug ip udp dhcp
UDP DHCP Debugging is turned on
…
Module 4, Page 40
Initialization
DHCPDISCOVER Message sent as broadcast
» Contains MAC and hostname
BSR64000 inserts CMTS r/f interface IP address in DHCP GIADDR field
Reframed and sent unicast to cable helper specified address
(2)
Inserts CMTS IP address in GIADDR field
CMTS reframes DHCPDISCOVER
as unicast to cable helper
BootP UDP port 67 Scopes
Switch
(1) DHCP Server Policies/
DHCPDISCOVER Options
Broadcast MAC address
To 255.255.255.255 to
BootP UDP port 67
MOT# show cable modem
Interface Upstream Prim Connect Timing Rec Ip Address Mac Address
IfIndex Sid State Offset Power
Cable 0/0 4 1 dhcp(d) 1239 109 0.0.0.0 0030.ebff.f03
…
Module 4, Page 41
MOT> en
MOT# config
MOT(config)# int cable 5/0
MOT(config-if)# cable helper-address 192.168.100.100 cable modem
MOT(config-if)# cable helper-address 192.168.101.100 host
Module 4, Page 42
Configuring IP Helper
MOT> en
MOT# config
MOT(config)# int cable 5/0
MOT(config-if)# ip helper-address 192.168.100.100
Module 4, Page 43
IP Forward Protocol
Switch
WAN
(2) DHCP Server
CMTS reframes DHCPDISCOVER as unicast
Policies/
to cable helper cable modem
Options
BootP UDP port 67
(1)
DHCPDISCOVER MOT# show cable modem
Broadcast MAC address Interface Upstream Prim Connect Timing Rec Ip Address Mac Address
To 255.255.255.255 to IfIndex Sid State Offset Power
BootP UDP port 67
Cable 0/0 4 1 dhcp(d) 1239 109 0.0.0.0 0030.ebff.f03
…
Module 4, Page 45
Relay Agents
Routers between CMTS and DHCP server
» By design, insert receiving interface network in GIADDR field
[no] ip dhcp relay information option
» Tells relay agents to not alter GIADDR inserted by CMTS
MOT> en
MOT# config
MOT(config)# int cable 5/0
MOT(config-if)# ip dhcp relay information option
Module 4, Page 46
Selection
Selection
DHCPOFFER (1)
DHCPOFFER
Sent Broadcast Server MAC and IP address
Lease with IP address,
Server MAC and IP Subnet mask and duration
Client IP and Subnet mask Sent to GIADDR
Lease duration
Scopes
Switch
DHCP Server Policies/
(2) Options
CMTS forwards offer to CM
Creates entry mapping SID
to MAC to IP Address in
memory (DHCP Snooping)
Request
Request
DHCPREQUEST
Sent unicast to server IP address
Requests options
» Configuration file, etc.
Scopes
Switch
DHCP Server Policies/
Options
(1)
DHCPREQUEST
Server IP address
Request for options
MOT# show cable modem
Interface Upstream Prim Connect Timing Rec Ip Address Mac Address
IfIndex Sid State Offset Power
Cable 0/0 4 1 dhcp(r) 1239 109 192.168.5.5 0030.ebff.f03
…
Module 4, Page 48
Requested Information
Binding
Binding
DHCPACK
DHCP lease information sent (1)
Requested options sent DHCPACK
Lease information
Options requested
Scopes
Switch
DHCP Server Policies/
Options
DHCP Summary
DHCP Server
Tuning
Offer Response
Ranging
Connection
CMTS
Configuration
Time-of-Day
Tuning
ToD-REQ
Ranging
ToD-RSP
Connection
ToD-RSP
LAN/WAN
Configuration
ToD-REQ
ToD Server
Internet Time Protocol (ITP)
Registration RFC 868
UDP and TCP requests on port 37
Maintenance 32-bit value defining the number of
seconds since 00:00 (midnight January
1, 1900 GMT)
Module 4, Page 52
Configuration
Tuning
TFTP-REQ
Ranging
TFTP-RSP
TFTP-ACK
Connection TFTP-ACK
TFTP-RSP
Configuration LAN/WAN
Standard
Checks source address
Generally permits or denies
C4/0 Outgoing entire protocol suite
Packet
Extended
Incoming Checks source and destination
Packet E3/0 address
Generally permits or denies
specific protocols
Inbound or
Outbound
Access List Processes
Source
Permit?
Module 4, Page 56
Telnet Access
Packet
Choose E 4/0
Interface
Y
Inbound Outbound
Test
Interface Routing Interfaces
Access List
Table
Statements E 5/0
Packets
Entry
? Packet
Access N
N
List Y
Permit
?
Y ?
N
Discard Packet
Packet Segment
Frame
(IP Header) (for Example, Data
Header
TCP Header)
Source
Address Use
Access
List Statements
1-99
Deny Permit
Module 4, Page 59
Match
First
Packets to Interface(s) Test
in the Access Group Y ? Y
N
Deny Permit
Match
Y Y
Deny Next Permit
Test(s) Destination
?
N
Interface(s)
Y Match Y
Deny Last Permit
Test
?
N Implicit
Deny
Packet
Discard If No Match,
Deny
Bucket Deny All
Module 4, Page 60
WAN Scopes
E 2/0
DHCP Server (cm) Policies/
Options
E 1/0 E 4/0
172.16.3.1
255.255.255.0 CM Cfg File
DHCP Server (cpe) ToD Server
Switch
172.16.4.1 255.255.255.0
201.55.4.1 255.255.255.0 secondary CM Cfg File
Standard
Filters based on source
Permits or denies entire TCP/IP protocol suite
Valid range is 1 through 99
Extended
Filters based on source and destination
Specifies a specific IP protocol and port number
Valid range is 100 through 199
Module 4, Page 63
Port
Number
Protocol
Source Use
Address Access
Destination List Statements
Address 1-99 or 100-199 to
Test the
Deny Packet Permit
Module 4, Page 64
Create access-list
– Global Configuration EXEC
– Test criteria
– Permit or deny
access-list <access-list number> [permit | deny] protocol <source> <mask> <destination> <mask> <port>
…
Assign access-lists to interfaces
– Interface EXEC
ip access-group <access-list number> [in | out]
…
Extended Access Lists are numbered 100-199
Module 4, Page 65
WAN Scopes
E 2/0
DHCP Server
DHCP (cm)
Server Policies/
Options
E 4/0
Switch
172.16.4.1 255.255.255.0
201.55.4.1 255.255.255.0 secondary CM Cfg File
mot#show access-lists
mot#show ip access-lists
mot#sh ip filters
AP = Access List Permit, AD = Access List Deny, II = Ip Ingress,
TE = Ip Tunnel Egress, TL = Ip Tunnel Loopback, IR = ICMP Redirect,
IU = ICMP Unreachable, TN = Ip Tunnel, PP = Policy Route Permit,
PD = Policy Route Deny, QS = Qos, SM = Send To Srm
Dest Ip Address Src Ip Address Pro SP DP DS In If Out If FT
QId
--------------- --------------- --- ----- ----- -- --------- --------- --
---
200.20.20.1 192.168.120.2 icm - - 0 eth 4/0 - - SM -
any any ip - - 0 eth 4/0 - - AP -
any any ip - - 0 eth 4/0 - - AD -
…
Module 4, Page 69
All ARP packets from a CPE are verified against the host
authorization table
The authorization process is as follows:
If source IP address is in an excluded range and it is not in the host
authorization table skip the authorization process and continue to
process the ARP packet; As a result CPEs in the excluded range will not
have host authorization entries
Verify the CPE ARP packet is coming from the correct cable modem
using the source HW address and SID
Verify the source IP and source HW addresses against the host
authorization table
If no entry exists in the host authorization table perform DLQ
Module 4, Page 74
Allows the BSR to obtain DHCP lease information for CPEs directly
from the DHCP server
Secure mechanism for getting CPE lease information when it is not in
the host authorization table
Host authorization must be enabled for DLQ to work
Similar to host authorization it is implemented on a per CMTS basis
Module 4, Page 75
Registration
Tuning
Ranging
Connection
Configuration
Registration (cont.)
REG-REQ
REG-REQ
HFC
Cable Modem
Module 4, Page 80
Registration (cont.)
Tuning
Things the
Ranging CMTS needs
to know about
Connection
CMTS MIC
Configuration
Registration
CM MIC
Filters, e.g.
Maintenance
Module 4, Page 81
Registration (cont.)
CMTS
Checks CM’s MAC address and authentication signature
Assigns a permanent SID
Provides bandwidth for CM requested Class of Service
Modifies forwarding table to allow full user data if the modem requested
Network Access
Sends REG-RSP to CM CMTS
» CM can pass unencrypted data
REG-RSP
REG-RSP
HFC
Cable Modem
Module 4, Page 82
Cable Bundling
Master/slave Relationship.
Master CMTS
Slave CMTS
Slave CMTS
.............
.............
Master CMTS
cable bundle <bundle-id> [master]
MOT> en
MOT# config
MOT(config)# int cable 3/0
MOT(config-if)# ip address 192.168.69.1 255.255.255.0
MOT(config-if)# cable bundle 100 master
Slave CMTS:
cable bundle <bundle-id>
MOT> en
MOT# config
MOT(config)# int cable 11/0
MOT(config-if)# cable bundle 100
Module 4, Page 85
MOT> en
MOT# config
MOT(config)# int loopback 1
MOT(config-if)# ip address 192.168.69.1 255.255.255.0
MOT(config-if)# cable bundle 100 master
Module 4, Page 86
Check running-configuration
Master
MOT# sh run
interface cable 3/0
ip address 172.16.110.1 255.255.255.0
ip address 10.10.39.1 255.255.255.0 secondary
ip helper-address 10.20.40.12
no shutdown
cable bundle 100 master
no cable downstream 0 shutdown
cable upstream 0 map-interval 2000
cable upstream 0 physical-delay 600
no cable upstream 0 shutdown
no cable upstream 1 shutdown
no cable upstream 2 shutdown
no cable upstream 3 shutdown
ip dhcp relay information option
…
Module 4, Page 87
Check running-configuration
Slave
MOT# sh run
interface cable 12/0
no shutdown
cable bundle 100
no cable downstream 0 shutdown
no cable upstream 0 shutdown
no cable upstream 1 shutdown
cable upstream 2 shutdown
cable upstream 3 shutdown
ip dhcp relay information option
…
Module 4, Page 88
BPI/BPI+
CMTS
MTA CM HFC ER
Module 4, Page 92
Auth-REQ
REG-REQ
HFC
CMTS
KEY-REQ
REG-RSP
HFC
BPI/BPI+ Divergence
Auth-REQ
REG-REQ
HFC
CMTS
KEY-REQ
REG-RSP
HFC
IGMP/SA-MAP Example
CPE CM CMTS
IGMP MR (Join) IGMP MR (Join)
Set Multicast
MAC Filter SA-MAP Request
Determine
SA-MAP Reply SAID
Periodic Maintenance
Tuning
Periodic ranging
Periodic loop delay, power, equalization
At least every 30 seconds
Ranging
Connection CMTS
Configuration
RNG-REQ
Registration
HFC
Maintenance
Cable Modem RNG-RSP
Module 4, Page 101
MOT> en
MOT# sh cable modem
cm->mac: 0030.ebff.033
Interface Upstream Prim Connect Timing Rec Ip Address Mac Address
IfIndex Sid State Offset Power
Cable 0/0 4 1 online(pk) 1239 109 10.200.220.2 0030.ebff.f03
Total cable modems reg: 2
Total cable modems other state: 0
MOT#
MOT# clear cable modem 0030.ebff.f03 reset
MOT#