Assigning virtual machine interfaces to vWLC interfaces

By default, paravirtualized interfaces are assigned to the Gigabit Ethernet interfaces.

When the device is rebooted, the interfaces are sorted in ascending order by MAC address. When a new interface is added, it may be sorted into the middle of the list.

Example:

vwlc# debug
vwlc(debug)# show nic
Interface    Permanent MAC        Connected    NIC model                  
----------   ------------------   ----------   ------------------------   
gi1/0/1      08:00:27:6e:0c:e4    Yes          82540EM Gigabit            
                                               Ethernet Controller        

gi1/0/2      08:00:27:f8:66:c9    Yes          82540EM Gigabit            
                                               Ethernet Controller           

Add an interface in the hypervisor and restart vWLC.

vwlc# debug
vwlc(debug)# show nic
Interface    Permanent MAC        Connected    NIC model                  
----------   ------------------   ----------   ------------------------   
gi1/0/1      08:00:27:6e:0c:e4    Yes          82540EM Gigabit            
                                               Ethernet Controller        

gi1/0/2      08:00:27:a4:a8:87    Yes          Virtio network device  

gi1/0/3      08:00:27:f8:66:c9    Yes          82540EM Gigabit            
                                               Ethernet Controller        

As can be seen, the interface was added and took a place in the middle of the list.

For correct operation, all settings applied to gi1/0/2 must be transferred to gi1/0/3.

If necessary, the position of the interfaces in vWLC can be changed. To do this:

1. Go to the debug menu.

vwlc# debug

2. Run the the show nic command to show the interfaces available:

vwlc(debug)# show nic
Interface    Permanent MAC        Connected    NIC model                 
----------   ------------------   ----------   ------------------------  
gi1/0/1      08:00:27:b3:9a:05    Yes          82540EM Gigabit Ethernet  
                                               Controller                
gi1/0/2      08:00:27:d4:21:a5    Yes          Virtio network device

3. Next, the MAC address of the required interface must be bound to the vWLC interface. In the example, the MAC address 08:00:27:d4:21:a5 is assigned to fortygigabitethernet 1/0/1:

vwlc(debug)# nic bind mac 08:00:27:d4:21:a5 fortygigabitethernet 1/0/1

4. To apply the settings, reboot the device.

vwlc# reload system 

5. After the reboot, use the show interfaces status command to check that the interface has been redefined:

vwlc# show interfaces status
Interface              Admin   Link    MTU     MAC address         Last change                 Mode          
                       State   State                                                                         
--------------------   -----   -----   -----   -----------------   -------------------------   ------------  
gi1/0/1                Up      Up      1500    08:00:27:b3:9a:05   47 seconds                  routerport    
fo1/0/1                Up      Up      1500    08:00:27:d4:21:a5   47 seconds                  routerport

Changing the system MAC address

By default, vWLC has the system MAC address A6:00:00:00:00:00 and the serial number VWLC0000000. For correct operation of L2 protocols, it is recommended to change it.

The device MAC address is generated based on the serial number.

To change the MAC address:

1. Set the serial number:

vwlc# set system serial-number VWLC0000001
WARNING!!! Changes of serial number will be applied after system reboot

2. Reboot the device.

virtual-serial command for outputting logs to the serial console

By default, vWLC logs are output to the VGA console.

The virtual-serial command enables output of system logs to the virtual serial console.

Using the command in the configuration:

vwlc# configure 
vwlc(config)# syslog console 
vwlc(config-syslog-console)# virtual-serial 
2025-08-15T09:57:16+00:00 %SYS-W-EVENT: WARNING!!! Changes of virtual-serial will be applying after reboot
vwlc(config-syslog-console)# end

To apply the settings, the device must be rebooted.
For more information about connecting a serial port, see the vWLC installation instructions for the required virtualization system in the vWLC installation guide.