VLAN Policy
IntersightA VLAN Policy defines the set of Virtual LANs available on a Cisco UCS Fabric Interconnect, including native VLAN designation, private VLAN sharing, and auto-allow behavior on uplinks. It is assigned to domain profiles or domain templates.
Each entry in vlans can represent a single VLAN or a comma-separated list/range of VLAN IDs via vlan_list (e.g. '1-5', '1,3,5', '1-5,10-16', or '1').
Location in Intersight GUI:
Policies » VLAN
Diagram
Section titled “Diagram”Classes
Section titled “Classes”compute
Section titled “compute”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| intersight | Class | intersight | No |
intersight (compute)
Section titled “intersight (compute)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| organizations | List | organizations | No |
organizations (compute.intersight)
Section titled “organizations (compute.intersight)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| policies | Class | policies | No |
policies (compute.intersight.organizations)
Section titled “policies (compute.intersight.organizations)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| vlan | List | vlan | No |
vlan (compute.intersight.organizations.policies)
Section titled “vlan (compute.intersight.organizations.policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_ | Yes | |
| description | String | No | ||
| managed | Boolean | true, false | No | true |
| tags | List | tags | No | |
| vlans | List | vlans | Yes |
tags (compute.intersight.organizations.policies.vlan)
Section titled “tags (compute.intersight.organizations.policies.vlan)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| key | String | Yes | ||
| value | String | No | ||
| type | Choice | KeyValue, PathTag | No |
vlans (compute.intersight.organizations.policies.vlan)
Section titled “vlans (compute.intersight.organizations.policies.vlan)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_ | Yes | |
| vlan_list | String | Yes | ||
| native_vlan | Boolean | true, false | No | false |
| auto_ | Boolean | true, false | No | true |
| sharing_type | Choice | None, Primary, Isolated, Community | No | None |
| primary_vlan_id | Integer | min: 0, max: 4093 | No | 0 |
| multicast_ | String | No |
Examples
Section titled “Examples”Example-1: Configure a VLAN policy with a native VLAN and a range of allowed VLANs, with environment tags.
compute: intersight: organizations: - name: MyOrg policies: vlan: - name: MyVlanPolicy tags: - key: env value: prod vlans: - name: Native vlan_list: '1' native_vlan: true - name: Data vlan_list: '100-110'Example-2: Configure a VLAN policy with a private VLAN pair — a primary VLAN and an isolated secondary VLAN.
compute: intersight: organizations: - name: MyOrg policies: vlan: - name: MyPrivateVlanPolicy vlans: - name: Primary vlan_list: '200' sharing_type: Primary - name: Isolated vlan_list: '201' sharing_type: Isolated primary_vlan_id: 200