CASA CMTS标准配置说明

CASA CMTS标准配置说明

2023年7月4日发(作者:)

CASA CMTS标准配置说明

!

ip access-list 1

permit all 10.45.0.0 255.255.0.0 any any any

deny all any any any any

!

ip access-list 2

permit all 10.85.0.0 255.255.0.0 any any any

deny all any any any any

!

!

!

route-map stb_use permit 10

match ip address 1

set ip next-hop 10.25.6.1

!

!

route-map stb_use permit 20

match ip address 2

set ip next-hop 10.202.5.1

!

!

route-map stb_yidong permit 10

match ip address 1

set ip next-hop 10.25.6.1

!

interface eth 0

ip address 192.168.2.100 255.255.255.0

!

!

aaa authentication login local

!

interface ip-bundle 1

ip address 10.65.0.1 255.255.240.0

ip address 10.45.16.1 255.255.240.0 secondary

ip address 10.85.0.1 255.255.240.0 secondary

cable helper-address 10.25.6.2

ip policy route-map stb_use

interface ip-bundle 1.1

ip address 172.1.0.1 255.255.248.0

ip address 10.45.0.1 255.255.248.0 secondary

#访问控制列表

#筛选感兴趣的网段

#策略路由

#引用ACL

#指定下一跳

#用于转发DHCP ip address 10.189.0.1 255.255.248.0 secondary

cable helper-address 10.25.6.2

ip policy route-map stb_yidong

!

interface vlan 256

gige 1

!

interface gige 0

ip address 10.202.5.2 255.255.255.252

no shutdown

interface gige 1

ip address 10.25.6.122 255.255.255.0

no shutdown

interface gige 2

ip address 172.22.0.4 255.255.255.248

no shutdown

interface gige 3

shutdown

!

!

!

!

!

!

!

!

!

!

!

!

!multicast

!

! !

cable sec tftp-options net-addr

cable sec encrypt-alg-priority des56CbcMode des40CbcMode aes128CbcMode

cable sec cert-revocation-list url

cable sec ocsp protocol-url

!

interface qam 0/0

annex A

interleave 12

power 500

channel 0 frequency 530000000

no channel 0 shutdown

channel 1 frequency 538000000

no channel 1 shutdown

no shutdown

interface qam 0/1

annex A

interleave 12

power 500

channel 0 frequency 562000000

no channel 0 shutdown

channel 1 frequency 570000000

no channel 1 shutdown

no shutdown

interface qam 0/2

annex A

interleave 12

power 500

channel 0 frequency 578000000

no channel 0 shutdown

channel 1 frequency 586000000

no channel 1 shutdown

no shutdown

interface qam 0/3

annex A

interleave 12

power 500

channel 0 frequency 546000000

no channel 0 shutdown channel 1 frequency 554000000

no channel 1 shutdown

no shutdown

!

!

route net 10.25.6.2 32 gw 10.25.6.1

!

!

!

!

!

!

!

!

no ntp scheck

!

upstream map size 5

interface docsis-mac 1

no shutdown

no early-authentication-encryption

no multicast-dsid-forward

no tftp-proxy

ip bundle 1

downstream 1 interface qam 0/0/0

downstream 2 interface qam 0/0/1

downstream 3 interface qam 0/1/0

downstream 4 interface qam 0/1/1

downstream 5 interface qam 0/2/0

downstream 6 interface qam 0/2/1

downstream 7 interface qam 0/3/0

downstream 8 interface qam 0/3/1

upstream 1 interface upstream 1/0.0/0

upstream 2 interface upstream 1/0.1/0

upstream 3 interface upstream 1/1.0/0

upstream 4 interface upstream 1/1.1/0

upstream 5 interface upstream 1/2.0/0

upstream 6 interface upstream 1/2.1/0

upstream 7 interface upstream 1/3.0/0

upstream 8 interface upstream 1/3.1/0

