[SwitchA-um] interface fabric-port 1
[SwitchA-um-fabric-port-1] port member-group interface eth-trunk 1 [SwitchA-um-fabric-port-1] quit [SwitchA-um] quit
[SwitchA] interface gigabitethernet 1/1/0/1 [SwitchA-GigabitEthernet1/1/0/1] eth-trunk 1 [SwitchA-GigabitEthernet1/1/0/1] quit [SwitchA] interface gigabitethernet 2/1/0/1 [SwitchA-GigabitEthernet2/1/0/1] eth-trunk 1 [SwitchA-GigabitEthernet2/1/0/1] quit
# 配置Parent连接as2的Fabric-port。
[SwitchA] uni-mng
[SwitchA-um] interface fabric-port 2
[SwitchA-um-fabric-port-2] port member-group interface eth-trunk 2 [SwitchA-um-fabric-port-2] quit [SwitchA-um] quit
[SwitchA] interface gigabitethernet 1/1/0/2 [SwitchA-GigabitEthernet1/1/0/2] eth-trunk 2 [SwitchA-GigabitEthernet1/1/0/2] quit [SwitchA] interface gigabitethernet 2/1/0/2 [SwitchA-GigabitEthernet2/1/0/2] eth-trunk 2 [SwitchA-GigabitEthernet2/1/0/2] quit
# 配置Parent连接as3的Fabric-port。
[SwitchA] uni-mng
[SwitchA-um] interface fabric-port 3
[SwitchA-um-fabric-port-3] port member-group interface eth-trunk 3 [SwitchA-um-fabric-port-3] quit [SwitchA-um] quit
[SwitchA] interface gigabitethernet 1/1/0/3 [SwitchA-GigabitEthernet1/1/0/3] eth-trunk 3 [SwitchA-GigabitEthernet1/1/0/3] quit [SwitchA] interface gigabitethernet 2/1/0/3 [SwitchA-GigabitEthernet2/1/0/3] eth-trunk 3 [SwitchA-GigabitEthernet2/1/0/3] quit
# 配置as1连接as4,as3连接as5的Fabric-port。
[SwitchA] uni-mng
[SwitchA-um] as name as1
[SwitchA-um-as-as1] down-direction fabric-port 4 member-group interface eth-trunk 4
[SwitchA-um-as-as1] port eth-trunk 4 trunkmember interface gigabitethernet 0/0/23 to 0/0/24 [SwitchA-um-as-as1] quit [SwitchA-um] as name as3
[SwitchA-um-as-as3] down-direction fabric-port 5 member-group interface eth-trunk 5
[SwitchA-um-as-as3] port eth-trunk 5 trunkmember interface gigabitethernet 0/0/23 to 0/0/24 [SwitchA-um-as-as3] quit [SwitchA-um] quit
# 配置AS上线接入时进行白名单认证。
[SwitchA] as-auth
[SwitchA-as-auth] undo auth-mode
[SwitchA-as-auth] whitelist mac-address 0200-0000-0011 [SwitchA-as-auth] whitelist mac-address 0200-0000-0022 [SwitchA-as-auth] whitelist mac-address 0200-0000-0033 [SwitchA-as-auth] whitelist mac-address 0200-0000-0044 [SwitchA-as-auth] whitelist mac-address 0200-0000-0055 [SwitchA-as-auth] quit
清空AS的配置并重新启动后,连接一级AS与Parent、二级AS与一级AS之间的线缆,SVF即可建立。AS连接Parent时要求必须为空配置(无启动配置文件)且Console口无输入。
# 连接线缆后,执行命令display as all查看各AS是否成功上线接入。
[SwitchA] display as all
Total: 5, Normal: 5, Fault: 0, Idle: 0, Version mismatch: 0 --------------------------------------------------------------------------------
No. Type MAC IP State Name --------------------------------------------------------------------------------
0 S5700-P-LI 0200-0000-0011 192.168.11.254 normal as1 1 S5700-P-LI 0200-0000-0022 192.168.11.253 normal as2 2 S5700-P-LI 0200-0000-0033 192.168.11.252 normal as3 3 S2750-EI 0200-0000-0044 192.168.11.251 normal as4 4 S2750-EI 0200-0000-0055 192.168.11.250 normal as5 --------------------------------------------------------------------------------
当“State”的状态为“normal”时表示AS已成功上线接入。
# 执行命令display uni-mng topology information查看SVF拓扑信息。
[SwitchA] display uni-mng topology information The topology information of uni-mng network:
<-->: direct link ?>: indirect link T: Trunk ID
------------------------------------------------------------------------------
Local MAC Hop Local Port T || T Peer Port Peer MAC ------------------------------------------------------------------------------
0500-0000-1100 0 GE1/1/0/1 1 <-->0 GE0/0/27 0200-0000-0011 0500-0000-1100 0 GE2/1/0/1 1 <-->0 GE0/0/28 0200-0000-0011 0500-0000-1100 0 GE1/1/0/2 2 <-->0 GE0/0/27 0200-0000-0022 0500-0000-1100 0 GE2/1/0/2 2 <-->0 GE0/0/28 0200-0000-0022 0500-0000-1100 0 GE1/1/0/3 3 <-->0 GE0/0/27 0200-0000-0033 0500-0000-1100 0 GE2/1/0/3 3 <-->0 GE0/0/28 0200-0000-0033 0200-0000-0011 1 GE0/0/23 4 <-->0 GE0/0/1 0200-0000-0044 0200-0000-0011 1 GE0/0/24 4 <-->0 GE0/0/2 0200-0000-0044 0200-0000-0033 1 GE0/0/23 5 <-->0 GE0/0/1 0200-0000-0055 0200-0000-0033 1 GE0/0/24 5 <-->0 GE0/0/2 0200-0000-0055 ------------------------------------------------------------------------------ Total items displayed : 10
# 执行命令display uni-mng upgrade-info verbose查看所有AS的版本信息。
[SwitchA] display uni-mng upgrade-info verbose The total number of AS is : 5
---------------------------------------------------------------------------- AS name : as1
Work status : NO-UPGRADE Startup system-software : flash:/s5700-p-li.cc Startup version : V200R008C00 Startup patch : -- Next startup system-software : -- Next startup patch : -- Download system-software : -- Download version : -- Download patch : -- Method : -- Upgrading phase : -- Last operation result : -- Error reason : -- Last operation time : --
---------------------------------------------------------------------------- AS name : as2
Work status : NO-UPGRADE Startup system-software : flash:/s5700-p-li.cc Startup version : V200R008C00 Startup patch : --
Next startup system-software : -- Next startup patch : -- Download system-software : -- Download version : -- Download patch : -- Method : -- Upgrading phase : -- Last operation result : -- Error reason : -- Last operation time : --
---------------------------------------------------------------------------- AS name : as3
Work status : NO-UPGRADE Startup system-software : flash:/s5700-p-li.cc Startup version : V200R008C00 Startup patch : -- Next startup system-software : -- Next startup patch : -- Download system-software : -- Download version : -- Download patch : -- Method : -- Upgrading phase : -- Last operation result : -- Error reason : -- Last operation time : --
---------------------------------------------------------------------------- AS name : as4
Work status : NO-UPGRADE Startup system-software : flash:/s2750-ei.cc Startup version : V200R008C00 Startup patch : -- Next startup system-software : -- Next startup patch : -- Download system-software : -- Download version : -- Download patch : -- Method : -- Upgrading phase : -- Last operation result : -- Error reason : -- Last operation time : --
---------------------------------------------------------------------------- AS name : as5
Work status : NO-UPGRADE Startup system-software : flash:/s2750-ei.cc Startup version : V200R008C00 Startup patch : -- Next startup system-software : -- Next startup patch : -- Download system-software : -- Download version : -- Download patch : -- Method : -- Upgrading phase : -- Last operation result : -- Error reason : -- Last operation time : --
----------------------------------------------------------------------------
配置业务模板并绑定至AS。
# 配置AS管理员模板并绑定至所有的AS。
[SwitchA] uni-mng
[SwitchA-um] as-admin-profile name admin_profile
[SwitchA-um-as-admin-admin_profile] user asuser password hello@123 [SwitchA-um-as-admin-admin_profile] quit [SwitchA-um] as-group name admin_group
[SwitchA-um-as-group-admin_group] as name-include as
[SwitchA-um-as-group-admin_group] as-admin-profile admin_profile [SwitchA-um-as-group-admin_group] quit
# 配置网络基础模板并绑定至AS的端口。
[SwitchA-um] network-basic-profile name basic_profile_1 [SwitchA-um-net-basic-basic_profile_1] user-vlan 10 [SwitchA-um-net-basic-basic_profile_1] quit
[SwitchA-um] network-basic-profile name basic_profile_2 [SwitchA-um-net-basic-basic_profile_2] user-vlan 20 [SwitchA-um-net-basic-basic_profile_2] quit [SwitchA-um] port-group name port_group_1
[SwitchA-um-portgroup-port_group_1] as name as1 interface all
[SwitchA-um-portgroup-port_group_1] as name as2 interface gigabitethernet 0/0/1 to 0/0/23 //GigabitEthernet 0/0/24用于连接AP
[SwitchA-um-portgroup-port_group_1] as name as4 interface all
[SwitchA-um-portgroup-port_group_1] network-basic-profile basic_profile_1