>>User password: mduadmin Huawei>enable huawei#config
huawei (config)# quit huawei#quit //断开设备
MA5616#switch language-mode //汉语显示
目录
1、MA5616#display board 0 //查看设备板卡情况 ............................................................... 1 2、MA5616#display board 0/0 //查看设备PON MAC地址 ................................................. 1 3、huawei#display interface vlanif //查看设备管理IP及掩码,语音IP及掩码 ..... 2 4、MA5616#display vlan all //查看设备的内层VLAN情况、语音和设备管理VLAN .... 3 5、MA5616#display mac-address all //查看设备网管 ..................... 错误!未定义书签。 6、MA5616(config)#interface h248 0 //进入H248目录 ................................................. 4 7、MA5616(config-if-h248-0)#display if-h248 state //显示语言IP,注册域名/IP,软交换IP.......................................................................................................................................... 4 8、MA5616#display current-configuration //查看全部配置(语音网关) ................... 5
1、MA5616#display board 0 //查看设备板卡情况
NJ_WYJLDXK/NXY.CNJ/J14003JJXP04_MA5616#display board 0 -------------------------------------------------------------------------
SlotID BoardName Status SubType0 SubType1 Online/Offline ------------------------------------------------------------------------- 0 H831CCUB Active_normal EP1A ASDA 1 H838ASPB Normal 2 H835ADLE Normal 3 4
5 H831PAIB Normal
-------------------------------------------------------------------------
2、MA5616#display board 0/0 //查看设备PON MAC地址
NJ_WYJLDXK/NXY.CNJ/J14003JJXP04_MA5616#display board 0/0
---------------------------------------
Board Name : H831CCUB Board Status : Active normal
---------------------------------------
Subboard[0]: H831EP1A Status: Normal Subboard[1]: H836ASDA Status: Normal ------------------------------------------------------------------------------
Port Port COMBO Optic MDI Speed Duplex Flow- Active Link Type Mode Status (Mbps) Ctrl State ------------------------------------------------------------------------------
0 GE electric - auto auto auto off deactive offline ------------------------------------------------------------------------------
Note: For a 1000 M, electrical port in the full-duplex mode, setting MDI to any value is invalid
-----------------------------------------------------------------------------
Port Port Type MAC Regist State Link State -----------------------------------------------------------------------------
1 EPON 286E-D44A-D3E4 (PON MAC) EXT-OAM-registered UP -----------------------------------------------------------------------------
3、huawei#display interface vlanif //查看设备管理IP及掩码,语音IP及掩码
NJ_WYJLDXK/NXY.CNJ/J14003JJXP04_MA5616#display interface vlanif { <3-4>| Command: display interface vlanif vlanif3 current state : UP Line protocol current state : UP Description : HUAWEI, SmartAX Series, vlanif3 Interface The Maximum Transmit Unit is 1500 bytes Internet Address is 10.2.152.197/27 设备IP及掩码 IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 286 vlanif4 current state : UP Line protocol current state : UP Description : HUAWEI, SmartAX Series, vlanif4 Interface The Maximum Transmit Unit is 1500 bytes Internet Address is 10.83.193.210/24 语音IP及掩码 IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 286 4、MA5616#display vlan all //查看设备的内层VLAN情况、语音和设备管理VLAN 如下:1257-1288为此设备的宽带VLAN,要知道VLAN对应的槽位关系,需要查看全部配置 NJ_WYJLDXK/NXY.CNJ/J14003JJXP04_MA5616#display vlan all { Command: display vlan all --------------------------------------------------------- VLAN Type Attribute STND-Port NUM SERV-Port NUM --------------------------------------------------------- 1 (默认的) smart common 2 0 3(设备管理VLAN) smart common 1 0 4(语音管理VLAN) smart common 1 0 1257 MUX common 1 1 1258 MUX common 1 1 1259 MUX common 1 1 1260 MUX common 1 1 1261 MUX common 1 1 1262 MUX common 1 1 1263 MUX common 1 1 1264 MUX common 1 1 1265 MUX common 1 1 1266 MUX common 1 1 1267 MUX common 1 1 1268 MUX common 1 1 1269 MUX common 1 1 1270 MUX common 1 1 1271 MUX common 1 1 1272 MUX common 1 1 1273 MUX common 1 1 1274 MUX common 1 1 1275 MUX common 1 1 1276 MUX common 1 1 1277 MUX common 1 1 1278 MUX common 1 1 1279 MUX common 1 1 1280 MUX common 1 1 1281 MUX common 1 1 1282 MUX common 1 1 1283 MUX common 1 1 1284 MUX common 1 1 1285 MUX common 1 1 1286 MUX common 1 1 1287 MUX common 1 1 1288 MUX common 1 1 --------------------------------------------------------- Total: 35 Note : STND-Port--standard port, SERV-Port--service virtual port 5、MA5616(config)#interface h248 0 //进入H248目录 6、MA5616(config-if-h248-0)#display if-h248 state //显示语言IP,注册域名/IP,软交换IP ------------------------------------------------- MGID 0 MG Description - MG DomainName - Protocol H248 Using H248 Version 2 Profile Negotiation Parameter Disable Profile index 6:ZTE_AGW/1(\"ZTE_AGW/1\") Codetype Text Transmode UDP Call hold Timer(s) 60 CurrentHeartBeatGenerateTimer(s) 60 CurrentHeartBeatRetransTimes 3 CurrentHeartBeatRetransTimer(s) 60 MG signalling IP 10.83.193.210 (语言IP) MG signalling Port 2944 MG media IP1 10.83.193.210 (语音注册IP/域名) MG media IP2 - MGC IP 10.55.64.11 (主用软交换IP) MGC Domain name - MGC DNS-IP - MGC port 2944 Interface state Normal MIDType IP4_ADDR DeviceName - Standby MGC MGC Port :2944 MGC IP:10.55.65.7 (备用软交换IP) Standby MGC MGC Domain Name:- ------------------------------------------------- NJ_WYJLDXK/NXY.CNJ/J14003JJXP04_MA5616(config-if-h248-0)#display if-h248 state ------------------------------------------------- 接口标识 0 接口描述 - MG 域名 - 协议类型 H248 当前H248版本 2 Profile 协商参数 禁止 Profile 索引 6:ZTE_AGW/1(\"ZTE_AGW/1\") 编码类型 文本 传输方式 UDP 呼叫保持时长(秒) 60 当前心跳发起时长(秒) 60 当前心跳重传次数(次) 3 当前心跳重传时长(秒) 60 MG信令IP地址 10.83.193.210 (语音IP) MG信令端口号 2944 MG媒体IP地址1 10.83.193.210 (注册域名/IP) MG媒体IP地址2 - MGC IP地址 10.55.64.11 (软交换IP 主用) MGC 域名 - MGC DNS-IP - MGC端口号 2944 接口状态 正常 7、MA5616#display current-configuration //查看全部配置(语音网关) { Command: display current-configuration [MA5616V800R306: 5301] # [global-config] sysname NJ_WYJLDXK/NXY.CNJ/J14003JJXP04_MA5616 (设备的系统名称) adsl mode switch-to ADSL vdsl mode switch-to normal dpbo-calculation mode standard upbo setting enable adsl line-profile quickadd 2 basic-para all trellis 1 bitswap 0 0 channel fast adapt at-startup snr 6 0 31 6 0 31 rate 5342 5344 672 672 name 5344-672-FAST-TS (速率模板) adsl line-profile quickadd 3 basic-para all trellis 1 bitswap 0 0 channel fast adapt at-startup snr 6 0 31 6 0 31 rate 3070 3072 512 512 name 3072-512-FAST-TS (速率模板) adsl line-profile quickadd 4 basic-para all trellis 1 bitswap 0 0 channel fast adapt at-startup snr 6 。。。。。。 event eventlevel 0x0230a042 minor alarm alarmlevel 0x0a11a102 warning alarm alarmlevel 0x0a11a103 warning alarm alarmlevel 0x0a11a104 warning alarm alarmlevel 0x0a11a105 warning alarm alarmlevel 0x0a11a106 warning alarm alarmlevel 0x0a11a107 warning alarm alarmlevel 0x0a11a109 warning alarm alarmlevel 0x0a310112 warning alarm alarmlevel 0x0a310142 warning event eventlevel 0x3f100004 minor event eventlevel 0x3f100005 minor event eventlevel 0x3f300001 default fax-modem parameters rfc2198-start-mode EnableRfc2198SmartStartup # [device-config] board add 0/1 H838ASPB 1槽位为ASPB板(语音) board add 0/2 ADL 2槽位为ADL板(宽带) rack info 0 manufactured-name \"Huawei\" # [public-config] snmp-agent local-engineid 800007DB03286ED45459BB snmp-agent community read njwg # [vlan-config] vlan 3 to 4 smart (3设备管理VLN,4语音管理VLAN) vlan 1257 to 1288 mux (内层VLAN起止) port vlan 3 to 4 0/0 1 (VLAN3、4已经透传端口0/0 1) port vlan 1257 to 1288 0/0 1 (内层vlan已经透传端口0/0 1) # [eth] activate 0 profile-index 3 (activate激活) deactivate 1 activate 1 profile-index 3 deactivate 2 activate 2 profile-index 3 。。。。。。 deactivate 31 activate 31 profile-index 3 # [eponnni] interface eponnni 0/0/1 # [platform-config] autosave interval on (自动保存开) autosave interval configuration 5(检查时间间隔) autosave type all (保存全部) # [emu-config] emu add 1 fan 0 2 RS485 \"FAN\" emu add 2 h831pmu 0 0 RS485 \"H831PMUA\" # [fan] interface emu 1 fan speed mode automatic # [bbs-config] service-port 0 vlan 1257 adsl 0/2/0 vpi 8 vci 35 single-service rx-cttr 6 tx- cttr 6 service-port 1 vlan 1258 adsl 0/2/1 vpi 8 vci 35 single-service rx-cttr 6 tx- cttr 6 。。。。。。 service-port 29 vlan 1286 adsl 0/2/29 vpi 8 vci 35 single-service rx-cttr 6 tx-cttr 6 service-port 30 vlan 1287 adsl 0/2/30 vpi 8 vci 35 single-service rx-cttr 6 tx-cttr 6 service-port 31 vlan 1288 adsl 0/2/31 vpi 8 vci 35 single-service rx-cttr 6 tx-cttr 6 # [voip] ip address media 10.83.193.210 (语音IP) 10.83.193.1 (语音网管) ip address signaling 10.83.193.210 (语音IP域名) # [h248] interface h248 0 if-h248 attribute mgip 10.83.193.210 mgport 2944 transfer udp if-h248 attribute primary-mgc-ip1 10.55.64.11(软交换IP,主用)primary-mgc-port 2944 if-h248 attribute secondary-mgc-ip1 10.55.65.7(软交换IP,备用) secondary-mgc-port 2944 if-h248 attribute mg-media-ip1 10.83.193.210 (语音注册域名/IP?) if-h248 attribute profile-index 6 start-negotiate-version 2 mg-software parameter 13 1 # [esl-user] mgpstnuser add 0/1/0 0 terminalid 0 mgpstnuser add 0/1/1 0 terminalid 1 mgpstnuser add 0/1/2 0 terminalid 2 mgpstnuser add 0/1/3 0 terminalid 3 mgpstnuser add 0/1/4 0 terminalid 4 。。。。。。 mgpstnuser add 0/1/62 0 terminalid 62 mgpstnuser add 0/1/63 0 terminalid 63 # [abs-config] [config] security mac-filter source 0019-c601-95e1 # [vlanif] interface vlanif3 (设备管理VLAN3) ip address 10.2.152.197 255.255.255.224 (设备管理IP及掩码) # interface vlanif4 (语音管理VLAN4) ip address 10.83.193.210 255.255.255.0 (语音IP及掩码?) # [meth] ip address 192.168.0.22 255.255.255.0 # [null] authentication-scheme \"default\" # authorization-scheme default # accounting-scheme \"default\" # domain \"default\" # [post-system] ip route-static 0.0.0.0 0.0.0.0 10.2.152.193 ip route-static 10.55.64.0 255.255.255.0 10.83.193.1 ip route-static 10.55.65.0 255.255.255.0 10.83.193.1 ntp-service unicast-server 10.2.128.206 # return 因篇幅问题不能全部显示,请点此查看更多更全内容