2023年12月15日发(作者:门罡)
MA
98MA635378-001
//登入
root
admin
enable
config
//语言切换
switch language-mode
1.配置网管
sysname Zh_ChengGuan_MA5600_4
vlan 97 standard
port vlan 97 0/7 0
interface vlanif 97
ip address 192.168.29.13 255.255.255.0
//上行口描述
description To_ChengGuan_S8505
quit
ip route-static 0.0.0.0 0.0.0.0 192.168.29.1 preference 1
snmp-agent community read public
snmp-agent community write private
snmp-agent sys-info contact HW-8008302118
snmp-agent sys-info location ZhengHe Telecom,ChengGuan Office
snmp-agent sys-info version all
snmp-agent trap enable standard
snmp-agent target-host trap address 192.168.1.1 securityname public
snmp-agent target-host trap address 192.168.1.3 securityname public
snmp-agent target-host trap address 192.168.10.2 securityname public
snmp-agent target-host trap address 172.31.249.2 securityname public
snmp-agent trap source vlanif 97
autosave interval on
autosave interval 1440
//主控板扣板O2GS上行口设置(自动为1000M,全双工)
display board 0/7
int scu 0/7
quit
2.配置业务数据
1) 激活 ADSL2+端口
board confirm 0
adsl line-profile add 2
y
ADSL2+2M
1
Y
0
1
1
1
0
Y
16
6
1
Y
6
0
31
6
0
31
Y
32
2048
32
512
//手动创建ADSL端口速率模板
Zh_TaoYang_MA5603(config)#adsl line-profile add 2
开始添加模板
在输入的过程中,可以按`Q`键退出设置,使本次设置无效
> 您要给模板取名吗? (y/n) [n]:y
> 请输入模板名:ADSL2+_2M
> 默认参数类型 0-adsl 1-adsl2+ (0~1) [0]:1
> 您要进行基本配置吗? (y/n) [n]:
> 请选择通道方式 0-交织 1-快速 (0~1) [0]:
> 您要设置交织时延吗? (y/n) [n]:
> 请选择下行传输速率自适应方式: 0-固定 1-启动自适应 2-运行态自适应 (0~2) [1]:
> 您要设置MODEM的噪声容限吗? (y/n)[n]:
> 您要设置速率参数吗? (y/n)[n]:y
> 下行最小速率 (32~32000 Kbps) [32]:
> 下行最大速率 (32~32000 Kbps) [24544]:2048
> 上行最小速率(32~6000 Kbps) [32]:
> 上行最大速率 (32~6000 Kbps) [1024]:512
添加模板2成功
interface adsl 0/0
deactivate all
activate all profile-index 2
deactivate all
quit
interface adsl 0/1
deactivate all
activate all profile-index 2
deactivate all
quit
interface adsl 0/2
deactivate all
activate all profile-index 2
deactivate all
quit
interface adsl 0/3
deactivate all
activate all profile-index 2
deactivate all
quit
2) 业务VLAN 配置
vlan 1001 to 1128 mux
y
port vlan 1001 to 1128 0/7 0
y
3) 增加业务虚连接
service-port vlan 1697 adsl 0/3/0 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1698 adsl 0/3/1 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1699 adsl 0/3/2 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1700 adsl 0/3/3 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1701 adsl 0/3/4 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1702 adsl 0/3/5 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1703 adsl 0/3/6 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1704 adsl 0/3/7 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1705 adsl 0/3/8 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1706 adsl 0/3/9 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1707 adsl 0/3/10 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1708 adsl 0/3/11 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1709 adsl 0/3/12 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1710 adsl 0/3/13 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1711 adsl 0/3/14 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1712 adsl 0/3/15 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1713 adsl 0/3/16 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1714 adsl 0/3/17 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1715 adsl 0/3/18 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1716 adsl 0/3/19 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1717 adsl 0/3/20 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1718 adsl 0/3/21 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1719 adsl 0/3/22 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1720 adsl 0/3/23 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1721 adsl 0/3/24 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1722 adsl 0/3/25 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1723 adsl 0/3/26 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1724 adsl 0/3/27 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1725 adsl 0/3/28 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1726 adsl 0/3/29 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1727 adsl 0/3/30 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1728 adsl 0/3/31 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
multi-service-port from-vlan 1001 port 0/0 0-31 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
y
multi-service-port from-vlan 1033 port 0/1 0-31 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
y
multi-service-port from-vlan 1065 port 0/2 0-31 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
y
multi-service-port from-vlan 1097 port 0/3 0-31 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
y
3.设置访问列表
//允许网管VLAN:97下,192.168.1.1/24、192.168.10.1/24、192.168.29.1/24、172.31.249.1/24四个网段telnet MA5600.
acl number 2000
rule 5 deny source any
rule 10 permit source 192.168.1.0 0.0.0.255
rule 15 permit source 192.168.10.0 0.0.0.255
rule 20 permit source 192.168.29.0 0.0.0.255
rule 25 permit source 172.31.249.0 0.0.0.255
quit
//定义链路层访问列表4000、4001
acl number 4000
rule 5 permit source 97
quit
acl number 4001
rule 5 deny source 97
quit
//同时应用ACL 2000、4000、4001,允许来自网管VLAN 97并且是192.168.1.1/24、192.168.10.1/24、192.168.29.1/24、172.31.249.1/24四个网段的报文访问MA5600。
packet-filter inbound ip-group 2000 rule 5 link-group 4001 rule 5 port 0/7/0
packet-filter inbound ip-group 2000 rule 10 link-group 4000 rule 5 port 0/7/0
packet-filter inbound ip-group 2000 rule 15 link-group 4000 rule 5 port 0/7/0
packet-filter inbound ip-group 2000 rule 20 link-group 4000 rule 5 port 0/7/0
packet-filter inbound ip-group 2000 rule 25 link-group 4000 rule 5 port 0/7/0
4.
//添加风扇设置
emu add 0 fan 0 0 back Zh_ChengGuan
interface emu 0
fan speed mode automatic
quit
//关闭igmp proxy 功能 V300R002以后版本
btv
igmp mode off
y
quit
//关闭igmp proxy 功能 V300R001B01D088版本
btv
igmp proxy disable
y
quit
//关闭系统调试开关
undo debugging all
//保存数据
save
y
//环路检测开关
ring check enable
ring check disable
转载请注明 信息来源:电信外线员论坛
原文链接:/
2023年12月15日发(作者:门罡)
MA
98MA635378-001
//登入
root
admin
enable
config
//语言切换
switch language-mode
1.配置网管
sysname Zh_ChengGuan_MA5600_4
vlan 97 standard
port vlan 97 0/7 0
interface vlanif 97
ip address 192.168.29.13 255.255.255.0
//上行口描述
description To_ChengGuan_S8505
quit
ip route-static 0.0.0.0 0.0.0.0 192.168.29.1 preference 1
snmp-agent community read public
snmp-agent community write private
snmp-agent sys-info contact HW-8008302118
snmp-agent sys-info location ZhengHe Telecom,ChengGuan Office
snmp-agent sys-info version all
snmp-agent trap enable standard
snmp-agent target-host trap address 192.168.1.1 securityname public
snmp-agent target-host trap address 192.168.1.3 securityname public
snmp-agent target-host trap address 192.168.10.2 securityname public
snmp-agent target-host trap address 172.31.249.2 securityname public
snmp-agent trap source vlanif 97
autosave interval on
autosave interval 1440
//主控板扣板O2GS上行口设置(自动为1000M,全双工)
display board 0/7
int scu 0/7
quit
2.配置业务数据
1) 激活 ADSL2+端口
board confirm 0
adsl line-profile add 2
y
ADSL2+2M
1
Y
0
1
1
1
0
Y
16
6
1
Y
6
0
31
6
0
31
Y
32
2048
32
512
//手动创建ADSL端口速率模板
Zh_TaoYang_MA5603(config)#adsl line-profile add 2
开始添加模板
在输入的过程中,可以按`Q`键退出设置,使本次设置无效
> 您要给模板取名吗? (y/n) [n]:y
> 请输入模板名:ADSL2+_2M
> 默认参数类型 0-adsl 1-adsl2+ (0~1) [0]:1
> 您要进行基本配置吗? (y/n) [n]:
> 请选择通道方式 0-交织 1-快速 (0~1) [0]:
> 您要设置交织时延吗? (y/n) [n]:
> 请选择下行传输速率自适应方式: 0-固定 1-启动自适应 2-运行态自适应 (0~2) [1]:
> 您要设置MODEM的噪声容限吗? (y/n)[n]:
> 您要设置速率参数吗? (y/n)[n]:y
> 下行最小速率 (32~32000 Kbps) [32]:
> 下行最大速率 (32~32000 Kbps) [24544]:2048
> 上行最小速率(32~6000 Kbps) [32]:
> 上行最大速率 (32~6000 Kbps) [1024]:512
添加模板2成功
interface adsl 0/0
deactivate all
activate all profile-index 2
deactivate all
quit
interface adsl 0/1
deactivate all
activate all profile-index 2
deactivate all
quit
interface adsl 0/2
deactivate all
activate all profile-index 2
deactivate all
quit
interface adsl 0/3
deactivate all
activate all profile-index 2
deactivate all
quit
2) 业务VLAN 配置
vlan 1001 to 1128 mux
y
port vlan 1001 to 1128 0/7 0
y
3) 增加业务虚连接
service-port vlan 1697 adsl 0/3/0 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1698 adsl 0/3/1 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1699 adsl 0/3/2 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1700 adsl 0/3/3 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1701 adsl 0/3/4 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1702 adsl 0/3/5 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1703 adsl 0/3/6 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1704 adsl 0/3/7 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1705 adsl 0/3/8 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1706 adsl 0/3/9 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1707 adsl 0/3/10 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1708 adsl 0/3/11 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1709 adsl 0/3/12 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1710 adsl 0/3/13 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1711 adsl 0/3/14 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1712 adsl 0/3/15 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1713 adsl 0/3/16 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1714 adsl 0/3/17 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1715 adsl 0/3/18 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1716 adsl 0/3/19 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1717 adsl 0/3/20 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1718 adsl 0/3/21 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1719 adsl 0/3/22 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1720 adsl 0/3/23 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1721 adsl 0/3/24 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1722 adsl 0/3/25 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1723 adsl 0/3/26 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1724 adsl 0/3/27 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1725 adsl 0/3/28 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1726 adsl 0/3/29 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1727 adsl 0/3/30 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
service-port vlan 1728 adsl 0/3/31 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
multi-service-port from-vlan 1001 port 0/0 0-31 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
y
multi-service-port from-vlan 1033 port 0/1 0-31 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
y
multi-service-port from-vlan 1065 port 0/2 0-31 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
y
multi-service-port from-vlan 1097 port 0/3 0-31 vpi 0 vci 35 rx-cttr 6 tx-cttr 6
y
3.设置访问列表
//允许网管VLAN:97下,192.168.1.1/24、192.168.10.1/24、192.168.29.1/24、172.31.249.1/24四个网段telnet MA5600.
acl number 2000
rule 5 deny source any
rule 10 permit source 192.168.1.0 0.0.0.255
rule 15 permit source 192.168.10.0 0.0.0.255
rule 20 permit source 192.168.29.0 0.0.0.255
rule 25 permit source 172.31.249.0 0.0.0.255
quit
//定义链路层访问列表4000、4001
acl number 4000
rule 5 permit source 97
quit
acl number 4001
rule 5 deny source 97
quit
//同时应用ACL 2000、4000、4001,允许来自网管VLAN 97并且是192.168.1.1/24、192.168.10.1/24、192.168.29.1/24、172.31.249.1/24四个网段的报文访问MA5600。
packet-filter inbound ip-group 2000 rule 5 link-group 4001 rule 5 port 0/7/0
packet-filter inbound ip-group 2000 rule 10 link-group 4000 rule 5 port 0/7/0
packet-filter inbound ip-group 2000 rule 15 link-group 4000 rule 5 port 0/7/0
packet-filter inbound ip-group 2000 rule 20 link-group 4000 rule 5 port 0/7/0
packet-filter inbound ip-group 2000 rule 25 link-group 4000 rule 5 port 0/7/0
4.
//添加风扇设置
emu add 0 fan 0 0 back Zh_ChengGuan
interface emu 0
fan speed mode automatic
quit
//关闭igmp proxy 功能 V300R002以后版本
btv
igmp mode off
y
quit
//关闭igmp proxy 功能 V300R001B01D088版本
btv
igmp proxy disable
y
quit
//关闭系统调试开关
undo debugging all
//保存数据
save
y
//环路检测开关
ring check enable
ring check disable
转载请注明 信息来源:电信外线员论坛
原文链接:/