# 在AGG上配置VCMP管理域、设备ID和认证密码。
- [AGG] vcmp domain vd1
- [AGG] vcmp device-id server
- [AGG] vcmp authentication sha2-256 password Hello
# 在ACC2上配置VCMP管理域和认证密码。
- [ACC2] vcmp domain vd1
- [ACC2] vcmp authentication sha2-256 password Hello
# 在ACC3上配置VCMP管理域和认证密码。
- [ACC3] vcmp domain vd1
- [ACC3] vcmp authentication sha2-256 password Hello
4. 使能VCMP功能
缺省情况下,接口上的VCMP功能已使能,无需再使能。但为避免VCMP报文影响PC终端,可在Client连接PC终端的接口上去使能VCMP功能。
- [ACC2] interface GigabitEthernet 1/0/2
- [ACC2-GigabitEthernet1/0/2] vcmp disable
- [ACC2-GigabitEthernet1/0/2] quit
- [ACC3] interface GigabitEthernet 1/0/2
- [ACC3-GigabitEthernet1/0/2] vcmp disable
- [ACC3-GigabitEthernet1/0/2] quit
5. 验证配置结果
上述配置完成后,执行display vcmp status命令可以查看VCMP配置信息,包括VCMP管理域域名、设备角色、设备ID、配置序列号和域密码。
以AGG显示为例:
- [AGG] display vcmp status
- VCMP information:
- Domain : vd1
- Role : Server
- Server ID : server
- Configuration Revision : 0x239c0000
- Password : ******
在AGG上通过命令vlanvlan-id创建VLAN10,分别在ACC1~ACC3上执行命令display vlansummary可以看到ACC2和ACC3同步了AGG上VLAN信息,而ACC1上没有同步AGG上的VLAN信息。
- [AGG] vlan 10
- [AGG-vlan10] quit
- [AGG] display vlan summary
- Static vlan:
- Total 2 static vlan.
- 1 10
- Dynamic vlan:
- Total 0 dynamic vlan.
- Reserved vlan:
- Total 0 reserved vlan.
在ACC1上查看
- [ACC1] display vlan summary
- Static vlan:
- Total 1 static vlan.
- 1
- Dynamic vlan:
- Total 0 dynamic vlan.
- Reserved vlan:
- Total 0 reserved vlan
在ACC2上查看
- [ACC2] display vlan summary
- Static vlan:
- Total 2 static vlan.
- 1 10
- Dynamic vlan:
- Total 0 dynamic vlan.
- Reserved vlan:
- Total 0 reserved vlan.
在ACC3上查看
- [ACC3] display vlan summary
- Static vlan:
- Total 2 static vlan.
- 1 10
- Dynamic vlan:
- Total 0 dynamic vlan.
- Reserved vlan:
- Total 0 reserved vlan.
(编辑:源码门户网)
【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!
|