The vcmp role command configures a role for a switch in a VCMP domain.
The undo vcmp role command restores the default role of a switch in a VCMP domain.
By default, switches in a VCMP domain are VCMP clients.
Parameter | Description | Value |
---|---|---|
client | Indicates the client role in a VCMP domain. As a managed role, a VCMP client synchronizes VLAN information with the VCMP server. After the VCMP server is specified on a Layer 2 network, VCMP clients in the same domain learn VLAN information in VCMP packets from the VCMP server and synchronize the VLAN information. You can create and delete VLAN information on VCMP clients. Local VLAN information on VCMP clients, however, are overwritten by VLAN information synchronized from the VCMP server. |
- |
server | Indicates the server role in a VCMP domain. You can create and delete VLAN information on the VCMP server. The VCMP server synchronizes VLAN information to other switches in the local VCMP domain by sending VCMP packets. |
- |
silent | Indicates the silent role in a VCMP domain. Deployed at the edge of a VCMP domain, a VCMP silent switch prevents VCMP packets in a VCMP domain from being transmitted to other VCMP domains, saving unnecessary costs of devices in other VCMP domains. A VCMP silent switch directly discards received VCMP packets. |
- |
transparent | Indicates the transparent role in a VCMP domain. A VCMP transparent switch does not affect other switches in the local VCMP domain and is not affected by VCMP management behaviors such as VLAN creation and deletion. The VCMP transparent switch transparently forwards VCMP packets. Only trunk or hybrid interfaces in VLAN 1 can receive and forward VCMP packets. VLANs created and deleted on a VCMP transparent switch are not synchronized to other switches. |
- |
Usage Scenario
VLANs created and deleted on the VCMP server are synchronized to VCMP clients in the local VCMP domain by sending VCMP packets.
You can run the vcmp role command to set roles of switches in a VCMP domain.
Precautions
After a switch is upgraded from a version earlier than V200R005C00 to V200R005C00 or a later version, the role of the switch is silent.