Reset Search
 

 

Article

How to configure a static or DHCP IP address to a WiNG AP or controller from CLI

« Go Back

Information

 
TitleHow to configure a static or DHCP IP address to a WiNG AP or controller from CLI
Objective
  • To assign a static IP address to a WiNG AP or controller from CLI
  • To assign a static IP address to adopted APs through a controller or virtual controller.
  • To revert a statically assigned IP addresses to DHCP on a controller or AP
Environment
  • RFS4000/ 6000/ 7000
  • NX4500/5500/6500/7500/9500/9600
  • VX9000
  • AP65xx Series
  • AP75xx Series
  • AP76xx Series
  • Legacy AP650/ AP71xx
  • WiNG 5.x
  • Virtual Controller (VC)
  • Static IP address
  • DHCP IP address
Procedure
Prerequisites:
  • SSH (Secure Shell) client such as Putty.exe or similar
  • Ethernet connection
  • Console connection as an alternative to SSH (baud rate: 19200 or 115200)
A - Configuring a Static IP address:
  1. Log into the controller or AP via SSH or the console port and run the following commands:
>en
#self
#int <VLAN-ID>    (Example: vlan 10)                               
#ip address <static IP address/subnet mask>    (Example: 192.168.2.10/24)
#commit write
#end
#show ip int br    (to verify that the IP address has been properly configured)
  1. (Optional) By assigning a primary static IP address, the secondary Zero config or Shadow IP address might be removed. To reinstate this secondary form of access to the AP, run the following commands:
>en
#self
#int <VLAN-ID>   
#ip address zeroconf secondary
#com wr
#end
#sh ip int br    (to verify that the IP address has been properly configured)
  1. To assign a static IP address to adopted APs from a controller of virtual controller, log into said controller or VC and run the following commands:
>en
#conf t
#host <AP-name>
#interface vlan <VLAN-ID>
#ip address <IP-Address/Subnet-Mask>
#com wr

Example:

>en
#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
#host AP04
#Interface vlan 1
#ip address 192.168.1.200/24
#com wr
[OK]
#show context                       (for verification)

B - Revert previously assigned static IP addresses to DHCP:
  1. Log into the controller or AP via SSH or the console port and run the following commands:
>en
#self
#int vlan <VLAN-ID>    
#ip address dhcp
#commit write
#end
#show ip int br    (to verify that the IP address has been pulled from DHCP server)
  1. (Optional) if the secondary Zeroconf IP address is required:
>en
#self
#int vlan <VLAN-ID>    
#ip address zeroconf secondary
#com wr
#end
#sh ip int br    (to verify that the Zeroconf IP address appears)
  1. To revert previously assigned static IP addresses to DHCP on adopted APs, from a controller of virtual controller, log into said controller or VC and run the following commands:
>en
#conf t
#host <AP-name>
#interface vlan <VLAN-ID>
#ip address DHCP
#com wr
#show context                    (for verification)
#show ip int br                  (for verification)
Additional notes

Feedback

 

Was this article helpful?


   

Feedback

Please tell us how we can make this article more useful.

Characters Remaining: 255