!

! ! packetcable global

! packetcable rks

!

!

!

! dsg commands

!

dsg server-redundancy enable

!

!

! load balance commands

!

load-balance enable

常用配置命令

enable

case

config

interface gige 0

no shutdown

ip add 171.1.1.1

end

route net 0.0.0.0 0 gw +下一跳地址

----------------------------

interface qam 0/0

no shutdown

no channel 0 shutdown

annex A

channel 0 frequency 547000000

modulation 256qam

#进入特权模式密码

#默认路由

#激活频点

#使用频率标准(A-欧标,B-美标)

#设置下行0信道频率

#选择下行调制方式 power 450 #下行发射电平,范围<450-620>

/*一个下行物理端口中有一个频点,最高为62dBmV,一个下行物理端口中有两个频点,最高为61dBmV,一个下行物理端口中有四个频点,最高为60dBmV。*/

end

----------------------------

interface upstream 1/0.0

no shutdown

no logical-channel 0 shutdown

show modulation-profile

logical-channel 0 profile 3

channel-width 3200000

power-level 0

power-adjustment continue 5

end

----------------------------

interface ip-bandle 1

ip address 10.0.1.1 255.255.255.0

ip address 10.0.2.1 255.255.255.0 secondary

ip address 10.0.3.1 255.255.255.0 secondary

cable helper-address 192.1.1.1

end

----------------------------

interface docsis-mac 1

downstream 1 interface qam 0/0/0

upstream 1 interface upstream 1/0.0/0

ip bundle 1

end

----------------------------

interface vlan 300

gige 0

copy run start

----------------------------

show cable model

show cable model cpe

show cable model

show cable model

show cable model+ MAC地址段

show cable model [init offline online]

----------------------------

show arp

show route

#恢复默认配置

rm startup-config

#激活逻辑信道0

#查看调制配置文件

#选择配置文件

#频带宽,与信号好坏有关,信号好用6.4M

#设置上行接收电平

#上行接受电平范围

#分配CM的IP

#分配给电脑的IP

#其他转发网段

#分配给CM的DHCP的ip

#创建MAC域

#添加下行频点

#添加上行通道

#绑定ip bandle

#创建vlan

#将千兆口加入vlan

#保存配置

#查看CM命令

#查看CM所带的CPE

#查看某个CM的IP

#查看某个CM的MAC

#查看一个MAC地址段的CM

#根据CM的状态查看CM

#查看arp解析表

#查看路由表 copy nvram

copy tftp [ip] [file] flash1/2

----------------------------

#负载均衡,绑定频点(多个下行,多个上行)

service group 1

qam 0/0/0

qam 0/0/1

qam 0/1/0

qam 0/1/1

qam 0/2/0

qam 0/2/1

qam 0/3/0

qam 0/3/1

upstream 1/0.0

upstream 1/1.0

load-balance enable

----------------------------

show load-balance execution-rule #查看负载均衡规则

load-balance execution-rule 2

method utilization #选择负载均衡的方式(method数量,utilization利用率)

threshold load 20 enforce 20 minimum 50 #调整起始落差值,动态差值,负载起始值

interval 300 #调整时间间隔

cable modem rebalance-interval 600 #再次负载均衡时间

end

load-balance policy 1 #规则

rule execution 1 #执行规则1

rule basic 1 #基本规则1

end

load-banlance general-group default-settings #全组负载均衡默认值

policy-id 1

initial-tech direct/period-ranging #负载均衡使用的技术 end

load-balance execution-rule 2 #进入自定义设置规则

enable

show docsis upstream/downstream channel utilization #显示通道利用率

------------------------------

trunk #这里指端口捆绑

interface trunk <1-12>

ip add

ip access-list [name]

deny/permit {tcp/udp/} any any(源地址) any any(目的地址)

发布者:admin,转转请注明出处:http://www.yc00.com/web/1688419940a135687.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信