2022年ip设备常用指令 .pdf





《2022年ip设备常用指令 .pdf》由会员分享,可在线阅读,更多相关《2022年ip设备常用指令 .pdf(10页珍藏版)》请在淘文阁 - 分享文档赚钱的网站上搜索。
1、IP 设备常用指令一、DLSAM 接入设备华为 MA5600 常用指令登陆帐号 :root 密码 :admin 1.查看设备所有ADSL 端口状态 : HH_ZF_MA5600_A(config)#display adsl port state all - F/S Port Status Line_Profile Alm_Profile Ext_Profile - 0/0 0 Activating 2 1 - 0/0 1 Activated 2 1 - 0/0 2 Activated 2 1 - 0/0 3 Activated 2 1 - 0/0 4 Activating 2 1 - 2. 查
2、看某块 ADSL 板卡的端口状态: HH_ZF_MA5600_A(config)#display adsl port state 0/0 或者 HH_ZF_MA5600_A (config)#display board 0/0 3.查看单个用户端口状态HH_ZF_MA5600_A(config-if-adsl-0/0)#display port state 0 需注意工作模式: 在特权模式下 (#)-输入 config 进入配置模式-输入 interface adsl 0/0 (frame/slot) 进入该板卡下 ,再输入相应的命令. 4.查看设备上已有的模板HH_ZF_MA5600_A(c
3、onfig)#display adsl line-profile 5.修改单个端口模板例如 : 修改ADSL 0/0/4 端口HH_ZF_MA5600_A(config)#interface adsl 0/0 (进入该板卡 ) HH_ZF_MA5600_A(config-if-adsl-0/0)#deactivate 4 (去激活该端口 ) HH_ZF_MA5600_A(config-if-adsl-0/0)#activate 4 2 (激活该端口 ,并带上模板编号) 6) 查看一个端口在线激活的线路信息HH_ZXJ_MA5600_A(config-if-adsl-0/1)#display l
4、ine operation 0 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 1 页,共 10 页 - - - - - - - - - 中兴综合接入U300 常用指令帐号 :su3密码 su3 1. 当用户 MAC 地址已知,查询用户对应的端口:SU2(config)# show mac source-port macaddr aa:bb:cc:dd:ee:ff: vlan xxxx . unit=0, slot=1539, port=19 实际用户槽号:x =(slot 768)
5、/257 + 3 实际用户端口号:当port 号大于 16 时减掉 16,小于 16 时即为实际端口号。湖天一色172.23.2.186 VLAN 445 监狱172.23.2.185 VLAN 446 滨江花园172.23.2.149 VLAN 1614 2. 显示端口当前信息:SU2# show adsl port slot 0/3 3. 修改端口速率模板,直接修改无需打死激活端口:su2# config su2(config)# adsl port 0/3/0 lineprofile def_2m 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - -
6、- - - - - - 名师精心整理 - - - - - - - 第 2 页,共 10 页 - - - - - - - - - 中兴 DSLAM 9800 常用指令登陆帐号 :admin 密码 :admin enable密码 : admin 1)查看 dslam 设备的所有配置hh_gml9800m# show running-config 2)查看板卡的配置情况hh_gml9800m# show card Slot Rack Shelf Type Port HardVer SoftVer Status - 2 1 1 ASNVB 64 1 V1.0.5o7 Work 2 1 2 SPL T
7、0 NONE 9 1 1 CSCE 6 17 V1.0.5o11 Main 11 1 1 CSCE 6 OffLine - 3)查看设备上已存在的模板hh_gml9800m# show adsl profile All Existing Line Profiles : 1 : HH1M.PRF2 : HH2M.PRF3 : HH4M.PRF4 : DEFVAL.PRF 5 : DEFVAL_ISDN.PRF 4) 查看一个模版的具体配置情况hh_gml9800m# show adsl profile HH2M.PRF 5)查看一个端口所使用的模版hh_gml9800m# show adsl s
8、tatus 2/1 LineConfProfile : HH2M.PRF AlarmConfProfile : DEFVAL.PRF AdslLinePMConfPMSF : L0_FullOn AdslLineTransMode : Adsl2(fdm) Adsl2+(fdm) G .dmt(fdm) ReAdsl2(fdm) 6) 查看一个端口pvc 的配置情况hh_gml9800m# show atm vc 2/2 Port PVC VPI VCI PVID Mode State 2 1 0 35 1002 common enable 2 8 0 16 1 modem disable 7
9、) 查看多个端口的pvc 配置情况hh_gml9800m# show atm vc 2/1-2 Port PVC VPI VCI PVID Mode State 1 1 0 35 1001 common enable 1 8 0 16 1 modem disable 2 1 0 35 1002 common enable 2 8 0 16 1 modem disable 名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 3 页,共 10 页 - - - - - - - - - 8) 将
10、模版应用到相应的单板上hh_gml9800m# configure (进入配置模式) hh_gml9800m(config)# slot adsl 2(进入相应的单板) hh_gml9800m(cfg-slot-adsl-2)# adsl profile HH2M.PRF(调用相应的模版) 9)将模版应用到相应的端口上hh_gml9800m# configure (进入配置模式) hh_gml9800m(config)# interface adsl 2/1 (进入相应的端口) hh_gml9800m(cfg-if-adsl-2/1)# adsl profile HH2M.PRF(调用相应的模
11、版) 可以直接调用模版,不需要打死激活端口. 10) 查看单个或者多个端口的状态hh_gml9800m# show interface 2/1 (show interface 2/1-10 查看多个 ) Interface : 2/1 PVCID PVID AcceptFrames SvlanMode 1 1001 admitall normal 8 1 admitall normal SC_ID PVC_ID SC_TYPE 1 1 ALL AdminStatus : enable MaxMacLearn : 256 TrapControl : disable IngressFilter :
12、 discard BroadCastRateLimit(pps) : 1000 (Slot level) FloodRateLimit(pps) : 1024 (Slot level)MulticastRateLimit(pps) : 1000 (Slot level)InnerTag : PPPoE : disableRemove PPPoE Tag(from this card) : disable DHCP : disableDHCP Client Domain Name : Remote ID : disable Remote ID Name : DHCP Access Type :
13、china-telecom Remove DHCP Tag(from this card) : disable LinkStatus(ADSL) : down IfType : ADSL_PORT_TYPE IfMtu : 1518 UnknownMulticast : flood Modem IP : 192.168.2.1 可以查看该端口的链路状态,以及 vlan id 的值名师资料总结 - - -精品资料欢迎下载 - - - - - - - - - - - - - - - - - - 名师精心整理 - - - - - - - 第 4 页,共 10 页 - - - - - - - - -
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- 2022年ip设备常用指令 2022 ip 设备 常用 指令

限制150内