VyOS Operations Quick Reference
Configuration Mode
Enter/Exit Configuration
# Enter configuration mode
configure
# Exit without saving
exit discard
# Commit and exit
commit
exit
Interface Management
DHCP
Show DHCP
# DHCP server status
show dhcp server statistics
# Active leases
show dhcp server leases
# Pool status
show dhcp server leases pool MGMT
Static Mappings
# In configure mode
set service dhcp-server shared-network-name MGMT subnet 10.50.1.0/24 static-mapping nas-01 ip-address 10.50.1.70
set service dhcp-server shared-network-name MGMT subnet 10.50.1.0/24 static-mapping nas-01 mac-address AA:BB:CC:DD:EE:FF
DHCP Option 43 (Cisco AP WLC Discovery)
Cisco APs use DHCP Option 43 to discover WLC IP addresses. VyOS supports Cisco vendor-specific options.
|
Without Option 43, APs cannot discover the WLC and will fail to join. This was the root cause of AP join failures after WLC migration to kvm-02 (2026-03-07). |
| WLC IP | Octet | Hex |
|---|---|---|
10.50.1.40 |
10 / 50 / 1 / 40 |
|
# Add Option 43 to DHCP pool (configure mode)
configure
set service dhcp-server shared-network-name DATA subnet 10.50.10.0/24 option vendor-option cisco suboption 241 hex-string '0a320128'
commit
save
# Verify configuration
show configuration commands | grep vendor-option
Expected output
set service dhcp-server shared-network-name 'DATA' subnet '10.50.10.0/24' option vendor-option cisco suboption 241 hex-string '0a320128'
| After adding Option 43, APs will discover the WLC on their next DHCP renewal. Force renewal by rebooting the AP or waiting for lease expiry. |
API Operations
Troubleshooting
Connectivity Tests
# Ping with specific source
ping 8.8.8.8 source-address 10.50.1.1
# Traceroute
traceroute 8.8.8.8
# Show ARP table
show arp