Associating a Set of VLANs to a Primary VLAN
  • 10 Jul 2024
  • 1 Minute to read
  • Contributors
  • PDF

Associating a Set of VLANs to a Primary VLAN

  • PDF

Article summary

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

  1. Enter the global configuration mode.
    your product# configure terminal

  2. Associate 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

  1. 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

  1. 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 }}

  1. 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



Was this article helpful?

Changing your password will log you out immediately. Use the new password to log back in.
First name must have atleast 2 characters. Numbers and special characters are not allowed.
Last name must have atleast 1 characters. Numbers and special characters are not allowed.
Enter a valid email
Enter a valid password
Your profile has been successfully updated.