首页 > 代码库 > MA5620与U1960链接配置

MA5620与U1960链接配置

>>User name:root >>User password:  Huawei Integrated Access Software (MA5620).  Copyright(C) Huawei Technologies Co., Ltd. 2002-2013. All rights reserved.  -----------------------------------------------------------------------------  User last login information:  -----------------------------------------------------------------------------  Access Type : Telnet  IP-Address  : 192.168.xxx.xxx  Login  Time : 2017-03-20 13:48:01+08:00  Logout Time : 2017-03-20 13:54:42+08:00  -----------------------------------------------------------------------------  -----------------------------------------------------------------------------  All user fail login information:  -----------------------------------------------------------------------------  Access Type IP-Address           Time                          Login Times  -----------------------------------------------------------------------------  Serial      --                   2017-03-18 15:10:51+08:00               2  Telnet      xx.x.xxx.xx          2017-03-18 14:41:58+08:00               1  -----------------------------------------------------------------------------  User root has used a default password. Change the password in time. MA5620>enable MA5620#display current-configuration { <cr>|port<K>|section<K>|service-port<K>|simple<K>||<K> }:  Command:          display current-configuration [MA5620V800R312: 2300] # [sysmode]  <sysmode> protocol support sip #把默认协议改为sip,需要reboot后生效# [device-config]  <device-config> port port-index 0/0/1 port-type GPON-PORT # [public-config]  <public-config> snmp-agent local-engineid XXXXXXXXXXXXXXXXXXXX # [vlan-config]  <vlan-config> vlan 100 to 104 smart protocol-8021p-pri 5 vlan 104 port vlan 100 to 104 0/0 1 # [gponnni]  <gponnni-0/0/1> interface gponnni 0/0/1 password "%5L3_.^M^.9I\5<V@WN#JI1!!B#A8&)VAB‘]]F;U$19‘2_1!!B#A8&)VAB‘]]F;U$19‘ 2_1!!%" loid "%VL*&O__.3U3;RaK‘0`"NPQ!!,DWUN(I=,‘UZ_`@1RI<=WQ!!%" checkcode "%L9;7+FT2-[LX3NU/Va@a]Q!!%" # [bbs-config]  <bbs-config>

命令格式

 

service-port 

序号

 

vlan 

301 

0

/0

/1

端口

 

multi-service 

user-vlan 

untagged 

rx-cttr 

速率模板号

 

tx-cttr 

速率模板号

 

 

 

 

模板号为

0-63,

其中

2

4M

命令格式

 

service-port 

序号

 

vlan 

301 

0

/0

/1

端口

 

multi-service 

user-vlan 

untagged 

rx-cttr 

速率模板号

 

tx-cttr 

速率模板号

 

 

 

 

模板号为

0-63,

其中

2

4M

#service-port 序号 vlan 101 0框/1版/1端口,multi-service user-vlan 速率模板号untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 0 vlan 101 eth 0/1/1 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 1 vlan 101 eth 0/1/2 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 2 vlan 101 eth 0/1/3 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 3 vlan 101 eth 0/1/4 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 4 vlan 101 eth 0/1/5 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 5 vlan 101 eth 0/1/6 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 6 vlan 101 eth 0/1/7 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 7 vlan 101 eth 0/1/8 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 8 vlan 102 eth 0/1/9 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 9 vlan 102 eth 0/1/10 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 10 vlan 102 eth 0/1/11 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 11 vlan 102 eth 0/1/12 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 12 vlan 102 eth 0/1/13 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 13 vlan 102 eth 0/1/14 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 14 vlan 102 eth 0/1/15 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 service-port 15 vlan 102 eth 0/1/16 multi-service user-vlan untagged inbound traffic-table index 6 outbound traffic-table index 6 # [voip]  <voip> voip ip address media 本机IP 上行MA5608t ip address signaling 本机IP #因为5620下就直接连电话,所以填本机# [sip]  <sip-0> interface sip 0                     if-sip attribute basic media-ip 本机IP signal-ip 本机IP signal-port  5060 if-sip attribute basic primary-proxy-ip1 U1960IP primary-proxy-port 5060 # [esl-user]  <esl-user> esl user sippstnuser add 0/2/1 0 telno XXXX #为8位号码后四位 sippstnuser add 0/2/2 0 telno XXXX sippstnuser add 0/2/3 0 telno XXXX sippstnuser add 0/2/4 0 telno XXXX sippstnuser add 0/2/5 0 telno XXXX sippstnuser attribute set 0/2/1 dc-time 80 sippstnuser attribute set 0/2/2 dc-time 80 sippstnuser attribute set 0/2/3 dc-time 80 sippstnuser attribute set 0/2/4 dc-time 80 sippstnuser attribute set 0/2/5 dc-time 80 sippstnuser rightflag set 0/2/1 telno XXXX cw disable sippstnuser rightflag set 0/2/2 telno XXXX cw disable sippstnuser rightflag set 0/2/3 telno XXXX cw disable sippstnuser rightflag set 0/2/4 telno XXXX cw disable sippstnuser rightflag set 0/2/5 telno XXXX cw disable # [prevlanif]                            <prevlanif> interface vlanif103 interface vlanif104 # [vlanif]  <vlanif103> interface vlanif103 ip address 本机IP 255.255.255.0 #  <vlanif104> interface vlanif104 ip address 管理地址IP 255.255.255.0 # [meth]  <meth0> interface meth0 ip address 10.11.104.2 255.255.255.0 默认管理地址# [null]  <null0> interface null0 # [aaa]  <aaa>                               aaa authentication-scheme "default" # authorization-scheme "default" # accounting-scheme "default" # domain "default" # [post-system]  <post-system> ip route-static 本地IP网段 255.255.255.0 MA5608IP# return

MA5620与U1960链接配置