通信人家园

 找回密码
 注册

只需一步,快速开始

短信验证,便捷登录

搜索
查看: 3389|回复: 0
打印

[阿朗] 7302基本命令 [复制链接]

军衔等级:

  新兵

注册:2011-1-10
跳转到指定楼层
1#
发表于 2011-11-26 13:18:32 |只看该作者 |倒序浏览
1、        isadmin>configure>system>management# info(查看NT IP)
2、        isadmin>show# system shub entry ip(查看SHUB IP)
3、        isadmin>show# software-mngt oswp detail(查看ISAM VERSION)
4、        isadmin>show# system shub entry version detail(查看SHUB VERSION)
5、        sadmin>show>system>shub# filters shub-manager(查看指向的网管地址)
6、        Isadmin>show# atm pvc(查端口的PVC)
7、        isadmin>show>bridge# network-port detail(查看网络口的状态)
8、        isadmin>show>interface>shub# port(查看网络口的状态)
9、        isadmin>show>vlan# global(查看VLAN的数量)
10、        isadmin>show>vlan# shub-port-vlan-map(查看板卡及网络口对应的VLAN)
11、        isadmin>show>vlan# residential-bridge detail(查所有VLAN对应所带的端口)
12、        isadmin>show>bridge# port detail
13、        isadmin>show>bridge# shub-info detail(查SHUB MAC)
14、        isadmin>show>vlan# bridge-port-fdb  (查看所有VLAN获取端口MAC)
15、        isadmin>show>vlan# fdb (查看某个VLAN获取端口MAC)
16、        isadmin>show>vlan# shub-port-vlan-map(查看所有VLAN所对应的板卡及接口)
17、        isadmin>show>vlan# shub-filter-entry  (查看VLAN所获得的MAC)
18、        isadmin>show>interface>shub#vlan (显示用户VLAN及网络VLAN)
19、        show>bridge#port-to-atm-pvc  (显示桥端口与物理端口的对映关系)





1.编写概述
为帮助更好维护7302ISAM设备,编写本文档。本文档所有命令以R2.2为基础,可能因为版本不同而有所变化,具体请参各个版本命令手册。
2
.查看命令
2.1
端口部分
1
.查看上联端口状态
isadmin># show interface shub port
============================================================
port table
============================================================
port       admin-status oper-status speed        type         duplex
--------------------------------------------------------------------------------
1          down         down        one-gb       unused       full
2          down         down        one-gb       unused       full
3          down         down        one-gb       unused       full
4          up           up          hundred-mbps network      full
5          down         down        hundred-mbps unused       full
6          down         down        hundred-mbps unused       full
7          down         down        hundred-mbps unused       full
--------------------------------------------------------------------------------
port count : 7
============================================================
解释:本命令中,admin-status指上联端口是否激活,up是激活,down是锁定
本命令中,oper-status指上联端口链路是否激活,up是激活,down是不非激活。
本命令中,speed是指上联端口的速率
本命令中,type指端口的类型,主要有:networksubtendinguser等,unused表示没有配置任何类型。
本命令中,duplex指端口工作模式,主要有:fullhalf

2
.查看用户端口状态

isadmin># show interface port xdsl-line:1/1/4/1
============================================================
port table
============================================================
port                                    admin-status   opr-status
------------------------------------------------------------------------------
xdsl-line:1/1/4/1                       admin-up       down
------------------------------------------------------------------------------
port count : 1
============================================================
解释:本命令中1/1/4/1 指第4槽位第一个用户端口。7302中第4个槽位是第一块用户板,以次类推,第19个槽位是第16块用户板。第一个槽位是告警板,第二个槽位是NTA板,第三个槽位是NTB板。
本命令中,admin-status的状态指用户端口是否激活,admin-up是激活,admin-down是锁定。
本命令中,opr-status的状态指用户端是否同步,up是同步,down是不同步。

3
.查看用户端口Mac地址
isadmin># show vlan bridge-port-fdb
============================================================
bridge-port-fdb table
============================================================
port                        vlan-id           mac               status
-----------------------------------------------------------------------------
1/1/4/10:8:35               2692              00:30:1b:27:11:7c learned
1/1/4/11:8:35               2693              4c:00:10:c8:7e:13 learned
1/1/4/38:8:35               2720              00:14:78:c4:f3:4d learned
1/1/4/41:8:35               2723              00:0b:2f:0b:b3:89 learned
1/1/4/43:8:35               2725              00:33:44:55:67:f0 learned
1/1/4/45:8:35               2727              00:14:78:d3:6e:d7 learned
1/1/6/2:8:35                2780              00:16:ec:bd:1b:74 learned
1/1/6/3:8:35                2781              00:17:31:b5:06:f4 learned
1/1/6/8:8:35                2786              00:a1:b0:02:33:e1 learned
1/1/6/12:8:35               2790              00:0a:eb:df:9b:b1 learned
1/1/6/14:8:35               2792              00:e0:4c:55:95:fc learned
1/1/6/15:8:35               2793              00:14:2a:39:60:4d learned
1/1/6/20:8:35               2798              00:e0:4c:72:5d:34 learned
-----------------------------------------------------------------------------
bridge-port-fdb count : 13
============================================================
解释:本命令中1/1/4/10:8:35指用户端口映射的bridge portvlan-id指用户端口绑定的vlan号,mac7302学习到的用户PCMac地址,该Mac地址只要用户打开PCModem同步后即能学习到。

