user: isadmin
password: ans#150 i$@mad-
configure system sntp no enable
configure system management no default-route
configure system management host-ip-address manual:200.230.154.22/24
configure system management default-route 200.230.154.1
configure system mgnt-vlan-id 32
configure system shub entry vlan ext-vlan-id 32
configure interface shub vlan-id 32 admin-status down
configure interface shub ip 32 no ip-addr 200.224.76.47/24
configure interface shub ip 32 ip-addr 200.230.118.26/24
configure interface shub vlan-id 32 admin-status up
telnet shub
root
admin123
/# cd vrf0
/vrf0# ip route add 0.0.0.0 0.0.0.0 200.230.154.1
ping 200.225.62.1
关于7302ISAM某些节点端口速率无法采集的问题
在采集不到的节点上加以下命令后,及可采集。
configure interface shub port 1 port-type network
configure interface shub port 1 admin-status auto-up
configure interface shub port 1 mode 1gbps:full
configure system security snmp community public host-address 0.0.0.0/0
configure xdsl line 1/1/10/[1...48] service-profile 7 spectrum-profile 1 admin-up
admin software-mngt shub database save
telnet shub
/# show iss system group
configure system sntp no enable 消除MAJ告警
configure alarm entry board-reset-cf no reporting 消除拔掉用户板后告警,先做这条然后拔板,再做power-down
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指端口的类型,主要有:network、subtending、user等,unused表示没有配置任何类型。
本命令中,duplex指端口工作模式,主要有:full、half
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 port,vlan-id指用户端口绑定的vlan号,mac指7302学习到的用户PC的Mac地址,该Mac地址只要用户打开PC,Modem同步后即能学习到。
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-port是7302根据用户端PVC自动映射的,pvid是强制给用户端不带VLAN信息的帧打上的VLAN Tag标记,default-priority是QoS标记。
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是板卡管理状态,正常情况下为yes;error-status是错误状态,正常情况下为no-error,非正常状态有board-missing、board-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-status为active的为当前在用版本。
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-unit、atm、ether-itf、sw-mgmt、xdsl、tca-xdsl、eo-conversion、authentication
、bonding-group、redundancy、custom等。
如要看具体告警内容,需要进一步的命令,如:
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:xx:xx:xx:xx:xx
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:xx:xx:xx:xx:xx
显示所有单板: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
======================================================================