一:交换机操作指引
接入交换机更改设备名:
e.g:
sys
Enter system view, return to user view with Ctrl+Z.
[Quidway]sysname huawei //更改设备名
[huawei]
端口基础设置:
e.g:
[huawei]interface Ethernet 0/24
[huawei-Ethernet0/24]speed 100 //100M
[huawei-Ethernet0/24]duplex full //全双工
[huawei-Ethernet0/24]
端口vlan属性设置:
e.g:
[huawei-Ethernet0/24]port access vlan 100
//设置e0/24为access口。
[huawei-Ethernet0/24]port link-type trunk
//设置e0/24为trunk口。
[huawei-Ethernet0/24]undo port trunk permit vlan 1
Please wait... Done.
//设置e0/24不允许vlan1通过,必设!
[huawei-Ethernet0/24]port trunk permit vlan 100
Please wait... Done.
//设置e0/24允许相应的vlan通过。
定义vlan:
e.g:
[huawei]vlan 100
[huawei-vlan100]
定义交换机管理地址:
[huawei]interface Vlan-interface 100
[huawei-Vlan-interface100]ip address 192.168.44.174 255.255.255.240 //定义地址
定义网管路由:
[huawei]ip route-static 0.0.0.0 0.0.0.0 192.168.44.161
二:dslam操作指引:
更改设备名:
e.g:
更改系统名称为HUAWEI。
huawei(config)#system name
(s[49]): HUAWEI
>Are you sure to modify system name ? (y/n) [n] : y
Modify system name successfully.
HUAWEI(config)#
网管配置:
步骤1、设置ATM接口IP地址:
MA5100(config)#atmlan ip-address
{ethernet,atm}:atm
:10.15.120. 1
:255.255.255.0
Set successfully
查询命令
MA5100#show atmlan ip-address atm
步骤2、设置到对端设备的PVC连接
MA5100(config)#pvc nms
{ipoa,1483b}:1483b
{llc,vc}:llc
{}{32-63}:33
{atm,adsl,lan,fr,ces-sdt,ces-uni,ces-udt,ces-v35,nms,aiu}:lan
{(0)/(0-6)or(9-15)}:0/15
{1-64}:20
{on,off}[off]:on
{1-5000}:1
{1-5000}:1
Add NMS PVC successfully, CID = 1.
步骤3、设置路由
MA5100(config)#atmlan ip-route
:10.13.1.0
:255.255.255.0
:10.15.120.254
Add successfully
查询命令
MA5100#show atmlan ip-route
步骤4、设置防火墙
1、增加可接受IP地址
MA5100(config)#atmlan ip-access
:10.13.1.1
:10.13.1.16
:255.255.255.0
Add acceptable IP address successfully.
2、增加拒绝接受IP地址
MA5100(config)#atmlan ip-refuse
:10.13.1.10
:10.13.1.20
:255.255.255.0
Adding refused IP range may effect connection,Are you sure?(y/n) [n]:y
Add refused IP address successfully.
步骤5、增加网管工作站
MA5100(config)#nms name
(<16 chars):huawei
:10.13.1.5
(<32 chars)[public]:public
(<32 chars)[private]:private
{1-65535}[162]:162
{in-band,out-band}:in-band
MA5100(config)#nms activate
{}:
{}(<16 chars):huawei
业务vlan更该:
huawei(config-LAN-0/4)#vlan add
{general,region}:general
{1-4095}:10
{0x1-0xff or b00000001-b11111111}:0x11
Add VLAN successfully.
建立pvc到业务vlan
huawei(config)#multi-pvc adsl 0/4 0xFFFFFFFF //8个F
{region,vpi}:region
{adsl,lan}:lan
{(0)/(0-15)}:0/7
{vlanId,anyvlanId}:vlanid
{1,4095}:10 // 业务vlan,需要查名是那一个vlan,
{both,up,down,off}[off]:off
{0-7}{off}[off]:off
{1-512}:1
{1-512}:1
建好后需要更改线路激活模版
huawei(config)#show board 0/3
Frame Slot Type State No.1 SubBoardtype No.2 SubBoardtype
----- ----- -------- -------------- ------------------- -------------------
0 3 ADCE Normal - -
----- ----- -------- -------------- ------------------- -------------------
Activate Alarm ext-Activate
Port State VPI(PVC) Profile Profile Profile
---- ------------- ------------- -------- -------- ------------
0 Activating 8 2 1 -
1 Activating 8 2 1 -
2 Activating 8 2 1 -
3 Activating 8 2 1 -
4 Activating 8 2 1 -
5 Activating 8 2 1 - //可以得知,原业务的线路激活模板为2
Huang_Jiang_Xin_Shi_MA5100(config)#interface adsl 0/4
Huang_Jiang_Xin_Shi_MA5100(config-ADSL-0/4)# deactivate all
Huang_Jiang_Xin_Shi_MA5100(config-ADSL-0/4)#
Huang_Jiang_Xin_Shi_MA5100(config-ADSL-0/4)#activate all
[]{1-102}:2
Port 0: Command send successfully.
Port 1: Command send successfully.
Port 2: Command send successfully.
阅读(1588) | 评论(0) | 转发(0) |