Table of Contents
6.1 clear counters
Parameters
-
<ifname>: centralized tunnel name.
Command mode: Admin Mode
Default: None.
Usage guide: Clear statistic information of the appointed tunnel port. If the port is not identified, clear statistic information of all ports.
Example: Clear statistic information of capwaptnl3.
active500EM#clear counters interface wlan capwaptnl3
6.2 debug wireless cl2tunnel error
no debug wireless cl2tunnel error <FF-FF-FF-FF-FF-FF>
Function: Enable/disable centralized forwarding error debug information.
Parameters:
-
<FF-FF-FF-FF-FF-FF>: MAC address of the AP opposite to the tunnel.
Command mode: Admin Mode
Default: None.
Usage guide: After enabling debugging, the error information of creating, deleting, and configuring centralized tunnel will be printed.
Example: Enable error debugging of centralized tunnel in APs whose MAC address is f8-f7-d3-00-03-a0.
active500EM#debug wireless cl2tunnel error f8-f7-d3-00-03-a0 error WD_LEVEL_CENTTNNL_ERROR debug is on MAC: f8-f7-d3-00-03-a0 error WD_LEVEL_CENTTNNL_ERROR debug is on
6.3 debug wireless cl2tunnel internal-info
no debug wireless cl2tunnel internal-info <FF-FF-FF-FF-FF-FF>
Function: Enable/disable the internal debug information of centralized forwarding.
Parameters:
-
<FF-FF-FF-FF-FF-FF>: MAC address of the AP opposite to tunnel.
Command mode: Admin Mode
Default: None.
Usage guide: After enabling debugging, the internal information of creating, deleting, and configuring centralized tunnel will be printed to locate the error.
Example: Enable internal debugging information of the centralized tunnel in APs whose MAC address is f8-f7-d3-00-03-a0.
active500EM#debug wireless cl2tunnel internal-info f8-f7-d3-00-03-a0 internal WD_LEVEL_CENTTNNL_INFO debug is on MAC: f8-f7-d3-00-03-a0 internal WD_LEVEL_CENTTNNL_INFO debug is on
6.4 l2tunnel vlan-list
no l2tunnel vlan-list <1-4094>
Function: Add a VLAN to tunnel VLAN list. The no command deletes a VLAN from tunnel VLAN list.
Parameters:
-
<1-4094>: ID of VLAN added to tunnel VLAN list.
Command mode: Wireless Global Mode
Default: Tunneled VLAN list is free.
Usage guide: Add a VLAN to the tunnel VLAN list. All user data packets that belong to this VLAN run CAPWAP centralized tunnel.
Note: Managed packets should not forward through this tunnel.
Example: Add VLAN 21 to tunnel VLAN list.
active500EM(config-wireless)#l2tunnel vlan-list 21
6.5 show interface wlan
Parameters:
-
<ifname>: centralized tunnel name.
Command mode: Admin Mode
Default: None.
Usage guide: If the tunnel name is entered, print flow statistic of the identified tunnel. If the tunnel name is not entered, print flow statistic of all tunnels. Counter rate shows rate statistic information of all tunnel ports. It is configured as number and bytes of packets that are input or output in 5 minutes or 5 seconds.
Example: Display flow statistic of all tunnels in the system.
active500EM#show interface wlan capwaptnl2 5 minute input rate 630 bits/sec, 1 packets/sec 5 minute output rate 2587 bits/sec, 3 packets/sec The last 5 second input rate 0 bits/sec, 0 packets/sec The last 5 second output rate 448 bits/sec, 0 packets/sec Input packets statistics: 5351 input packets, 363868 bytes Output packets statistics: 11495 output packets, 1429784 bytes capwaptnl1 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 2504 bits/sec, 3 packets/sec The last 5 second input rate 0 bits/sec, 0 packets/sec The last 5 second output rate 435 bits/sec, 0 packets/sec Input packets statistics: 203998 input packets, 16095096 bytes Output packets statistics: 282213 output packets, 33968640 bytes capwaptnl3 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 2504 bits/sec, 3 packets/sec The last 5 second input rate 0 bits/sec, 0 packets/sec The last 5 second output rate 435 bits/sec, 0 packets/sec Input packets statistics: 0 input packets, 0 bytes Output packets statistics: 281311 output packets, 33809753 bytes
Display flow statistics of tunnel capwaptnl3.
active500EM#show interface wlan capwaptnl3 5 minute input rate 0 bits/sec, 0 packets/sec 5 minute output rate 2504 bits/sec, 3 packets/sec The last 5 second input rate 0 bits/sec, 0 packets/sec The last 5 second output rate 435 bits/sec, 0 packets/sec Input packets statistics: 0 input packets, 0 bytes Output packets statistics: 281311 output packets, 33809753 bytes
6.6 show wireless l2tunnel count
Function: Display the number of all centralized tunnels in the system.
Parameters: None.
Command mode: Admin Mode
Default: None.
Usage guide: This command is used to show the total number of centralized tunnels in the current system. When the number of tunnels is greater, using this command can detect if there is a tunnel created or deleted in the system quickly.
Example: Examine the number of all centralized tunnels in the system.
active500EM#show wireless l2tunnel count Number of centtnnl: 9
6.7 show wireless l2tunnel tunnel-list
Function: Examine all centralized tunnels in the system.
Parameters: None.
Command mode: Admin Mode
Default: None.
Usage guide: Search for all centralized tunnels from the system and print them.
Example Examine all centralized tunnels in the system.
active500EM#show wireless l2tunnel tunnel-list Tunnel List ----------------------------------------------------------------------------- tunnel_name SIP&DIP SPORT DPORT TYPE ----------------------------------------------------------------------------- capwaptnl1 192.168.1.1 57778 57779 ap2ac 192.168.1.2 capwaptnl2 192.168.1.102 57778 57779 ap2ac 192.168.1.103
Parameters | Explanation |
SIP | Source IP address of tunnels. |
DIP | Target IP address of tunnels. |
SPORT | Source port number of tunnels. |
DPORT | Target port number of tunnels. |
TYPE | Tunnels types; ap2ac indicates the tunnel between the AP and the AC. |
6.8 show wireless l2tunnel vlan-list
Function: Examine the tunnel VLAN list in system.
Parameters: None.
Command mode: Admin Mode
Default: None.
Usage guide: Search for all tunnel VLANs from the system and print them.
Example: Examine the tunnel VLAN list in the system.
active500EM#show wireless l2tunnel vlan-list VLAN Name -------- -------------------------- 21 VLAN0021 42 VLAN0042