diff options
Diffstat (limited to 'inventory/host_vars/ch-sw0.yml')
-rw-r--r-- | inventory/host_vars/ch-sw0.yml | 39 |
1 files changed, 24 insertions, 15 deletions
diff --git a/inventory/host_vars/ch-sw0.yml b/inventory/host_vars/ch-sw0.yml index 9bbfa636..02e56259 100644 --- a/inventory/host_vars/ch-sw0.yml +++ b/inventory/host_vars/ch-sw0.yml @@ -8,46 +8,55 @@ switch_interfaces_yaml: | description: "RFU" switchport_mode: trunk - - spec: range Te1/0/3-4 - vlan: {{ network_zones['lan'].vlan }} + - spec: Te1/0/3 + description: "equinox-ws" + switchport_mode: general + pvid: {{ network_zones.lan.vlan }} + allowed_vlans_untagged: + - {{ network_zones.lan.vlan }} + allowed_vlans_tagged: + - {{ network_zones.mgmt.vlan }} + + - spec: Te1/0/4 + vlan: {{ network_zones.lan.vlan }} - spec: range Gi1/0/5-16 - vlan: {{ network_zones['lan'].vlan }} + vlan: {{ network_zones.lan.vlan }} - spec: range Gi1/0/17-18 description: "ap" switchport_mode: general tagged_only: true allowed_vlans_tagged: - - {{ network_zones['mgmt'].vlan }} - - {{ network_zones['lan'].vlan }} - - {{ network_zones['iot'].vlan }} + - {{ network_zones.mgmt.vlan }} + - {{ network_zones.lan.vlan }} + - {{ network_zones.iot.vlan }} - spec: range Gi1/0/19-22 - vlan: {{ network_zones['iot'].vlan }} + vlan: {{ network_zones.iot.vlan }} - spec: Gi1/0/23 - vlan: {{ network_zones['svc'].vlan }} + vlan: {{ network_zones.svc.vlan }} - spec: Gi1/0/24 - vlan: {{ network_zones['magenta'].vlan }} + vlan: {{ network_zones.magenta.vlan }} - spec: Gi1/0/25 switchport_mode: general tagged_only: true allowed_vlans_tagged: - - {{ network_zones['lan'].vlan }} - - {{ network_zones['svc'].vlan }} + - {{ network_zones.lan.vlan }} + - {{ network_zones.svc.vlan }} - spec: Gi1/0/26 switchport_mode: general tagged_only: true allowed_vlans_tagged: - - {{ network_zones['magenta'].vlan }} + - {{ network_zones.magenta.vlan }} - spec: Gi1/0/27 switchport_mode: general tagged_only: true allowed_vlans_tagged: - - {{ network_zones['mgmt'].vlan }} - - {{ network_zones['iot'].vlan }} + - {{ network_zones.mgmt.vlan }} + - {{ network_zones.iot.vlan }} - spec: Gi1/0/28 - vlan: {{ network_zones['mgmt'].vlan }} + vlan: {{ network_zones.mgmt.vlan }} |