- Print
- PDF
Associating a Set of VLANs to a Primary VLAN
This article describes the association of the VLANs with a Primary VLAN. The scope of the VLAN association is limited to ECFM entities only.
CLI Configurations
To associate a set of VLANs to a Primary VLAN
Enter the global configuration mode.
your product# configure terminalAssociate a list of VLAN IDs to a Primary VLAN.
your product(config)# ethernet cfm associate vlan-id 1,2,3 primary-vlan-id 7.
To disassociate VLANs from a Primary VLAN
- Enter into the global configuration mode and delete the mapping of a list of VLAN IDs with a primary VLAN.
your product(config)# no ethernet cfm associate vlan-id 2,3 primary-vlan-id 7.
Note: One VLAN cannot be associated with more than one Primary VLAN only.
VLAN and Primary VLAN cannot be the same.
SNMP Configurations
- Associate a set of VLANs 1,2,3 to a Primary VLAN 7
[Index: ContextID = 0, VlanId = 1]
% snmp0 set {{fsMIEcfmVlanRowStatus.0.1 createAndWait }}
% snmp0 set {{fsMIEcfmVlanPrimaryVid.0.1 7 }}
% snmp0 set {{fsMIEcfmVlanRowStatus.0.1 active }}
[Index: ContextID = 0, VlanId = 2]
% snmp0 set {{fsMIEcfmVlanRowStatus.0.2 createAndWait }}
% snmp0 set {{fsMIEcfmVlanPrimaryVid.0.2 7}}
% snmp0 set {{fsMIEcfmVlanRowStatus.0.2 active }}
[Index: ContextID = 0, VlanId = 3]
% snmp0 set {{fsMIEcfmVlanRowStatus.0.3 createAndWait }}
% snmp0 set {{fsMIEcfmVlanPrimaryVid.0.3 7 }}
% snmp0 set {{fsMIEcfmVlanRowStatus.0.3 active }}
- Disassociate VLANs 2 and 3 from a Primary VLAN 7.
[Index: ContextID = 0, VlanId = 2]
% snmp0 set {{fsMIEcfmVlanRowStatus.0.2 destroy }}
[Index: ContextID = 0, VlanId = 3]
% snmp0 set {{fsMIEcfmVlanRowStatus.0.3 destroy }}
© 2024 Cisco and/or its affiliates. All rights reserved.
For more information about trademarks, please visit: Cisco trademarks
For more information about legal terms, please visit: Cisco legal terms
For legal information about Accedian Skylight products, please visit: Accedian legal terms and tradmarks