EWC clonning WLAN, Role etc configurations.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎12-15-2016 04:19 AM
Hi,
I need to create more than 10 auth and non auth roles and about 6 more WLAN services. They will be exacly same with one of the existing role and WLAN. I only need to change the topology settings (for different vlans). Unfortunately there is no option for clonning existing configs.
So can I dump the configurations via CLI then copy-edit-paste them for creating the needed roles and WLAN services? If it is possible can you share some code as I never used EWC CLI?
Thanks,
Rahman
I need to create more than 10 auth and non auth roles and about 6 more WLAN services. They will be exacly same with one of the existing role and WLAN. I only need to change the topology settings (for different vlans). Unfortunately there is no option for clonning existing configs.
So can I dump the configurations via CLI then copy-edit-paste them for creating the needed roles and WLAN services? If it is possible can you share some code as I never used EWC CLI?
Thanks,
Rahman
9 REPLIES 9
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎12-15-2016 02:41 PM
I would do it over WebGui.
You never know what you maybe miss if doing it over CLI and I don't think it will be faster?!
Yes..C4 for cloning feature.
You never know what you maybe miss if doing it over CLI and I don't think it will be faster?!
Yes..C4 for cloning feature.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎12-15-2016 02:41 PM
Well, it was actually a lot faster. Problem is not creating the roles via GUI. Problem is writing maybe 10-15 filter rule per role which are all the same for all roles. This is way faster with cloning or in this situation copy-edit-paste via CLI.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎12-15-2016 12:22 PM
A "Duplicate Role and Rename" feature would be useful. I will second that! Several times I find myself wanting to do this.. I had the capability when I was using Policy Manager for Wireless, but I haven't used PM for wireless in a while. Maybe I should revisit that.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎12-15-2016 12:03 PM
Ok, I got it working. The trick was to set topology-name at the end and use "Apply" command. Here is the working codes:
rolecreate "acu-savsat-unauth"
"acu-savsat-unauth"
filter-status enable
ulfilterap enable
apcustom disable
name "acu-savsat-unauth"
default-cos no-change
access-control contain2vlan
traffic-mirror none
topology-name "B@EWC(vlan67)"
apply
acfilters
create 1 proto any eth 800 mac any interface-ip in dst out src allow priority none tos-dscp none cos none traffic-mirror none
create 2 proto udp eth 800 mac any 0.0.0.0/0 port 68 in dst out src allow priority none tos-dscp none cos none traffic-mirror none
create 3 proto udp eth 800 mac any 0.0.0.0/0 port 53 in dst out src allow priority none tos-dscp none cos none traffic-mirror none
create 4 proto udp eth 800 mac any 0.0.0.0/0 port 67 in dst out src allow priority none tos-dscp none cos none traffic-mirror none
apply
Thanks,
Rahman
rolecreate "acu-savsat-unauth"
"acu-savsat-unauth"
filter-status enable
ulfilterap enable
apcustom disable
name "acu-savsat-unauth"
default-cos no-change
access-control contain2vlan
traffic-mirror none
topology-name "B@EWC(vlan67)"
apply
acfilters
create 1 proto any eth 800 mac any interface-ip in dst out src allow priority none tos-dscp none cos none traffic-mirror none
create 2 proto udp eth 800 mac any 0.0.0.0/0 port 68 in dst out src allow priority none tos-dscp none cos none traffic-mirror none
create 3 proto udp eth 800 mac any 0.0.0.0/0 port 53 in dst out src allow priority none tos-dscp none cos none traffic-mirror none
create 4 proto udp eth 800 mac any 0.0.0.0/0 port 67 in dst out src allow priority none tos-dscp none cos none traffic-mirror none
apply
Thanks,
Rahman
