- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2012 09:04 AM - edited 07-03-2021 10:19 PM
I configured an AP to use dhcp, now I want to use the CLI to show which default gateway it picked up. "Show ip route" doesn't seem to be in its vocabulary. Does anyone know the correct statement? Also - for the AP to use dhcp to pick up the default gateway, is the absense of an explicit "ip default-gateway" statement all that is required?
Thanks,
Mike
Solved! Go to Solution.
- Labels:
-
Other Wireless Topics
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2012 08:01 PM
To see AP ip info:-
capwap_1131#show dhcp lease
Temp IP addr: 10.0.0.12 for peer on Interface: FastEthernet0
Temp sub net mask: 255.255.255.0
DHCP Lease server: 10.0.0.1, state: 3 Bound
DHCP transaction id: 157A
Lease: 86400 secs, Renewal: 43200 secs, Rebind: 75600 secs
Temp default-gateway addr: 10.0.0.254
Next timer fires after: 05:46:14
Retry count: 0 Client-ID: 001c.58dc.xxxx
Client-ID hex dump: 001C58DCxxxx
Hostname: capwap_1131
Statically configure AP's default gateway ip on capwap AP:-
capwap_1131#debug capwap console cli
capwap_1131#capwap ap ip default-gateway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2012 10:02 AM
Mike,
What are you using for a dhcp server? You have to specify the default gateway on the dhcp scope. You can also run a debug dhcp and see what default gateway the ap obtains from the dhcp scope setting.
Sent from Cisco Technical Support iPhone App
*** Please rate helpful posts ***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2012 10:27 AM
Thanks for the reply, the dhcp server is correctly handing out a default gateway, as I can ping devices on other subnets. What I'm really after is: what is the command to show the ip address of the default gateway that the dhcp server is handing out. I.e., what is the equivalent of "ipconfig" on windows, "route" on linux, or "show ip route" on virtually other cisco devices? I find it hard to believe you'd have to do a debug to see it.
Thanks,
Mike
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2012 03:01 PM
Seems like this is a lightweight AP. You can verify this using...
show run | inc default-gateway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2012 03:13 PM
Well if it's lightweight, then try to telnet, ssh or console and issue a debug ap command "show ip route". Or you can do a debug capwap console cli which then will allow you to do some ios commands.
Sent from Cisco Technical Support iPhone App
*** Please rate helpful posts ***
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-18-2012 08:01 PM
To see AP ip info:-
capwap_1131#show dhcp lease
Temp IP addr: 10.0.0.12 for peer on Interface: FastEthernet0
Temp sub net mask: 255.255.255.0
DHCP Lease server: 10.0.0.1, state: 3 Bound
DHCP transaction id: 157A
Lease: 86400 secs, Renewal: 43200 secs, Rebind: 75600 secs
Temp default-gateway addr: 10.0.0.254
Next timer fires after: 05:46:14
Retry count: 0 Client-ID: 001c.58dc.xxxx
Client-ID hex dump: 001C58DCxxxx
Hostname: capwap_1131
Statically configure AP's default gateway ip on capwap AP:-
capwap_1131#debug capwap console cli
capwap_1131#capwap ap ip default-gateway
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2012 05:26 AM
show ip redirects
will do it mate.
---------------------------------------------------------------------------------------
Please Don't forget to rate correct answer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2012 05:53 AM
Saravanan,
That's exactly what I was looking for - thank you very much!
Mike