4
.查看用户Bridge端口信息
isadmin># show bridge port
================================================================================
port table
================================================================================
port              bridge-port pvid             default-priority qos-profile
                                         status
--------------------------------------------------------------------------------
1/1/4/1:8:35      33          2683             0                00:00:00:00:00:0
0:00:00:00:00:00:00:00:00:00:00:00:00:00 static
1/1/4/2:8:35      34          2684             0                00:00:00:00:00:0
0:00:00:00:00:00:00:00:00:00:00:00:00:00 static
1/1/4/3:8:35      35          2685             0                00:00:00:00:00:0
0:00:00:00:00:00:00:00:00:00:00:00:00:00 static
1/1/4/4:8:35      36          2686             0                00:00:00:00:00:0
0:00:00:00:00:00:00:00:00:00:00:00:00:00 static
1/1/4/5:8:35      37          2687             0                00:00:00:00:00:0
0:00:00:00:00:00:00:00:00:00:00:00:00:00 static
1/1/4/6:8:35      38          2688             0                00:00:00:00:00:0
0:00:00:00:00:00:00:00:00:00:00:00:00:00 static
1/1/4/7:8:35      39          2689             0                00:00:00:00:00:0
0:00:00:00:00:00:00:00:00:00:00:00:00:00 static
port count : 7
================================================================================
解释:本命令中,bridge-port7302根据用户端PVC自动映射的,pvid是强制给用户端不带VLAN信息的帧打上的VLAN Tag标记,default-priorityQoS标记。

2.2  
系统部分
1.
查看板卡状态
isadmin># show equipment slot
============================================================
slot table
============================================================
slot           actual-type enabled error-status           availability
-----------------------------------------------------------------------------
1/1/1          aacu-c      yes     no-error               available
1/1/2          ecnt-a      yes     no-error               available
1/1/3                      no      no-error               not-installed
1/1/4          eblt-a      yes     no-error               available
1/1/5          eblt-a      yes     no-error               available
1/1/6          eblt-a      yes     no-error               available
1/1/7          eblt-a      yes     no-error               available
1/1/8                      no      no-error               not-installed
1/1/9                      no      no-error               not-installed
1/1/10                     no      no-error               not-installed
1/1/11                     no      no-error               not-installed
1/1/12                     no      no-error               not-installed
1/1/13                     no      no-error               not-installed
1/1/14                     no      no-error               not-installed
1/1/15                     no      no-error               not-installed
1/1/16                     no      no-error               not-installed
1/1/17                     no      no-error               not-installed
1/1/18                     no      no-error               not-installed
1/1/19                     no      no-error               not-installed
-----------------------------------------------------------------------------
slot count : 19
============================================================
解释:本命令中,slot是板卡槽位,actual-type是板卡类型,enabled是板卡管理状态,正常情况下为yeserror-status是错误状态,正常情况下为no-error,非正常状态有board-missingboard-mismatch等。availability是板卡启用状态,正常情况下为available,非正常状态有init-failure等,板卡刚启动时显示为in-test

2
.查看NT软件版本
isadmin># show software-mngt oswp
============================================================
oswp table
============================================================
index name                             availability act-status commit-status
-------------------------------------------------------------------------------
1     L6GPAA22.418                     enabled      active     committed
2     NO_OSWP                          empty        not-active un-committed
-------------------------------------------------------------------------------
oswp count : 2
============================================================
解释:本命令中act-statusactive的为当前在用版本。
3
.查看SHUB软件版本
isadmin># show system shub entry version
============================================================
version table
============================================================
           sw-ver-name : LANX
        sw-release-num : 1.0.0.1
                hw-ver : H/WVersion1
                fw-ver : LANX_R2.2.11.1
============================================================
解释:本命令中,SHUB软件版本为R2.2.11.1
2.3  
告警部分
isadmin># show alarm current table
==============================================
table table
==============================================
index      type           last-updated-on
----------------------------------------------
----------------------------------------------
table count : 0
==============================================
解释:查看当前告警,现用本命令查看告警分类,本例中无告警。一般告警分类有:equipment
eqpt-holder
plug-in-unitatmether-itfsw-mgmtxdsltca-xdsleo-conversionauthentication
bonding-groupredundancycustom等。
如要看具体告警内容,需要进一步的命令,如:
isadmin># show alarm current equipment
============================================================
equipment table
============================================================
index      persist-data sntp-comm nt-disk              connection-lost
------------------------------------------------------------------------
------------------------------------------------------------------------
equipment count : 0
============================================================
3
.配置命令
3.1
管理IP地址配置
isadmin># configure system management
isadmin>configure>system>management# info
configure system
#------------------------------------------
echo "system"
#------------------------------------------
management
  host-ip-address manual:222.184.77.225/24
  default-route 222.184.77.1
  exit
