Defining VLAN port-membership settings
You can add physical ports and port channels to one or more (for trunk) VLANs using the VLAN Port Membership Configuration template.
Procedure
Complete the following steps to create a Port Membership Configuration template.
- From the XClarity Administrator menu bar, click Provisioning > Switch Configuration Templates. The Switch Configuration Templates page is displayed.
- Click VLAN > Port Membership Configuration in the left navigation, and then click the Create icon ().
- In the Create New Template dialog, specify the following information.ImportantYou must specify one or more physical L2 interfaces or port channel IDs.
Enter a name and description for the template.
Specify one or more valid physical L2 interfaces. You can specify a list of interfaces separated by a comma, a range of IDs separated by a dash, or a combination of both, for example:
Ethernet1/10
Ethernet1/3,5,7,9
Ethernet1/5-10,21-32
Ethernet2/2-5,7,9,11-13
Specify one or more valid port channel IDs (port aggregator interfaces). You can specify a list of numbers separated by a comma, a range of numbers separated by a dash, or a combination of both. The values and ranges can be numbers from 1-4096, for example:
10
3,5,7,9
5-10,21-32
2-5,7,9,11-13
Choose whether the port accepts tagged or untagged traffic. This can be one of the following values.
access. The port carries traffic for a single VLAN.
trunk. (default) The port carries traffic for all VLANs that are accessible by the switch.
Specify one or more VLAN IDs to add to the port's VLAN membership list. You can specify a list of numbers separated by a comma, a range of numbers separated by a dash, or a combination of both. The values and ranges can be numbers from 1-4096, for example:
10
3,5,7,9
5-10,21-32
2-5,7,9,11-13
NoteIf the port mode is set to
access,
only the first VLAN ID is used. For example, in the range 2-4,5,10-20, only 2 is used.CNOS reserves VLAN IDs 4000-4095 by default. Using reserved VLAN IDs (either by CNOS or another user) might cause the switch-configuration deployment to fail.
Specify a native VLAN ID with which untagged traffic is tagged. This can be a number from 1-4096.
NoteThis field is valid only when the port mode is set to
trunk.
If it is not specified, or if the ID is outside the end-state VLANs on a port, the port will effectively not allow untagged traffic.
Select Create VLANs to create VLAN IDs that are currently missing on the target switch.
If a port belongs in a VLAN that is not created, the port continues to be a member of that VLAN, but any traffic that is tagged with that VLAN ID and reaches the port is not allowed to pass.
- Click Create to save the template, or click Create and Deploy to save and immediately deploy the template to one or more managed rack switches.
For information about deploying a template, see Deploying switch-configuration templates to a target switch