一、串口参数设置
串口参数如图所示:波特率9600bit/s、8位数据位、1位停止位、无校验和无流控。
二、设备进入配置视图并重置设备配置
12
3
4
5
6
7
8
9
10
11
|
username:root
password:mduadmin
#输入密码的时候不显示内容,输入完按回车即可
ma5626>enable
#进入用户视图
ma5626#config
#进入配置视图,下面参数配置都在该视图下
ma5626(config)#erase flash data
#回车后选择y,然后重启设备输入
ma5626(config)reboot system
#输入y确定重启即可,重启后里面的数据会被清空,恢复到出厂默认配置。置
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
MA5626(config)#
#配置需要在config视图下配置
VLAN 1 smart
#创建VLAN
vlan service-profile profile-id 1
#创建服务模板
vlan bind service-profile 1 profile-id 1
#绑定服务模板
ervice-port vlan 1 eth 0/1/1 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/2 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/3 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/4 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/5 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/6 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/7 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/8 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/9 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/10 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/11 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/12 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/13 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/14 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/15 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/16 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/17 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/18 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/19 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/20 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/21 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/22 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/23 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/24 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
#端口绑定vlan并剥离标签
undo isolate port 0/1/1
undo isolate port 0/1/2
undo isolate port 0/1/3
undo isolate port 0/1/4
undo isolate port 0/1/5
undo isolate port 0/1/6
undo isolate port 0/1/7
undo isolate port 0/1/8
undo isolate port 0/1/9
undo isolate port 0/1/10
undo isolate port 0/1/11
undo isolate port 0/1/12
undo isolate port 0/1/13
undo isolate port 0/1/14
undo isolate port 0/1/15
undo isolate port 0/1/16
undo isolate port 0/1/17
undo isolate port 0/1/18
undo isolate port 0/1/19
undo isolate port 0/1/20
undo isolate port 0/1/21
undo isolate port 0/1/22
undo isolate port 0/1/23
undo isolate port 0/1/24
#取消端口用户隔离,新设备不需要配置该命令V800R308产品分为新老架构,新架构是指采用SD5103芯片的设备
port mode 0/0/1 ge
port mode 0/0/2 ge #指定1,2光口为GE模式。然后把业务口透传到光口,
port vlan 1 0/0 1 #以太网口 vlan1 透传到上行口1
port vlan 1 0/0 2 #以太网口 vlan1 透传到上行口2
#配置光口上联
save
#保存配置
|
四、MA5626设备配置
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
MA5626(config)#
#配置需要在config视图下配置
VLAN 1 smart
#创建VLAN
vlan service-profile profile-id 1
user-bridging enable
#服务模板下开启用户互通
commit
vlan bind service-profile 1 profile-id 1
#vlan与服务模板绑定
ervice-port vlan 1 eth 0/1/1 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/2 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/3 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/4 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/5 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/6 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/7 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/8 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/9 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/10 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/11 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/12 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/13 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/14 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/15 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/16 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/17 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/18 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/19 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/20 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/21 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/22 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/23 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
service-port vlan 1 eth 0/1/24 multi-service user-vlan untagged rx-cttr 6 tx-cttr 6
#端口绑定vlan并剥离标签
port mode 0/0/1 ge
port mode 0/0/2 ge #指定1,2光口为GE模式。然后把业务口透传到光口,
port vlan 1 0/0 1 #以太网口 vlan1 透传到上行口1
port vlan 1 0/0 2 #以太网口 vlan1 透传到上行口2
#配置光口上联
save
#保存配置
|
五、开启POE设备供电
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
MA5626(config)#
interface eth 0/1
poe power-management auto
poe temperature-protection
#开启设备自动POE供电功能
port 1 enable mode signal priority critical max-power 30000
port 2 enable mode signal priority critical max-power 30000
port 3 enable mode signal priority critical max-power 30000
port 4 enable mode signal priority critical max-power 30000
port 5 enable mode signal priority critical max-power 30000
port 6 enable mode signal priority critical max-power 30000
port 7 enable mode signal priority critical max-power 30000
port 8 enable mode signal priority critical max-power 30000
#开启端口最大供电功率30W,避免因为供电设备没办法启动
|