cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
112
Views
0
Helpful
2
Replies

AP name change via NETCONF

foelsch
Community Member

Hello,

We are running 9800 controllers on software 17.12.4 and plan to use NETCONF for automatic setup.
However we could not figure out so far how to change the names of access points.
Is this even supported? Or only in a later release perhaps?

Thanks for your help!

2 Replies 2

Rich R
VIP
VIP

@foelsch 
https://github.com/YangModels/yang/blob/main/vendor/cisco/xe/17121/Cisco-IOS-XE-wireless-access-point-cfg-rpc.yang
grouping set-ap-name {
description
"Configure a new AP name";
leaf name {
type string {
length "1..32";
pattern '[!-~]+';
}
mandatory true;
description
"New AP name";
}
choice alternative-choice {
mandatory true;
description
"AP name or AP MAC address";
case ap-identifier-name {
leaf ap-name {
type string;
mandatory true;
description
"Existing name of AP to be renamed";
}
}
case ap-identifier-mac-address {
leaf mac-addr {
type yang:mac-address;
mandatory true;
description
"MAC address of AP to be renamed";
}
}
}
}

You can check the result via: https://github.com/YangModels/yang/blob/main/vendor/cisco/xe/17121/Cisco-IOS-XE-wireless-access-point-oper.yang
grouping ap-name-mac-map {
description
"Mapping between AP name and base radio MAC";
leaf wtp-name {
type string;
description
"AP Name";
}

Saikat Nandy
Cisco Employee
Cisco Employee

Although I could not able to understand the exact requirement of yours or what is the ultimate goal, but here is one thing that I can suggest you to test (and most likely will work).
If you are managing the controller via Cat Centre, then you can use CLI template which can be pushed to the controller during provisioning. So add the commands to change the AP hostname (ap name <existing name> name <new name>) into a CLI template and push it to the controller.

Review Cisco Networking for a $25 gift card