电信华为5680T开局参考脚本

huawei(config)#sysname sysname WuYangJiLou_MA5680T 节点命名

huawei(config)#board confirm 0 确认所有单板

huawei(config)#interface eth 0/16 更改ETH上行板模式
network-role uplink
quit
huawei(config)#undo isolate board 0/16 undo isolate命令用于解除ETH级联单板、上行端口的隔离

huawei(config)#vlan 184 standard //建立网管VLAN

huawei(config)#port vlan 184 0/16 0 //将VLAN添加到上行口
huawei(config)#interface vlanif 184 //进入VLAN虚接口
huawei(config-if-vlanif-184) #description "TO-N2000server" //描述
huawei(config-if-vlanif-48) #ip address 172.26.77.2 255.255.255.0 //配置网管IP
quit
huawei(config) #ip route-static 0.0.0.0 0.0.0.0 172.26.77.1 //网关

snmp-agent community read public 网管SNMM协议配置

snmp-agent community write private

snmp-agent sys-info version v1 v2c

snmp-agent target-host trap-hostname 113.105.0.41 address 113.105.0.41 udp-port 162 trap-paramsname 113.105.0.41

snmp-agent target-host trap-paramsname 113.105.0.41 v1 securityname 113.105.0.41

snmp-agent trap enable standard

snmp-profile add profile-id 1 profile-name "n2000" v1 "public" "private" 113.105.0.41 162 "n2000"
snmp-profile add profile-id 2 profile-name "N2000epon" v2c "public" "private" 113.105.0.41 162 "public"


vlan 700 smart 业务VLAN
port vlan 700 0/16 0
vlan attrib 700 q-in-q


dba-profile add profile-id 100 profile-name OLT-DBA type3 assure 102400 max 128000 DBA模板
ont-lineprofile epon profile-id 100 profile-name SNMP 线路模板设置
(config-epon-lineprofile-100)#llid dba-profile-id 100
commit
quit

interface epon 0/1
huawei(config-if-epon-0/1)#port 0 ont-auto-find enable //设置PON口的自动发现功能
huawei(config-if-epon-0/1)#display ont auto-find 0 //查看自动发现的ONT MAC地址

interface epon 0/1 添加ONU,配置管理IP地址
ont confirm 0 ontid 0 mac-auth 0018-82D6-8CBA snmp ont-lineprofile-id 18
ont snmp-profile 0 0 profile-id 1
ont ipconfig 0 0 ip-address 172.27.77.2 mask 255.255.255.0 gateway 172.27.77.1 manage-vlan 50
quit

service-port vlan 700 epon 0/1/0 ont 0 multi-service user-vlan 50 网关虚链接

service-port vlan 700 epon 0/1/0 ont 0 multi-service user-vlan 101 业务虚链接
service-port vlan 700 epon 0/1/0 ont 0 multi-service user-vlan 102
service-port vlan 700 epon 0/1/0 ont 0 multi-service user-vlan 103
…………

interface giu 0/18 看GIUC板在哪个槽位
MA5680T(config-if-giu-0

/18)#mdi 0 normal 端口网线自适应功能为标准模式
YJ_HaiLing_MA5680T(config-if-giu-0/18)#auto-neg 0 disable 使能0端口自协商模式
YJ_HaiLing_MA5680T(config-if-giu-0/18)#duplex 0 full
YJ_HaiLing_MA5680T(config-if-giu-0/18)#speed 0 100

vlan 1006 smart
port vlan 1006 0/18 0
service-port vlan 1006 epon 0/1/0 ont 0 multi-service user-vlan 1006 tag translte 语音业务虚链
..

interface vlanif 1006

YJ_HaiLing_MA5680T(config-if-vlanif1006)#arp proxy enable 语音代理配置

YJ_HaiLing_MA5680T(config-if-vlanif1006)#ip address 10.43.137.137 255.255.255.240

arp proxy enable

pitp permit-forwarding service-port 是否允许PITP透传

emu add 0 fan 0 1 "back" //设置环境监控
interface emu 0
fan speed mode automatic
quit

ring check enable //打开MA5680T环网检测功能

autosave interval on 自动保存开关打开

相关文档
最新文档