exit
#------------------------------------------
如要修改IP地址,可以直接修改。

3.2
线速模板配置
配置线速模板
isadmin># configure xdsl service-profile 1 name 2M-640K-Fast
isadmin>#configure xdsl service-profile 1 min-bitrate-up 64 min-bitrate-down 64 plan-bitrate-up 640 plan-bitrate-down 2048 max-bitrate-up 640 max-bitrate-down 2048 max-delay-up 1 max-delay-down 1 active
配置协议模板
isadmin># configure xdsl spectrum-profile 1 name adsl
isadmin>#configure xdsl spectrum-profile 1 active
默认状态打开如下协议:
协议名称        说明
ansi-t1413        ANSI T1.413-1998
etsi-dts        ETSI DTS/TM06006
g992-1-a        ADSL G.dmt over POTS
g992-1-b        ADSL G.dmt over ISDN
g992-2-a        ADSL G.lite
g992-3-a        ADSL2 over POTS
g992-3-b        ADSL2 over ISDN

      
注:R2.2版本中如果需要打开ADSL2+等协议需要单独定义
R2.2.03
中允许修改Spectrum-Profile
isadmin># configure xdsl spectrum-profile 1 modification start g992-5-a
isadmin>configure>xdsl>spectrum-profile>1# modification complete
附: Multi-ADSL Modes of Operation

G.992.1 ADSL G.dmt
G.992.2 ADSL G.lite
G.992.3 Annex A ADSL2 operation over POTS non-overlapped spectrum
G.992.3 Annex L READSL2 operation over POTS non-overlapped spectrum US masks
G.992.5 Annex A ADSL2+ operation over POTS non-overlapped spectrum
G.992.3 Annex M ADSL2 operation over POTS with extended upstream bandwidth
G.992.5 Annex M ADSL2+ operation over POTS with extended upstream bandwidth


登陆帐号:isadmin
登陆密码  ans#150

端口表示方法:1/1/槽号/端口号
   
1)
查看模板配置命令:
Show>xdsl# info configure xdsl service-profile
2)
查看端口线路模板配置命令:
Show>xdsl# info configure xdsl line 1/1/slot/port
3)
更改端口的模板配置命令:
isadmin>#Configure xdsl line 1/1/slot/port service-profile 1 spectrum-profile 2 admin-up
4)
根据mac查端口
isadmin># Show vlan fdb mac  xx
xxxxxxxxxx
5)
显示所有单板
show equipment slot
6)
查看端口激活情况:
isadmin># show interface port xdsl-line:1/1/4/1 (
单个端口)
isadmin># show interface port xdsl-line:1/1/4/[1...48]
(查看该板卡所有端口)
端口表示方法:1/1/槽号/端口号
   
1
        查看模板配置命令:
Show>xdsl# info configure xdsl service-profile
2)
查看端口线路模板配置命令:
Show>xdsl# info configure xdsl line 1/1/slot/port
3)
更改端口的模板配置命令:
Configure xdsl line 1/1/slot/port service-profile 1 spectrum-profile 2 admin-up
4
根据mac查端口
Show vlan fdb mac  xx
xxxxxxxxxx


显示所有单板:show equipment slot

查看端口激活情况:show atm pvc 1/1/槽号/端口号:0:35
注:当要查看多个端口或槽位时,可用[x…y]表示范围
打死激活端口
lock
端口和unlock端口

1.configure xdsl line  1/1/4/1 no admin-up
2.configure xdsl line  1/1/4/1   admin-up

查看设备配置的速率模板及对应的index号:

isadmin># info configure xdsl service-profile  

查看当前某个端口具体的配置的速率:

isadmin># info configure xdsl  line 1/1/4/1

批量修改端口速率

configure xdsl line 1/1/4/[1...48] service-profile 3 spectrum-profile 1 admin-up

查看当前具体某个端口的状态

isadmin># show interface port xdsl-line:1/1/4/27
======================================================================
port table
======================================================================
port                             admin-status    opr-status
--------------------------------------------------------------------------------
xdsl-line:1/1/4/27              admin-up       down      
--------------------------------------------------------------------------------
port count : 1
======================================================================

举报本楼

您需要登录后才可以回帖 登录 | 注册 |

手机版|C114 ( 沪ICP备12002291号-1 )|联系我们 |网站地图  

GMT+8, 2024-6-9 03:58 , Processed in 0.847492 second(s), 15 queries , Gzip On.

Copyright © 1999-2023 C114 All Rights Reserved

Discuz Licensed

回顶部