cnPilot APs can learn and install gateway from multiple sources / options like
1. Static IP Default Gateway configuration
2. Learning IP Default Gateway from DHCP server
3. Learning IP Default Gateway from PPPoE interface
The priority of gateway learning is through
1. Static default gateway configuration
2. Through DHCP server and last
3. Through PPPoe interface
The priority of gateway learning can be changed, the configuration option is available both through UI and CLI, here is the AP CLI option,
E410-9CBBF5(config)# ip gw-source-precedence
dhcpc : Set the Precedence of the default gateway learned by dhcp client running on SVI interface
pppoe : Set the Precedence of the default gateway learned by PPPoE
static : Set the Precedence of Statically Configured default gateway
The CLI option to see the gateway priority is
E410-9CBBF5(config)# show ip gw-source-precedence
STATIC DHCP PPPOE
Precedence : 1 2 3