-
Notifications
You must be signed in to change notification settings - Fork 0
/
dpsk_using_vlan_pool.yml
139 lines (138 loc) · 3.03 KB
/
dpsk_using_vlan_pool.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
Vlan:
- name: VLAN Pool
interface: igb5
tag: 300
autoincrement_ratio: 1
autoincrement_mode: address
Address:
- name: subnet 30.0
vlan: VLAN Pool
span: 1
autoincrement: 64
primary: true
cidr: 30.0.0.1/30
nats:
- Disable NAT on "subnet 30.0"
Nat:
- name: Disable NAT on "subnet 30.0"
addresses:
- subnet 30.0
uplinks:
- Uplink
DhcpPool:
- name: subnet 30.0
start_ip: 30.0.0.2
end_ip: 30.0.0.254
start_reserved: 0
end_reserved: 0
router_host_nth: 0
SwitchPortProfile:
- name: VLAN Pool
radius_authentication: none
switch_ports:
- GigabitEthernet1/1/11
- GigabitEthernet1/1/3
vlans:
- VLAN Pool
Policy:
- name: VLAN Pool Policy
SubnetsFilter:
- name: Block Subnets
policies:
- VLAN Pool Policy
BandwidthQueue:
- name: 100%
upload_bw: 100
upload_bw_unit: "%"
download_bw: 100
download_bw_unit: "%"
priority: 0
rt_upload_bw_unit: Kbps
rt_download_bw_unit: Kbps
burst_upload_bw_unit: Kbps
burst_download_bw_unit: Kbps
sharing: ip
policies:
- VLAN Pool Policy
AccountGroup:
- name: VLAN Pool
policy: VLAN Pool Policy
priority: 4
disable_enhanced_psk_security: true
RadiusServer:
- name: Realm VLAN Pool
reuse_vlans: true
vta_timeout_minutes: 60
vlan_sharing: account
unlimited_vlans_per_csid_mac: true
rank: 0
realm_admission_logic: or
radius_server_attributes:
- Tunnel-Type
- Tunnel-Medium-Type
- Tunnel-Private-Group-Id
- Ruckus-DPSK
- Tunnel-Password
vlans:
- VLAN Pool
policies:
- VLAN Pool Policy
radius_attribute_patterns:
- id: 1
radius_attribute: Called-Station-Id
pattern: vlan-pool
priority: 0
logic: OR
Wlan:
- name: vlan-pool
ssid: vlan-pool
encryption: ccmp
authentication: dpsk
default_vlan: 1
infrastructure_device: vSZ-15
access_point_zone: Enceladus
access_point_profiles:
- default
vlans:
- VLAN Pool
Account:
- login: user7
crypted_password: "$2a$11$JBdoBAazvTb9NyJK2g8HI.mXj9LKIlWyvHkP/pCOw.33UHn0JJKom"
first_name: User
last_name: Seven
email: test7@gmail.com
usage_minutes: 15
no_usage_expiration: true
automatic_login: true
unlimited_usage_mb_up: true
unlimited_usage_mb_down: true
country: US
max_devices: 3
max_sessions: 1
max_dedicated_ips: 0
account_group: VLAN Pool
pre_shared_key: user7-12345678
email_validated: true
max_party_devices: 0
nt_password: 9e8cb3e38c052a6141ad3fc87f0ffa5c
max_sub_accounts: 0
- login: user8
crypted_password: "$2a$11$TTZ/BA3mK7eaz8g/5CznDua6gNPgPTeBz5.RgGUkrGraJJ2eTwo9a"
first_name: User
last_name: Eight
email: test8@gmail.com
usage_minutes: 15
no_usage_expiration: true
automatic_login: true
unlimited_usage_mb_up: true
unlimited_usage_mb_down: true
country: US
max_devices: 3
max_sessions: 1
max_dedicated_ips: 0
account_group: VLAN Pool
pre_shared_key: user8-12345678
email_validated: true
max_party_devices: 0
nt_password: 9e8cb3e38c052a6141ad3fc87f0ffa5c
max_sub_accounts: 0