Cisco Wireless LAN Controller Port and Interface Command ...
-
Upload
khangminh22 -
Category
Documents
-
view
1 -
download
0
Transcript of Cisco Wireless LAN Controller Port and Interface Command ...
Cisco Wireless LAN Controller Port and Interface CommandReference, Release 7.4First Published: December 17, 2012
Americas HeadquartersCisco Systems, Inc.170 West Tasman DriveSan Jose, CA 95134-1706USAhttp://www.cisco.comTel: 408 526-4000 800 553-NETS (6387)Fax: 408 527-0883
Text Part Number: OL-28147-01
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND,EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITEDWARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITHTHE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY,CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain versionof the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
NOTWITHSTANDINGANYOTHERWARRANTYHEREIN, ALL DOCUMENT FILES AND SOFTWAREOF THESE SUPPLIERS ARE PROVIDED “AS IS"WITHALL FAULTS.CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OFMERCHANTABILITY, FITNESS FORA PARTICULAR PURPOSEANDNONINFRINGEMENTORARISING FROMACOURSEOFDEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUTLIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERSHAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: http://www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnershiprelationship between Cisco and any other company. (1110R)
Any Internet Protocol (IP) addresses used in this document are not intended to be actual addresses. Any examples, command display output, and figures included in the document are shownfor illustrative purposes only. Any use of actual IP addresses in illustrative content is unintentional and coincidental.
© 2012 Cisco Systems, Inc. All rights reserved.
C O N T E N T S
P r e f a c e Preface vii
Audience vii
Document Organization vii
Document Conventions vii
Related Documentation x
Obtaining Documentation and Submitting a Service Request x
C H A P T E R 1 Overview 1
CLI Command Keyboard Shortcuts 2
Using the Interactive Help Feature 3
Using the Help Command 3
Using the ? command 4
Using the partial? command 5
Using the partial command<tab> 5
Using the command ? 5
command keyword ? 7
C H A P T E R 2 CLI Commands 9
Show Commands 9
show advanced sip-snooping-ports 10
show advanced statistics 11
show interface 12
show interface group 14
show lag eth-port-hash 15
show lag ip-port-hash 16
show lag summary 17
show port 18
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 iii
show serial 20
show spanningtree port 21
show spanningtree switch 22
show stats port 23
show stats switch 25
Show mDNS Commands 26
show mdns profile 27
show mnds service 29
Config Commands 30
Configure mDNS Commands 30
config interface group mdns-profile 31
config interface mdns-profile 32
Configure Macfilter Commands 33
config macfilter 34
config macfilter description 35
config macfilter interface 36
config macfilter ip-address 37
config macfilter mac-delimiter 38
config macfilter radius-compat 39
config macfilter wlan-id 40
config macfilter wlan-id 41
Configure Port Commands 42
config port adminmode 43
config port autoneg 44
config port linktrap 45
config port multicast appliance 46
config port power 47
Configure Spanning Tree Protocol Commands 48
config spanningtree port mode 49
config spanningtree port pathcost 50
config spanningtree port priority 51
config spanningtree switch bridgepriority 52
config spanningtree switch forwarddelay 53
config spanningtree switch hellotime 54
config spanningtree switch maxage 55
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4iv OL-28147-01
Contents
config spanningtree switch mode 56
Config Interface Commands 56
Config Interface Commands 56
config interface acl 57
config interface address 58
config interface address redundancy-management 60
config interface ap-manager 61
config interface create 62
config interface delete 63
config interface dhcp 64
config interface address 66
config interface guest-lan 68
config interface hostname 69
config interface nasid 70
config interface nat-address 71
config interface port 72
config interface quarantine vlan 73
config interface vlan 74
Other Configure Commands 74
config advanced statistics 75
config interface group 76
config lag 77
config route add 78
config route delete 79
config serial baudrate 80
config serial timeout 81
clear stats port 82
Debug Commands 82
debug mdns all 83
debug mdns detail 84
debug mdns error 85
debug mdns message 86
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 v
Contents
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4vi OL-28147-01
Contents
Preface
This preface describes the audience, organization, and conventions of the Cisco Wireless LAN ControllerCommand Reference Guide. It also provides information on how to obtain other documentation. This chapterincludes the following sections:
• Audience, page vii
• Document Organization, page vii
• Document Conventions, page vii
• Related Documentation, page x
• Obtaining Documentation and Submitting a Service Request, page x
AudienceThis publication is for experienced network administrators who configure and maintain Cisco wireless LANcontrollers and Cisco lightweight access points.
Document OrganizationThis document is organized into the following chapters:
DescriptionChapter
Describes how to use the command-line interface (CLI) on the controller.Overview
Provides detailed information about the CLI commands for the controller.CLI Commands
Document ConventionsThis document uses the following conventions:
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 vii
IndicationConvention
Commands and keywords and user-entered text appear in bold font.bold font
Document titles, new or emphasized terms, and arguments for which you supplyvalues are in italic font.
italic font
Elements in square brackets are optional.[ ]
Required alternative keywords are grouped in braces and separated by verticalbars.
{x | y | z }
Optional alternative keywords are grouped in brackets and separated by verticalbars.
[ x | y | z ]
A nonquoted set of characters. Do not use quotation marks around the string orthe string will include the quotation marks.
string
Terminal sessions and information the system displays appear in courier font.courier font
Nonprinting characters such as passwords are in angle brackets.<>
Default responses to system prompts are in square brackets.[]
An exclamation point (!) or a pound sign (#) at the beginning of a line of codeindicates a comment line.
!, #
Means reader take note. Notes contain helpful suggestions or references to material not covered in themanual.
Note
Means the following information will help you solve a problem.Tip
Means reader be careful. In this situation, you might perform an action that could result in equipmentdamage or loss of data.
Caution
This warning symbol means danger. You are in a situation that could cause bodily injury. Before youwork on any equipment, be aware of the hazards involved with electrical circuitry and be familiar withstandard practices for preventing accidents. (To see translations of the warnings that appear in thispublication, refer to the appendix "Translated Safety Warnings.")
Warning
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4viii OL-28147-01
PrefaceDocument Conventions
DescriptionWarning Title
Dit waarschuwingssymbool betekent gevaar. U verkeert in een situatie dielichamelijk letsel kan veroorzaken. Voordat u aan enige apparatuur gaat werken,dient u zich bewust te zijn van de bij elektrische schakelingen betrokken risico'sen dient u op de hoogte te zijn van standaard maatregelen om ongelukken tevoorkomen. (Voor vertalingen van de waarschuwingen die in deze publicatieverschijnen, kunt u het aanhangsel "Translated Safety Warnings" (Vertalingenvan veiligheidsvoorschriften) raadplegen.)
Waarschuwing
Tämä varoitusmerkki merkitsee vaaraa. Olet tilanteessa, joka voi johtaaruumiinvammaan. Ennen kuin työskentelet minkään laitteiston parissa, ota selvääsähkökytkentöihin liittyvistä vaaroista ja tavanomaisista onnettomuuksienehkäisykeinoista. (Tässä julkaisussa esiintyvien varoitusten käännökset löydätliitteestä "Translated Safety Warnings" (käännetyt turvallisuutta koskevatvaroitukset).)
Varoitus
Ce symbole d'avertissement indique un danger. Vous vous trouvez dans unesituation pouvant entraîner des blessures. Avant d'accéder à cet équipement,soyez conscient des dangers posés par les circuits électriques et familiarisez-vousavec les procédures courantes de prévention des accidents. Pour obtenir lestraductions des mises en garde figurant dans cette publication, veuillez consulterl'annexe intitulée « Translated SafetyWarnings » (Traduction des avis de sécurité).
Attention
Dieses Warnsymbol bedeutet Gefahr. Sie befinden sich in einer Situation, diezu einer Körperverletzung führen könnte. Bevor Siemit der Arbeit an irgendeinemGerät beginnen, seien Sie sich der mit elektrischen Stromkreisen verbundenenGefahren und der Standardpraktiken zur Vermeidung von Unfällen bewußt.(Übersetzungen der in dieser Veröffentlichung enthaltenenWarnhinweise findenSie im Anhang mit dem Titel "Translated Safety Warnings" (Übersetzung derWarnhinweise).)
Warnung
Questo simbolo di avvertenza indica un pericolo. Si è in una situazione che puòcausare infortuni. Prima di lavorare su qualsiasi apparecchiatura, occorreconoscere i pericoli relativi ai circuiti elettrici ed essere al corrente delle pratichestandard per la prevenzione di incidenti. La traduzione delle avvertenze riportatein questa pubblicazione si trova nell'appendice, "Translated Safety Warnings"(Traduzione delle avvertenze di sicurezza).
Avvertenza
Dette varselsymbolet betyr fare. Du befinner deg i en situasjon som kan føre tilpersonskade. Før du utfører arbeid på utstyr, må du være oppmerksom på defaremomentene som elektriske kretser innebærer, samt gjøre deg kjent med vanligpraksis når det gjelder å unngå ulykker. (Hvis du vil se oversettelser av deadvarslene som finnes i denne publikasjonen, kan du se i vedlegget "TranslatedSafety Warnings" [Oversatte sikkerhetsadvarsler].)
Advarsel
Este símbolo de aviso indica perigo. Encontra-se numa situação que lhe poderácausar danos fisicos. Antes de começar a trabalhar com qualquer equipamento,familiarize-se com os perigos relacionados com circuitos eléctricos, e comquaisquer práticas comuns que possam prevenir possíveis acidentes. (Para veras traduções dos avisos que constam desta publicação, consulte o apêndice"Translated Safety Warnings" - "Traduções dos Avisos de Segurança").
Aviso
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 ix
PrefaceDocument Conventions
DescriptionWarning Title
Este símbolo de aviso significa peligro. Existe riesgo para su integridad física.Antes de manipular cualquier equipo, considerar los riesgos que entraña lacorriente eléctrica y familiarizarse con los procedimientos estándar de prevenciónde accidentes. (Para ver traducciones de las advertencias que aparecen en estapublicación, consultar el apéndice titulado "Translated Safety Warnings.")
¡Advertencia!
Denna varningssymbol signalerar fara. Du befinner dig i en situation som kanleda till personskada. Innan du utför arbete på någon utrustning måste du varamedveten om farorna med elkretsar och känna till vanligt förfarande för attförebygga skador. (Se förklaringar av de varningar som förekommer i dennapublikation i appendix "Translated Safety Warnings" [Översattasäkerhetsvarningar].)
Varning
Related DocumentationThese documents provide complete information about the Cisco Unified Wireless Network solution:
• Cisco Wireless LAN Controller Configuration Guide
• Cisco Wireless LAN Controller System Message Guide
• Release Notes for Cisco Wireless LAN Controllers and Lightweight Access Points
Obtaining Documentation and Submitting a Service RequestFor information about obtaining documentation, submitting a service request, and gathering additionalinformation, see the monthlyWhat's New in Cisco Product Documentation, which also lists all new and revisedCisco technical documentation, at:
http://www.cisco.com/en/US/docs/general/whatsnew/whatsnew.html
Subscribe to theWhat's New in Cisco Product Documentation as an RSS feed and set content to be delivereddirectly to your desktop using a reader application. The RSS feeds are a free service. Cisco currently supportsRSS Version 2.0.
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4x OL-28147-01
PrefaceRelated Documentation
Overview
A port is a physical entity that is used for connections on the controller platform. Controllers have two typesof ports: distribution system ports and a service port.
A distribution system port connects the controller to a neighbor switch and serves as the data path betweenthese two devices.
The service port is controlled by the service-port interface and is reserved for out-of-band management ofthe controller and system recovery and maintenance in the event of a network failure. It is also the only portthat is active when the controller is in boot mode. The service port is not capable of carrying 802.1Q tags,so it must be connectedto an access port on the neighbor switch. Use of the service port is optional.
An interface is a logical entity on the controller. An interface has multiple parameters associated with it,including an IP address, default gateway (for the IP subnet), primary physical port, secondary physicalport,VLAN identifier, and DHCP server. These five types of interfaces are available on the controller. Fourof these are static and are configured at setup time:
• Management interface (static and configured at setup time; mandatory).
• AP-manager interface (static and configured at setup time; mandatory).
• Virtual interface (static and configured at setup time; mandatory).
• Service-port interface (static and configured at setup time; optional).
• Dynamic interface (user-defined).
• CLI Command Keyboard Shortcuts, page 2
• Using the Interactive Help Feature, page 3
• Using the Help Command, page 3
• Using the ? command, page 4
• Using the partial? command, page 5
• Using the partial command<tab>, page 5
• Using the command ?, page 5
• command keyword ?, page 7
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 1
CLI Command Keyboard ShortcutsThe table below lists the CLI keyboard shortcuts to help you enter and edit command lines on the controller.
Table 1: CLI Command Keyboard Shortcuts
Keyboard ShortcutDescriptionAction
Esc IThe word at the cursor to lowercase.Change
Esc uThe word at the cursor to uppercase.
Ctrl-h, Delete, or BackspaceA character to the left of the cursor.Delete
Ctrl-uAll characters from the cursor to the beginning of theline.
Ctrl-kAll characters from the cursor to the end of the line.
Esc dAll characters from the cursor to the end of the word.
Ctrl-w or Esc BackspaceThe word to the left of the cursor.
q, Q, or Ctrl-CExit from MORE output.Display MOREoutput
SpacebarNext additional screen. The default is one screen. Todisplay more than one screen, enter a number beforepressing the Spacebar key.
EnterNext line. The default is one line. To display more thanone line, enter the number before pressing the Enterkey.
Ctrl-mEnter an Enter or Return key character.
Ctrl-t or TabExpand the command or abbreviation.
Ctrl-b or Left ArrowOne character to the left (back).Move the cursor
Ctrl-f or Right ArrowOne character to the right (forward).
Esc bOne word to the left (back), to the beginning of thecurrent or previous word.
Esc fOne word to the right (forward), to the end of thecurrent or next word.
Ctrl-aTo the beginning of the line.
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.42 OL-28147-01
OverviewCLI Command Keyboard Shortcuts
Keyboard ShortcutDescriptionAction
Ctrl-eTo the end of the line.
Ctrl-l or Ctrl-rRedraw the screen at the prompt.
Ctrl-zReturn to the EXEC mode from any configuration mode
exit commandReturn to the previous mode or exit from the CLI from Exec mode.
Ctrl-tTranspose a character at the cursor with a character to the left of the cursor.
Using the Interactive Help FeatureThe question mark (?) character allows you to get the following type of help about the command at thecommand line. The following table lists the interactive help feature list.
Table 2: Interactive Help Feature List
Command
Provides a brief description of the Help feature in any command mode.help
Lists all commands available for a particular command mode.? at the commandprompt
Provides a list of commands that begin with the character string.partial command?
Completes a partial command name.partialcommand<Tab>
Lists the keywords, arguments, or both associated with a command.command ?
Lists the arguments that are associated with the keyword.command keyword ?
Using the Help CommandBefore You Begin
To look up keyboard commands, use the help command at the root level.
help
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 3
OverviewUsing the Interactive Help Feature
Help may be requested at any point in a command by entering a question mark ‘?’. If nothing matches, thehelp list will be empty and you must back up until entering a ‘?’ shows the available options. Two types ofhelp are available
1. Full help is available when you are ready to enter a command argument (for example show ?) and describeseach possible argument.
2. Partial help is provided when an abbreviated argument is entered and you want to know what argumentsmatch the input (for example show pr?).
Examples> helpHELP:Special keys:DEL, BS... delete previous characterCtrl-A .... go to beginning of lineCtrl-E .... go to end of lineCtrl-F .... go forward one characterCtrl-B .... go backward one characterCtrl-D .... delete current characterCtrl-U, X. delete to beginning of lineCtrl-K .... delete to end of lineCtrl-W .... delete previous wordCtrl-T .... transpose previous characterCtrl-P .... go to previous line in history bufferCtrl-N .... go to next line in history bufferCtrl-Z .... return to root command promptTab, <SPACE> command-line completionExit .... go to next lower command prompt? .... list choices
Using the ? commandBefore You Begin
To display all of the commands in your current level of the command tree, or to display more informationabout a particular command, use the ? command.
command name ?
When you enter a command information request, put a space between the command name and ?.
Examples This command shows you all the commands and levels available from the root level.
> ?clear Clear selected configuration elements.config Configure switch options and settings.debug Manages system debug options.help Helplinktest Perform a link test to a specified MAC address.logout Exit this session. Any unsaved changes are lost.ping Send ICMP echo packets to a specified IP address.reset Reset options.save Save switch configurations.show Display switch options and settings.transfer Transfer a file to or from the switch.
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.44 OL-28147-01
OverviewUsing the ? command
Using the partial? commandBefore You Begin
To provide a list of commands that begin with the character string, use the partial command ?.
partial command?
There should be no space between the command and the question mark.
Examples This example shows how to provide a command that begin with the character string “ad”:
> controller> config>ad?The command that matches with the string “ad” is as follows:
advanced
Using the partial command<tab>Before You Begin
To completes a partial command name, use the partial command<tab> command.
partial command<tab>
There should be no space between the command and <tab>.
Examples This example shows how to complete a partial command name that begin with the character string “ad”:
> Controller>config>cert<tab> certificate
Using the command ?
Examples To list the keywords, arguments, or both associated with the command, use the command ?.
command ?
There should be space between the command and the question mark.
This example shows how to list the arguments and keyword for the command acl:
> Controller >config acl ?Information similar to the following appears:
apply Applies the ACL to the data path.counter Start/Stop the ACL Counters.create Create a new ACL.
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 5
OverviewUsing the partial? command
delete Delete an ACL.rule Configure rules in the ACL.cpu Configure the CPU Acl Information
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.46 OL-28147-01
OverviewUsing the command ?
command keyword ?To list the arguments that are associated with the keyword, use the command keyword ?
command keyword ?
Usage Guidelines There should be space between the keyword and the question mark.
Examples This example shows how to display the arguments associated with the keyword cpu:
> controller>config acl cpu ?Information similar to the following appears:
none None - Disable the CPU ACL<name> <name> - Name of the CPU ACL
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 7
Overviewcommand keyword ?
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.48 OL-28147-01
Overviewcommand keyword ?
CLI Commands
The Cisco Wireless LAN solution command-line interface (CLI) enables operators to connect an ASCIIconsole to the Cisco Wireless LAN Controller and configure the controller and its associated access points.
• Show Commands, page 9
• Config Commands, page 30
• clear stats port, page 82
• Debug Commands, page 82
Show CommandsThis section lists the show commands that you can use to display information about the controller ports andinterfaces.
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 9
show advanced sip-snooping-portsTo display the port range for call snooping, use the show advanced sip-snooping-ports command.
show advanced sip-snooping-ports
Syntax Description This command has no arguments or keywords.
Command Default None.
Examples This example shows how to display the call snooping port range:> show advanced sip-snooping-portsSIP Call Snoop Ports: 1000 - 2000
Related Commands show cac voice stats
show cac voice summary
show cac video stats
show cac video summary
config 802.11 cac video sip
config 802.11 cac voice sip
show advanced sip-preferred-call-no
config advanced sip-snooping-ports
debug cac
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.410 OL-28147-01
CLI Commandsshow advanced sip-snooping-ports
show advanced statisticsTo display whether or not the Cisco wireless LAN controller port statistics are enabled or disabled, use theshow advanced statistics command.
show advanced statistics
Syntax Description This command has no arguments or keywords.
Command Default None.
Examples This example shows how to display switch port statistics mode:
> show advanced statisticsSwitch port statistics........................... Enabled
Related Commands config advanced statistics
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 11
CLI Commandsshow advanced statistics
show interfaceTo display details of the system interfaces, use the show interface command:
show interface {summary | detailed {interface_name |management | redundancy-management |redundancy-port | service-port | virtual}
Syntax Description Displays a summary of the local interfaces.summary
Displays detailed interface information.detailed
Interface name for detailed display.interface_name
Displays detailed management interface information.management
Displays detailed redundancy management interfaceinformation.
redundancy-management
Displays detailed redundancy port information.redundancy-port
Displays detailed service port information.service-port
Displays detailed virtual gateway interface information.virtual
Command Default None.
Examples This example shows how to display a summary of the local interfaces:
> show interface summaryInterface Name Port Vlan Id IP Address Type Ap Mgr Guest------------------- ---- --------- ---------------- ------ ------ ------ap-manager 1 untagged xxx.xxx.xxx.xxx Static Yes Nomanagement 1 untagged xxx.xxx.xxx.xxx Static No Noservice-port N/A N/A xxx.xxx.xxx.xxx Static No Novirtual N/A N/A xxx.xxx.xxx.xxx Static No No
This example shows how to display the detailed interface information:
> show interface detailed managementInterface Name................................... managementMAC Address...................................... 88:43:e1:7e:0b:20IP Address....................................... 9.4.120.99IP Netmask....................................... 255.255.255.0IP Gateway....................................... 9.4.120.1External NAT IP State............................ DisabledExternal NAT IP Address.......................... 0.0.0.0VLAN............................................. 120Quarantine-vlan.................................. 0NAS-Identifier................................... Building1Active Physical Port............................. 1
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.412 OL-28147-01
CLI Commandsshow interface
Primary Physical Port............................ 1Backup Physical Port............................. UnconfiguredDHCP Proxy Mode.................................. GlobalPrimary DHCP Server.............................. 9.1.0.100Secondary DHCP Server............................ UnconfiguredDHCP Option 82................................... DisabledACL.............................................. UnconfiguredmDNS Profile Name................................ UnconfiguredAP Manager....................................... YesGuest Interface.................................. NoL2 Multicast..................................... Enabled
Some WLAN controllers may have only one physical port listed because they have only one physicalport.
Note
This example shows how to display the detailed redundancy management interface information:
> show interface detailed redundancy-managementInterface Name................................... redundancy-managementMAC Address...................................... 88:43:e1:7e:0b:20IP Address....................................... 209.165.201.2
This example shows how to display the detailed redundancy port information:
> show interface detailed redundancy-portInterface Name................................... redundancy-portMAC Address...................................... 88:43:e1:7e:0b:22IP Address....................................... 169.254.120.5
This example shows how to display the detailed service port information:
> show interface detailed service-portInterface Name................................... redundancy-portMAC Address...................................... 88:43:e1:7e:0b:22IP Address....................................... 169.254.120.5
This example shows how to display the detailed virtual gateway interface information:
> show interface detailed virtualInterface Name................................... virtualMAC Address...................................... 88:43:e1:7e:0b:20IP Address....................................... 1.1.1.1Virtual DNS Host Name............................ DisabledAP Manager....................................... NoGuest Interface.................................. No
Related Commands config interface
config interface group
show interface group
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 13
CLI Commandsshow interface
show interface groupTo display details of system interface groups, use the show interface group command:
show interface group {summary | detailed interface_group_name}
Syntax Description Displays a summary of the local interface groups.summary
Displays detailed interface group information.detailed
Interface group name for a detailed display.interface_group_name
Command Default None.
Examples This example shows how to display a summary of local interface groups:
> show interface group summaryInterface Group Name Total Interfaces Total WLANs Total AP Groups Quarantine-------------------- ---------------- --------- -------------- ---------mygroup1 1 0 0 Nomygroup2 1 0 0 Nomygroup3 5 1 0 No
This example shows how to display the detailed interface group information:
> show interface group detailed mygroup1Interface Group Name............................. mygroup1Quarantine ...................................... NoNumber of Wlans using the Interface Group........ 0Number of AP Groups using the Interface Group.... 0Number of Interfaces Contained................... 1mDNS Profile Name................................ NCS12ProfInterface Group Description...................... My Interface GroupNext interface for allocation to client.......... testabcInterfaces Contained in this group .............. testabcInterface marked with * indicates DHCP dirty interfaceInterface list sorted based on vlan:
Index Vlan Interface Name----- ---- --------------------------------0 42 testabc
Related Commands show interface
config interface group
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.414 OL-28147-01
CLI Commandsshow interface group
show lag eth-port-hashTo display the physical port used for specific MAC addresses, use the show lag eth-port-hash command.
show lag eth-port-hash dest_MAC [source_MAC]
Syntax Description MAC address to determine output port for non-IP packets.dest_MAC
(Optional) MAC address to determine output port for non-IP packets.source_MAC
Command Default None.
Examples This example shows how to display the physical port used for a specific MAC address:> show lag eth-port-hash 11:11:11:11:11:11Destination MAC 11:11:11:11:11:11 currently maps to port 1
Related Commands config lag
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 15
CLI Commandsshow lag eth-port-hash
show lag ip-port-hashTo display the physical port used for specific IP addresses, use the show lag ip-port-hash command.
show lag ip-port-hash dest_IP [source_IP]
Syntax Description IP address to determine the output port for IP packets.dest_IP
(Optional) IP address to determine the output port for IP packets.source_IP
Command Default None.
Usage Guidelines For CAPWAP packets, enter the AP's IP address. For EOIP packets, enter the WLC's IP address. ForWIRED_GUEST packets, enter its IP address. For nontunneled IP packets from WLC, enter the destinationIP address. For other nontunneled IP packets, enter both destination and source IP addresses.
Examples This example shows how to display the physical port used for a specific IP address:> show lag ip-port-hash 192.168.102.138Destination IP 192.168.102.138 currently maps to port 1
Related Commands config lag
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.416 OL-28147-01
CLI Commandsshow lag ip-port-hash
show lag summaryTo display the current link aggregation (LAG) status, use the show lag summary command.
show lag summary
Syntax Description This command has no arguments or keywords.
Command Default None.
Examples This example shows how to display the current status of the LAG configuration:
> show lag summaryLAG Enabled
Related Commands config lag
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 17
CLI Commandsshow lag summary
show portTo display the Cisco wireless LAN controller port settings on an individual or global basis, use the show portcommand.
show port {port | summary}
Syntax Description Information on the individual ports.port
Displays all ports.summary
Command Default None.
Examples This example shows how to display information about an individual wireless LAN controller port:
> show port 1STP Admin Physical Physical Link Link Mcast
Pr Type Stat Mode Mode Status Status Trap Appliance POE-- ------- ---- ------- ---------- ---------- ------ ------- --------- -------1 Normal Disa Enable Auto 1000 Full Down Enable Enable N/A
SomeWLAN controllers may not have multicast or Power over Ethernet (PoE) listed because they do notsupport those features.
Note
This example shows how to display a summary of all ports:
> show port summarySTP Admin Physical Physical Link Link Mcast
Pr Type Stat Mode Mode Status Status Trap Appliance POE SFPType-- ------- ---- ------- ---------- ---------- ------ ------- --------- -------------1 Normal Forw Enable Auto 1000 Full Up Enable Enable N/A NotPresent2 Normal Disa Enable Auto 1000 Full Down Enable Enable N/A NotPresent3 Normal Disa Enable Auto 1000 Full Down Enable Enable N/A NotPresent4 Normal Disa Enable Auto 1000 Full Down Enable Enable N/A NotPresent
Some WLAN controllers may have only one port listed because they have only one physical port.Note
Related Commands config stats port
config ap port
config interface port
config network web-auth port
Configure Port Commands
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.418 OL-28147-01
CLI Commandsshow port
config spanningtree port mode
config spanningtree port pathcost
config spanningtree port priority
show stats port
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 19
CLI Commandsshow port
show serialTo display the serial (console) port configuration, use the show serial command.
show serial
Syntax Description This command has no arguments or keywords.
Command Default 9600, 8, off, 1, none.
Examples This example shows how to display EIA-232 parameters and the serial port inactivity timeout:
> show serialSerial Port Login Timeout (minutes)......... 45Baud Rate................................... 9600Character Size.............................. 8Flow Control:............................... DisableStop Bits................................... 1Parity Type:................................ none
Related Commands config serial baudrate
config serial timeout
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.420 OL-28147-01
CLI Commandsshow serial
show spanningtree portTo display the Cisco wireless LAN controller spanning tree port configuration, use the show spanningtreeport command.
show spanningtree port port
Syntax Description Physical port number:
• 1 through 4 on Cisco 2100 Series Wireless LAN Controller.
• 1 or 2 on Cisco 4402 Series Wireless LAN Controller.
• 1 through 4 on Cisco 4404 Series Wireless LAN Controller.
port
Command Default 800C, Disabled, 802.1D, 128, 100, Auto.
Usage Guidelines When the a Cisco 4400 Series wireless LAN controller is configured for port redundancy, the Spanning TreeProtocol (STP) must be disabled for all ports on the Cisco 4400 Series Wireless LAN Controller. STP canremain enabled on the switch connected to the Cisco 4400 Series Wireless LAN Controller.
Some WLAN controllers do not support the spanning tree function.Note
Examples This example shows how to display spanning tree values on a per port basis:
> show spanningtree port 3STP Port ID................................. 800CSTP Port State.............................. DisabledSTP Port Administrative Mode................ 802.1DSTP Port Priority........................... 128STP Port Path Cost.......................... 100STP Port Path Cost Mode..................... Auto
Related Commands config spanningtree port mode
config spanningtree port pathcost
config spanningtree port priority
show spanningtree switch
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 21
CLI Commandsshow spanningtree port
show spanningtree switchTo display the Cisco wireless LAN controller network (DS port) spanning tree configuration, use the showspanningtree switch command.
show spanningtree switch
Syntax Description This command has no arguments or keywords.
Command Default None.
Usage Guidelines Some WLAN controllers do not support the spanning tree function.
Examples This example shows how to display spanning tree values on a per switch basis:
> show spanningtree switchSTP Specification...................... IEEE 802.1DSTP Base MAC Address................... 00:0B:85:02:0D:20Spanning Tree Algorithm................ DisableSTP Bridge Priority.................... 32768STP Bridge Max. Age (seconds).......... 20STP Bridge Hello Time (seconds)........ 2STP Bridge Forward Delay (seconds)..... 15
Related Commands config spanningtree switch bridgepriority
config spanningtree switch forwarddelay
config spanningtree switch hellotime
config spanningtree switch maxage
config spanningtree switch mode
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.422 OL-28147-01
CLI Commandsshow spanningtree switch
show stats portTo display physical port receive and transmit statistics, use the show stats port command.
show stats port {detailed port | summary port}
Syntax Description Displays detailed port statistics.detailed
Displays port summary statistics.summary
Physical port number:
• 1 through 4 on Cisco 2100 Series Wireless LAN Controllers.
• 1 or 2 on Cisco 4402 Series Wireless LAN Controllers.
• 1 through 4 on Cisco 4404 Series Wireless LAN Controllers.
• 1 on Cisco WLCM Series Wireless LAN Controllers.
port
Command Default None.
Examples This example shows how to display the port summary information:
> show stats port summaryPackets Received Without Error................. 399958Packets Received With Error.................... 0Broadcast Packets Received..................... 8350Packets Transmitted Without Error.............. 106060Transmit Packets Errors........................ 0Collisions Frames.............................. 0Time Since Counters Last Cleared............... 2 day 11 hr 16 min 23 sec
This example shows how to display the detailed port information:
> show stats port detailed 1PACKETS RECEIVED (OCTETS)Total Bytes...................................... 26779988164 byte pkts :91828165-127 byte pkts :354016 128-255 byte pkts :1283092256-511 byte pkts :8406 512-1023 byte pkts :30061024-1518 byte pkts :1184 1519-1530 byte pkts :0> 1530 byte pkts :2PACKETS RECEIVED SUCCESSFULLYTotal............................................ 2567987Unicast Pkts :2547844 Multicast Pkts:0 Broadcast Pkts:20143PACKETS RECEIVED WITH MAC ERRORSTotal............................................ 0Jabbers :0 Undersize :0 Alignment :0FCS Errors:0 Overruns :0RECEIVED PACKETS NOT FORWARDEDTotal............................................ 0Local Traffic Frames:0 RX Pause Frames :0Unacceptable Frames :0 VLAN Membership :0
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 23
CLI Commandsshow stats port
VLAN Viable Discards:0 MulticastTree Viable:0ReserveAddr Discards:0CFI Discards :0 Upstream Threshold :0PACKETS TRANSMITTED (OCTETS)Total Bytes...................................... 35383164 byte pkts :0 65-127 byte pkts :0128-255 byte pkts :0 256-511 byte pkts :0512-1023 byte pkts :0 1024-1518 byte pkts :21519-1530 byte pkts :0 Max Info :1522PACKETS TRANSMITTED SUCCESSFULLYTotal............................................ 5875Unicast Pkts :5868 Multicast Pkts:0 Broadcast Pkts:7TRANSMIT ERRORSTotal Errors..................................... 0FCS Error :0 TX Oversized :0 Underrun Error:0TRANSMIT DISCARDSTotal Discards................................... 0Single Coll Frames :0 Multiple Coll Frames:0Excessive Coll Frame:0 Port Membership :0VLAN Viable Discards:0PROTOCOL STATISTICSBPDUs Received :6 BPDUs Transmitted :0802.3x RX PauseFrame:0Time Since Counters Last Cleared............... 2 day 0 hr 39 min 59 sec
Related Commands config port adminmode
config port autoneg
config port linktrap
config port power
config port linktrap
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.424 OL-28147-01
CLI Commandsshow stats port
show stats switchTo display the network (DS port) receive and transmit statistics, use the show stats switch command.
show stats switch {detailed | summary}
Syntax Description Displays detailed switch statistics.detailed
Displays switch summary statistics.summary
Command Default None.
Examples This example shows how to display switch summary statistics:
> show stats switch summaryPackets Received Without Error................. 136410Broadcast Packets Received..................... 18805Packets Received With Error.................... 0Packets Transmitted Without Error.............. 78002Broadcast Packets Transmitted.................. 3340Transmit Packet Errors......................... 2Address Entries Currently In Use............... 26VLAN Entries Currently In Use.................. 1Time Since Counters Last Cleared............... 2 day 11 hr 22 min 17 sec
This example shows how to display detailed switch statistics:
> show stats switch detailedRECEIVEOctets........................................... 19351718Total Pkts....................................... 183468Unicast Pkts..................................... 180230Multicast Pkts................................... 3219Broadcast Pkts................................... 19Pkts Discarded................................... 0TRANSMITOctets........................................... 354251Total Pkts....................................... 5882Unicast Pkts..................................... 5875Multicast Pkts................................... 0Broadcast Pkts................................... 7Pkts Discarded................................... 0ADDRESS ENTRIESMost Ever Used................................... 1Currently In Use................................. 1VLAN ENTRIESMaximum.......................................... 128Most Ever Used................................... 1Static In Use.................................... 1Dynamic In Use................................... 0VLANs Deleted.................................... 0Time Since Ctrs Last Cleared..................... 2 day 0 hr 43 min 22 sec
Related Commands config switchconfig mode
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 25
CLI Commandsshow stats switch
config switchconfig secret-obfuscation
show switchconfig
Show mDNS CommandsUse the show mdns commands to display information about Multicast DNS (mDNS).
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.426 OL-28147-01
CLI CommandsShow mDNS Commands
show mdns profileTo display mDNS profile information, use the show mdns profile command.
show mdns profile {summary | detailed profile-name}
Syntax Description Displays the summary of themDNS profiles.
summary
Displays details of an mDNSprofile.
detailed
Name of the mDNS profile.profile-name
Command Default None.
Examples This example shows how to display the summary of all the mDNS profiles:> show mdns profile summaryNumber of Profiles............................... 2
ProfileName No. Of Services-------------------------------- ---------------default-mdns-profile 5profile1 2
This example shows how to display the detailed information of an mDNS profile:> show mdns profile detailed default-mdns-profile
Profile Name..................................... default-mdns-profileProfile Id....................................... 1No of Services................................... 5Services......................................... AirPrint
AppleTVHP_Photosmart_Printer_1HP_Photosmart_Printer_2Printer
No. Interfaces Attached.......................... 0No. Interface Groups Attached.................... 0No. Wlans Attached............................... 1Wlan Ids......................................... 1
Related Commands config mdns query interval
config mdns service
config mdns snooping
config interface mdns-profile
config interface group mdns-profile
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 27
CLI CommandsShow mDNS Commands
config wlan mdns
config mdns profile
show mnds service
clear mdns service-database
debug mdns all
debug mdns error
debug mdns detail
debug mdns message
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.428 OL-28147-01
CLI CommandsShow mDNS Commands
show mnds serviceTo display mDNS service information, use the show mnds service command.
show mnds service {summary | detailed service-name}
Syntax Description Displays the summary of all mDNSservices.
summary
Displays details of an mDNSservice.
detailed
Name of the mDNS service.service-name
Command Default None.
Examples This example shows how to display the summary of the mDNS services:> show mnds service summaryNumber of Services............................... 5
Service-Name Service-string-------------------------------- ---------------AirPrint _ipp._tcp.local.AppleTV _airplay._tcp.local.HP_Photosmart_Printer_1 _universal._sub._ipp._tcp.local.HP_Photosmart_Printer_2 _cups._sub._ipp._tcp.local.Printer _printer._tcp.local.
This example shows how to display the details of an mDNS service:> show mnds service detailed AirPrintService Name..................................... AirPrintService Id....................................... 1Service query status............................. EnabledNumber of Profiles............................... 2Profile.......................................... student-profile
guest-profile
Number of Service Providers ..................... 2Service Provider MAC-Address VLAN Type---------------- ----------- ------- ----user1 60:33:4b:2b:a6:9a 104 Wiredlaptopa 00:21:1b:ea:36:60 105 Wireless
Related Commands config mdns query interval
config mdns service
config mdns snooping
config interface mdns-profile
config interface group mdns-profile
config wlan mdns
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 29
CLI CommandsShow mDNS Commands
show mdns profile
config mdns profile
clear mdns service-database
debug mdns all
debug mdns error
debug mdns detail
debug mdns message
Config CommandsThis section lists the config commands to configure controller ports and interfaces.
Configure mDNS CommandsUse the config mdns commands to configure Multicast DNS (mDNS) settings on the controller.
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.430 OL-28147-01
CLI CommandsConfig Commands
config interface group mdns-profileTo configure an mDNS profile for an interface group, use the config interface groupmdns-profile command.
config interface group mdns-profile {all | interface-group-name} {profile-name | none}
Syntax Description Configures an mDNS profile for all interface groups.all
Name of the interface group to which the mDNS profile has to be associated.The interface group name can be up to 32 case-sensitive, alphanumericcharacters.
interface-group-name
Name of the mDNS profile.profile-name
Removes all existing mDNS profiles from the interface group. You cannotconfigure mDNS profiles on the interface group.
none
Command Default None.
Usage Guidelines If the mDNS profile is associated to a WLAN, an error appears.
Examples This example shows how to configure an mDNS profile for an interface group floor1:> config interface group mdns-profile floor1 profile1
Related Commands config mdns query interval
config mdns service
config mdns snooping
config interface mdns-profile
config mdns profile
config wlan mdns
show mdns profile
show mnds service
clear mdns service-database
debug mdns all
debug mdns error
debug mdns detail
debug mdns message
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 31
CLI CommandsConfigure mDNS Commands
config interface mdns-profileTo configure an mDNS profile for an interface, use the config interface mdns-profile command.
config interface mdns-profile {management | all interface-name} {profile-name | none}
Syntax Description Configures an mDNS profile for the management interface.management
Configures an mDNS profile for all interfaces.all
Name of the interface on which the mDNS profile has to be configured. Theinterface name can be up to 32 case-sensitive, alphanumeric characters.
interface-name
Name of the mDNS profile.profile-name
Removes all existing mDNS profiles from the interface. You cannot configuremDNS profiles on the interface.
none
Command Default None.
Usage Guidelines If the mDNS profile is associated to a WLAN, an error appears.
Examples This example shows how to configure an mDNS profile for an interface lab1:> config interface mdns-profile lab1 profile1
Related Commands config mdns query interval
config mdns service
config mdns snooping
config mdns profile
config interface group mdns-profile
config wlan mdns
show mdns profile
show mnds service
clear mdns service-database
debug mdns all
debug mdns error
debug mdns detail
debug mdns message
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.432 OL-28147-01
CLI CommandsConfigure mDNS Commands
Configure Macfilter CommandsUse the config macfilter commands to configure macfilter settings.
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 33
CLI CommandsConfigure Macfilter Commands
config macfilterTo create or delete aMAC filter entry on the Cisco wireless LAN controller, use the configmacfilter command.
configmacfilter {add client_MACwlan_id [interface_name] [description] [macfilter_IP] | delete client_MAC}
Syntax Description Adds a MAC filter entry on the controller.add
Client MAC address.client_MAC
Wireless LAN identifier with which the MAC filterentry should associate. A zero value associates the entrywith any wireless LAN.
wlan_id
(Optional) Name of the interface. Enter 0 to specify nointerface.
interface_name
(Optional) Short description of the interface (up to 32characters) in double quotes.
A description is mandatory if macfilterIP isspecified.
Note
description
(Optional) IP address of the local MAC filter database.macfilter_IP
Deletes a MAC filter entry on the controller.delete
Command Default None.
Usage Guidelines Use the config macfilter add command to add a client locally to a wireless LAN on the Cisco wireless LANcontroller. This filter bypasses the RADIUS authentication process.
Examples This example shows how to add a MAC filer entry 00:E0:77:31:A3:55 with the wireless LAN ID 1, interfacename labconnect, and MAC filter IP 10.92.125.51 on the controller:> config macfilter add 00:E0:77:31:A3:55 1 lab02 “labconnect” 10.92.125.51
Related Commands show macfilter
config macfilter ip-address
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.434 OL-28147-01
CLI CommandsConfigure Macfilter Commands
config macfilter descriptionTo add a description to a MAC filter, use the config macfilter description command.
config macfilter descriptionMAC description
Syntax Description Client MAC address.MAC
(Optional) Description within double quotes (up to 32 characters).description
Command Default None.
Examples This example shows how to set the description MAC filter 01 to MAC address 11:11:11:11:11:11:> config macfilter description 11:11:11:11:11:11 “MAC Filter 01”
Related Commands show macfilter
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 35
CLI CommandsConfigure Macfilter Commands
config macfilter interfaceTo create a MAC filter client interface, use the config macfilter interface command.
config macfilter interfaceMAC interface
Syntax Description Client MAC address.MAC
Interface name. A value of zero is equivalent to no name.interface
Command Default None.
Examples This example shows how to create a MAC filer interface Lab01 on client 11:11:11:11:11:11:
> config macfilter interface 11:11:11:11:11:11 Lab01
Related Commands show macfilter
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.436 OL-28147-01
CLI CommandsConfigure Macfilter Commands
config macfilter ip-addressTo assign an IP address to an existing MAC filter entry if one was not assigned using the config macfilteradd command, use the config macfilter ip-address command.
config macfilter ip-addressMAC_address IP_address
Syntax Description Client MAC address.MAC_address
IP address for a specific MAC address in the local MAC filter database.IP_address
Command Default None.
Examples This example shows how to specify IP address 10.92.125.51 for a MAC 00:E0:77:31:A3:55 in the local MACfilter database:> config macfilter ip-address 00:E0:77:31:A3:55 10.92.125.51
Related Commands show macfilter
config macfilter
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 37
CLI CommandsConfigure Macfilter Commands
config macfilter mac-delimiterTo set the MAC delimiter (colon, hyphen, none, and single-hyphen) for MAC addresses sent to RADIUSservers, use the config macfilter mac-delimiter command.
config macfilter mac-delimiter {none | colon | hyphen | single-hyphen}
Syntax Description Disables the delimiters (for example, xxxxxxxxxx).none
Sets the delimiter to a colon (for example, xx:xx:xx:xx:xx:xx).colon
Sets the delimiter to a hyphen (for example, xx-xx-xx-xx-xx-xx).hyphen
Sets the delimiter to a single hyphen (for example, xxxxxx-xxxxxx).single-hyphen
Command Default The default delimiter is hyphen.
Examples This example shows how to have the operating system send MAC addresses to the RADIUS server in theform aa:bb:cc:dd:ee:ff:> config macfilter mac-delimiter colon
This example shows how to have the operating system send MAC addresses to the RADIUS server in theform aa-bb-cc-dd-ee-ff:> config macfilter mac-delimiter hyphen
This example shows how to have the operating system send MAC addresses to the RADIUS server in theform aabbccddeeff:> config macfilter mac-delimiter none
Related Commands show macfilter
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.438 OL-28147-01
CLI CommandsConfigure Macfilter Commands
config macfilter radius-compatTo configure the Cisco wireless LAN controller for compatibility with selected RADIUS servers, use theconfig macfilter radius-compat command.
config macfilter radius-compat {Cisco | free | other}
Syntax Description Configures the Cisco ACS compatibility mode (password is the MACaddress of the server).
Cisco
Configures the Free RADIUS server compatibility mode (password issecret).
free
Configures for other server behaviors (no password is necessary).other
Command Default Other.
Examples This example shows how to configure the Cisco ACS compatibility mode to “other”:
> config macfilter radius-compat other
Related Commands show macfilter
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 39
CLI CommandsConfigure Macfilter Commands
config macfilter wlan-idTo modify a wireless LAN ID for a MAC filter, use the config macfilter wlan-id command.
config macfilter wlan-idMAC wlan_id
Syntax Description Client MAC address.MAC
Wireless LAN identifier to associate with. A value of zero is not allowed.wlan_id
Command Default None.
Examples This example shows how to modify client wireless LAN ID 2 for a MAC filter 11:11:11:11:11:11:
> config macfilter wlan-id 11:11:11:11:11:11 2
Related Commands show macfilter
show wlan
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.440 OL-28147-01
CLI CommandsConfigure Macfilter Commands
config macfilter wlan-idTo modify a wireless LAN ID for a MAC filter, use the config macfilter wlan-id command.
config macfilter wlan-idMAC wlan_id
Syntax Description Client MAC address.MAC
Wireless LAN identifier to associate with. A value of zero is not allowed.wlan_id
Command Default None.
Examples This example shows how to modify client wireless LAN ID 2 for a MAC filer 11:11:11:11:11:11:
> config macfilter wlan-id 11:11:11:11:11:11 2
Related Commands show macfilter
show wlan
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 41
CLI CommandsConfigure Macfilter Commands
Configure Port CommandsUse the config port commands to configure port settings.
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.442 OL-28147-01
CLI CommandsConfigure Port Commands
config port adminmodeTo enable or disable the administrative mode for a specific controller port or for all ports, use the config portadminmode command.
config port adminmode {all | port} {enable | disable}
Syntax Description Configures all ports.all
Number of the port.port
Enables the specified ports.enable
Disables the specified ports.disable
Command Default Enabled.
Examples This example shows how to disable port 8:
> config port adminmode 8 disable
This example shows how to enable all ports:
> config port adminmode all enable
Related Commands config port autoneg
config port linktrap
config port multicast appliance
config port physicalmode
config port power
show port
transfer download port
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 43
CLI CommandsConfigure Port Commands
config port autonegTo configure 10/100BASE-T Ethernet ports for physical port autonegotiation, use the config port autonegcommand.
config port autoneg {all | port} {enable | disable}
Syntax Description Configures all ports.all
Number of the port.port
Enables the specified ports.enable
Disables the specified ports.disable
Command Default The default for all ports is that autonegotiation is enabled.
Usage Guidelines You must disable port autoconfiguration before you make physical mode manual settings by using the configport physicalmode command. The config port autoneg command overrides settings that you made usingthe config port physicalmode command.
Examples This example shows how to turn on physical port autonegotiation for all front-panel Ethernet ports:
> config port autoneg all enable
This example shows how to disable physical port autonegotiation for front-panel Ethernet port 19:
> config port autoneg 19 disable
Related Commands config port adminmode
config port linktrap
config port multicast appliance
config port physicalmode
config port power
show port
transfer download port
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.444 OL-28147-01
CLI CommandsConfigure Port Commands
config port linktrapTo enable or disable the up and down link traps for a specific controller port or for all ports, use the configport linktrap command.
config port linktrap {all | port} {enable | disable}
Syntax Description Configures all ports.all
Number of the port.port
Enables the specified ports.enable
Disables the specified ports.disable
Command Default Enabled.
Examples This example shows how to disable port 8 traps:
> config port linktrap 8 disable
This example shows how to enable all port traps:
> config port linktrap all enable
Related Commands config port adminmode
config port linktrap
config port multicast appliance
config port physicalmode
config port power
show port
transfer download port
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 45
CLI CommandsConfigure Port Commands
config port multicast applianceTo enable or disable the multicast appliance service for a specific controller port or for all ports, use the configport multicast appliance commands.
config port multicast appliance {all | port} {enable | disable}
Syntax Description Configures all ports.all
Number of the port.port
Enables the specified ports.enable
Disables the specified ports.disable
Command Default Enabled.
Examples This example shows how to enable multicast appliance service on all ports:
> config port multicast appliance all enable
This example shows how to disable multicast appliance service on port 8:
> config port multicast appliance 8 disable
Related Commands config port adminmode
config port autoneg
config port linktrap
config port physicalmode
config port power
show port
transfer download port
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.446 OL-28147-01
CLI CommandsConfigure Port Commands
config port powerTo enable or disable Power over Ethernet (PoE) for a specific controller port or for all ports, use the configport power command.
config port power {all | port} {enable | disable}
Syntax Description Configures all ports.all
Port number.port
Enables the specified ports.enable
Disables the specified ports.disable
Command Default Enabled.
Examples This example shows how to enable PoE on all ports:
> config port power all enable
This example shows how to disable PoE on port 8:
> config port power 8 disable
Related Commands config port adminmode
config port autoneg
config port linktrap
config port physicalmode
config port power
show port
transfer download port
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 47
CLI CommandsConfigure Port Commands
Configure Spanning Tree Protocol CommandsUse the config spanningtree commands to configure Spanning Tree Protocol settings.
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.448 OL-28147-01
CLI CommandsConfigure Spanning Tree Protocol Commands
config spanningtree port modeTo turn fast or 802.1D Spanning Tree Protocol (STP) on or off for one or all Cisco wireless LAN controllerports, use the config spanningtree port mode command.
config spanningtree port mode {off | 802.1d | fast} {port | all}
Syntax Description Disables STP for the specified ports.off
Specifies a supported port mode as 802.1D.802.1d
Specifies a supported port mode as fast.fast
Port number (1 through 12 or 1 through 24).port
Configures all ports.all
Command Default The default is that port STP is off.
Usage Guidelines When the Cisco 4400 SeriesWireless LANController is configured for port redundancy, STPmust be disabledfor all ports on the controller. STP can remain enabled on the switch connected to the controller.
Entering this command allows the controller to set up STP, detect logical network loops, place redundantports on standby, and build a network with the most efficient pathways.
Examples This example shows how to disable STP for all Ethernet ports:
> config spanningtree port mode off all
This example shows how to turn on STP 802.1D mode for Ethernet port 24:
> config spanningtree port mode 802.1d 24This example shows how to turn on fast STP mode for Ethernet port 2:
> config spanningtree port mode fast 2
Related Commands show spanningtree port
config spanningtree switch mode
config spanningtree port pathcost
config spanningtree port priority
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 49
CLI CommandsConfigure Spanning Tree Protocol Commands
config spanningtree port pathcostTo set the Spanning Tree Protocol (STP) path cost for an Ethernet port, use the config spanningtree portpathcost command.
config spanningtree port pathcost {cost | auto} {port | all}
Syntax Description Cost in decimal as determined by the network planner.cost
Specifies the default cost.auto
Port number (1 through 12 or 1 through 24), or all to configure all ports.port
Specifies to configure all ports.all
Command Default Auto.
Usage Guidelines When the Cisco 4400 SeriesWireless LANController is configured for port redundancy, STPmust be disabledfor all ports on the controller. STP can remain enabled on the switch that is connected to the controller.
Examples This example shows how to have the STP algorithm automatically assign a path cost for all ports:
> config spanningtree port pathcost auto all
This example shows how to have the STP algorithm use a port cost of 200 for port 22:
> config spanningtree port pathcost 200 22
Related Commands show spanningtree port
config spanningtree port mode
config spanningtree port priority
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.450 OL-28147-01
CLI CommandsConfigure Spanning Tree Protocol Commands
config spanningtree port priorityTo configure the Spanning Tree Protocol (STP) port priority, use the config spanningtree port prioritycommand.
config spanningtree port priority priority_num port
Syntax Description Priority number from 0 to 255.priority_num
Port number (1 through 12 or 1 through 24).port
Command Default The default STP priority is 128.
Usage Guidelines When the Cisco 4400 SeriesWireless LANController is configured for port redundancy, STPmust be disabledfor all ports on the controller. STP can remain enabled on the switch connected to the controller.
Examples This example shows how to set Ethernet port 2 to STP priority 100:
> config spanningtree port priority 100 2
Related Commands show spanningtree port
config spanningtree switch mode
config spanningtree port mode
config spanningtree port pathcost
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 51
CLI CommandsConfigure Spanning Tree Protocol Commands
config spanningtree switch bridgepriorityTo set the bridge ID, use the config spanningtree switch bridgepriority command.
config spanningtree switch bridgepriority priority_num
Syntax Description Priority number between 0 and 65535.priority_num
Command Default The default is 32768.
Usage Guidelines
When the Cisco 4400 Series Wireless LAN Controller is configured for port redundancy, STP must bedisabled for all ports on the controller. STP can remain enabled on the switch connected to the controller.
Note
The value of the writable portion of the Bridge ID, that is, the first two octets of the (8 octet long) Bridge ID.The other (last) 6 octets of the Bridge ID are given by the value of Bridge MAC address. The value may bespecified as a number between 0 and 65535.
Examples This example shows how to configure spanning tree values on a per switch basis with the bridge priority40230:
> config spanningtree switch bridgepriority 40230
Related Commands show spanningtree switch
config spanningtree switch forwarddelay
config spanningtree switch hellotime
config spanningtree switch maxage
config spanningtree switch mode
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.452 OL-28147-01
CLI CommandsConfigure Spanning Tree Protocol Commands
config spanningtree switch forwarddelayTo set the bridge timeout, use the config spanningtree switch forwarddelay command.
config spanningtree switch forwarddelay seconds
Syntax Description Timeout in seconds (between 4 and 30).seconds
Command Default The default is 15.
Usage Guidelines The value that all bridges use for forward delay when this bridge is acting as the root. 802.1D-1990 specifiesthat the range for this setting is related to the value of the STP bridge maximum age. The granularity of thistimer is specified by 802.1D-1990 to be 1 second. An agent may return a badValue error if a set is attemptedto a value that is not a whole number of seconds. The default is 15. Valid values are 4 through 30 seconds.
Examples This example shows how to configure spanning tree values on a per switch basis with the bridge timeout as20 seconds:
> config spanningtree switch forwarddelay 20
Related Commands show spanningtree switch bridgepriority
config spanningtree switch flowcontrol
config spanningtree switch hellotime
config spanningtree switch maxage
config spanningtree switch mode
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 53
CLI CommandsConfigure Spanning Tree Protocol Commands
config spanningtree switch hellotimeTo set the hello time, use the config spanningtree switch hellotime command.
config spanningtree switch hellotime seconds
Syntax Description STP hello time in seconds.seconds
Command Default The default is 15.
Usage Guidelines All bridges use this value for HelloTime when this bridge is acting as the root. The granularity of this timeris specified by 802.1D- 1990 to be 1 second. Valid values are 1 through 10 seconds.
Examples This example shows how to configure the STP hello time to 4 seconds:
> config spanningtree switch hellotime 4
Related Commands show spanningtree switch
show spanningtree switch bridgepriority
config spanningtree switch forwarddelay
config spanningtree switch maxage
config spanningtree switch mode
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.454 OL-28147-01
CLI CommandsConfigure Spanning Tree Protocol Commands
config spanningtree switch maxageTo set the maximum age, use the config spanningtree switch maxage command.
config spanningtree switch maxage seconds
Syntax Description STP bridge maximum age in seconds.seconds
Command Default The default is 20.
Usage Guidelines All bridges use this value for MaxAge when this bridge is acting as the root. 802.1D-1990 specifies that therange for this parameter is related to the value of Stp Bridge Hello Time. The granularity of this timer isspecified by 802.1D-1990 to be 1 second. Valid values are 6 through 40 seconds.
Examples This example shows how to configure the STP bridge maximum age to 30 seconds:
> config spanningtree switch maxage 30
Related Commands show spanningtree switch
config spanningtree switch bridgepriority
config spanningtree switch forwarddelay
config spanningtree switch hellotime
config spanningtree switch mode
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 55
CLI CommandsConfigure Spanning Tree Protocol Commands
config spanningtree switch modeTo turn the Cisco wireless LAN controller Spanning Tree Protocol (STP) on or off, use the config spanningtreeswitch mode command.
config spanningtree switch mode {enable | disable}
Syntax Description Enables STP on the switch.enable
Disables STP on the switch.disable
Command Default The default is that STP is disabled.
Usage Guidelines Using this command allows the controller to set up STP, detect logical network loops, place redundant portson standby, and build a network with the most efficient pathways.
Examples This example shows how to support STP on all Cisco wireless LAN controller ports:
> config spanningtree switch mode enable
Related Commands show spanningtree switch
config spanningtree switch bridgepriority
config spanningtree switch forwarddelay
config spanningtree switch hellotime
config spanningtree switch maxage
Config Interface Commands
Config Interface CommandsThis section lists the config interfacecommands to configure controller interfaces.
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.456 OL-28147-01
CLI CommandsConfig Interface Commands
config interface aclTo configure an interface’s access control list, use the config interface acl command.
config interface acl {ap-manager |management | interface_name} {ACL | none}
Syntax Description Configures the access point manager interface.ap-manager
Configures the management interface.management
Interface name.interface_name
ACL name up to 32 alphanumeric characters.ACL
Specifies none.none
Command Default None.
Usage Guidelines For a Cisco 2100 SeriesWireless LANController, you must configure a preauthentication ACL on the wirelessLAN for the external web server. This ACL should then be set as a wireless LAN preauthentication ACLunder Web Policy. However, you do not need to configure any preauthentication ACL for Cisco 4400 SeriesWireless LAN Controllers.
Examples This example shows how to configure an access control list with a value None:
> config interface acl management none
Related Commands show interface
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 57
CLI CommandsConfig Interface Commands
config interface addressTo configure address information for an interface, use the config interface address command.
config interface address {ap-manager IP_address netmask gateway |management IP_address netmaskgateway | service-port IP_address netmask | virtual IP_address | dynamic-interface IP_addressdynamic_interface netmask gateway | redundancy-management IP_address peer-redundancy-managementIP_address }
Syntax Description Specifies the access point manager interface.ap-manager
IP address.IP_address
Network mask.netmask
IP address of the gateway.gateway
Specifies the management interface.management
Specifies the out-of-band service port interface.service-port
Specifies the virtual gateway interface.virtual
Specifies the interface identified by the interface-name parameter.interface-name
Interface name.interface-name
Configures redundancy management interface IP address.redundancy-management
Configures the peer redundancy management interface IP address.peer-redundancy-management
Command Default None.
Usage Guidelines For Cisco 5500 Series Controllers, you are not required to configure an AP-manager interface. Themanagementinterface acts like an AP-manager interface by default.
Usage Guidelines Ensure that the management interfaces of both controllers are in the same subnet. Ensure that the RedundantManagement IP address for both controllers is the same. Likewise, ensure that the Peer RedundantManagementIP address for both the controllers is the same.
Examples This example shows how to configure an access point manager interface with IP address 209.165.201.31,network mask 255.255.0.0, and gateway address 209.165.201.30:> config interface address ap-manager 209.165.201.31 255.255.0.0 209.165.201.30
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.458 OL-28147-01
CLI CommandsConfig Interface Commands
This example shows how to configure a redundancy management interface on the controller:> config interface address redundancy-management 209.4.120.5 peer-redundancy-management209.4.120.6
This example shows how to configure a virtual interface:> config interface address virtual 1.1.1.1
Related Commands show interface
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 59
CLI CommandsConfig Interface Commands
config interface address redundancy-managementTo configure the management interface IP addresses of the active and standby controllers, use the configinterface address redundancy-management command.
config interface address redundancy-management IP_address1peer-redundancy-management IP_address2
Syntax Description Management interface IP addressof the active controller.
IP_address1
Specifies themanagement interfaceIP address of the peer controller.
peer-redundancy-management
Management interface IP addressof the peer controller.
IP_address2
Command Default None.
Usage Guidelines You can use this command to check the Active-Standby reachability when the keep-alive fails and to configurean alias IP for the management port of the controller. Both the IP addresses must be in the same subnet.
Examples This example shows how to configure the management IP addresses of the active and standby controllers:
> config interface address redundancy-management 209.165.201.30 peer-redundancy-management209.165.201.31
Related Commands config redundancy mobilitymac
config redundancy interface address peer-service-port
config redundancy peer-route
config redundancy unit
config redundancy timer
show redundancy timers
show redundancy summary
debug rmgr
debug rsyncmgr
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.460 OL-28147-01
CLI CommandsConfig Interface Commands
config interface ap-managerTo enable or disable access point manager features on the management or dynamic interface, use the configinterface ap-manager command.
config interface ap-manager {management | interface_name} {enable | disable}
Syntax Description Specifies the management interface.management
Dynamic interface name.interface_name
Enables access point manager features on a dynamic interface.enable
Disables access point manager features on a dynamic interface.disable
Command Default None.
Usage Guidelines Use themanagement option to enable or disable dynamic AP management for the management interface.For Cisco 5500 Series Controllers, the management interface acts like an AP-manager interface by default.If desired, you can disable the management interface as an AP-manager interface and create another dynamicinterface as an AP manager.
When you enable this feature for a dynamic interface, the dynamic interface is configured as an AP-managerinterface (only one AP-manager interface is allowed per physical port). A dynamic interface that is markedas an AP-manager interface cannot be used as a WLAN interface.
Examples This example shows how to disable an access point manager myinterface:
> config interface ap-manager myinterface disable
Related Commands show interface
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 61
CLI CommandsConfig Interface Commands
config interface createTo create a dynamic interface (VLAN) for wired guest user access, use the config interface create command.
config interface create interface_name vlan-id
Syntax Description Interface name.interface_name
VLAN identifier.vlan-id
Command Default None.
Examples This example shows how to create a dynamic interface with the interface named lab2 and VLAN ID 6:
> config interface create lab2 6
Related Commands show interface
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.462 OL-28147-01
CLI CommandsConfig Interface Commands
config interface deleteTo delete a dynamic interface, use the config interface delete command.
config interface delete interface-name
Syntax Description Interface name.interface-name
Command Default None.
Examples This example shows how to delete a dynamic interface named VLAN501:
> config interface delete VLAN501
Related Commands show interface
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 63
CLI CommandsConfig Interface Commands
config interface dhcpTo configure DHCP options on an interface, use the config interface dhcp command.
config interface dhcp {ap-manager [primary dhcp_server secondary dhcp_server | option-82 [enable |disable] ] |management [primary dhcp_server secondary dhcp_server | option-82 [enable | disable] ] |service-port {enable | disable} | dynamic-interfaceinterface_name [primary dhcp_server secondarydhcp_server | option-82 [enable | disable] | proxy-mode {enable | disable | global}]}
Syntax Description Configures the access point manager interface.ap-manager
(Optional) Specifies the primary DHCP server.primary
IP address of the server.dhcp_server
(Optional) Specifies the secondary DHCP server.secondary
(Optional) Configures DHCP Option 82 on theinterface.
option-82
(Optional) Enables the feature.enable
(Optional) Disables the feature.disable
Configures the management interface.management
Specifies the DHCP for the out-of-band service port.service-port
Specifies the interface and the primary DHCP server.Optionally, you can also enter the address of thealternate DHCP server.
dynamic-interface
Specifies the interface namename
(Optional) Configures the DHCP proxy mode on theinterface.
proxy-mode
(Optional) Enables the DHCP proxy mode on theinterface.
enable
(Optional) Disables the DHCP proxy mode on theinterface.
disable
(Optional) Uses the global DHCP proxy mode on theinterface.
global
Command Default None.
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.464 OL-28147-01
CLI CommandsConfig Interface Commands
Examples This example shows how to configure ap-manager server with the primary DHCP server 10.21.15.01 andsecondary DHCP server 10.21.15.25:
> config interface dhcp ap-manager server-1 10.21.15.01 server-2 10.21.15.25This example shows how to configure DHCP option 82 on the ap-manager:> config interface dhcp ap-manager option-82 enable
This example shows how to enable the DHCP for the out-of-band service port:
> config interface dhcp service-port enable
Related Commands config dhcp
config dhcp proxy
config interface dhcp
config wlan dhcp_server
debug dhcp
debug dhcp service-port
debug disable-all
show dhcp
show dhcp proxy
show interface
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 65
CLI CommandsConfig Interface Commands
config interface addressTo configure interface groups, use the config interface group command.
config interface address {dynamic-interface dynamic_interface netmask gateway |management |redundancy-management IP_address peer-redundancy-management | service-port netmask | virtual}IP_address
Syntax Description Configures the dynamic interface of the controller.dynamic-interface
Dynamic interface of the controller.dynamic_interface
IP address of the interface.IP_address
Netmask of the interface.netmask
Gateway of the interface.gateway
Configures the management interface IP address.management
Configures redundancy management interface IP address.redundancy-management
Configures the peer redundancy management interface IPaddress.
peer-redundancy-management
Configures the out-of-band service port.service-port
Configures the virtual gateway interface.virtual
Command Default None.
Usage Guidelines Ensure that the management interfaces of both controllers are in the same subnet. Ensure that the RedundantManagement IP address for both controllers is the same. Likewise, ensure that the Peer RedundantManagementIP address for both the controllers is the same.
Examples This example shows how to configure a redundancy management interface on the controller:> config interface address redundancy-management 209.4.120.5 peer-redundancy-management209.4.120.6
This example shows how to configure a virtual interface:> config interface address virtual 1.1.1.1
Related Commands show interface group summary
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.466 OL-28147-01
CLI CommandsConfig Interface Commands
show interface summary
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 67
CLI CommandsConfig Interface Commands
config interface guest-lanTo enable or disable the guest LAN VLAN, use the config interface guest-lan command.
config interface guest-lan interface_name {enable | disable}
Syntax Description Interface name.interface_name
Enables the guest LAN.enable
Disables the guest LAN.disable
Command Default None.
Examples This example shows how to enable the guest LAN feature on the interface named myinterface:
> config interface guest-lan myinterface enable
Related Commands config guest-lan create
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.468 OL-28147-01
CLI CommandsConfig Interface Commands
config interface hostnameTo configure the Domain Name System (DNS) hostname of the virtual gateway interface, use the configinterface hostname command.
config interface hostname virtual DNS_host
Syntax Description Specifies the virtual gateway interface to use the specified virtual address of thefully qualified DNS name.
The virtual gateway IP address is any fictitious, unassigned IP address, such as1.1.1.1, to be used by Layer 3 security and mobility managers.
virtual
DNS hostname.DNS_host
Command Default None.
Examples This example shows how to configure virtual gateway interface to use the specified virtual address of the fullyqualified DNS hostname DNS_Host:
> config interface hostname virtual DNS_Host
Related Commands show interface
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 69
CLI CommandsConfig Interface Commands
config interface nasidTo configure the Network Access Server identifier (NAS-ID) for the interface, use the config interface nasidcommand.
config interface nasid {NAS-ID | none} interface_name
Syntax Description Network Access Server identifier (NAS-ID) for theinterface. The NAS-ID is sent to the RADIUS server bythe controller (as a RADIUS client) using theauthentication request, which is used to classify users todifferent groups. You can enter up to 32 alphanumericcharacters.
Beginning in Release 7.4 and later releases, you canconfigure the NAS-ID on the interface, WLAN, or anaccess point group. The order of priority is AP groupNAS-ID > WLAN NAS-ID > Interface NAS-ID.
NAS-ID
Configures the controller system name as the NAS-ID.none
Interface name up to 32 alphanumeric characters.interface_name
Command Default None.
Usage Guidelines The NAS-ID configured on the controller for AP group or WLAN or interface is used for authentication. TheNAS-ID is not propagated across controllers.
Examples This example shows how to configure the NAS-ID for the interface:> config interface nasid
Related Commands config wlan nasid
config wlan apgroup
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.470 OL-28147-01
CLI CommandsConfig Interface Commands
config interface nat-addressTo deploy your Cisco 5500 Series Controller behind a router or other gateway device that is using one-to-onemapping network address translation (NAT), use the config interface nat-address command.
config interface nat-address {management | dynamic-interface interface_name} {{enable | disable} | {setpublic_IP_address}}
Syntax Description Specifies the management interface.management
Specifies the dynamic interface name.dynamic-interfaceinterface_name
Enables one-to-one mapping NAT on the interface.enable
Disables one-to-one mapping NAT on the interface.disable
External NAT IP address.public_IP_address
Command Default None.
Usage Guidelines These NAT commands can be used only on Cisco 5500 Series Controllers and only if the management interfaceis configured for dynamic AP management.
These commands are supported for use only with one-to-one-mapping NAT, where each private client has adirect and fixed mapping to a global address. They do not support one-to-many NAT, which uses source portmapping to enable a group of clients to be represented by a single IP address.
Examples This example shows how to enable one-to-one mapping NAT on the management interface:
> config interface nat-address management enableThis example shows how to set the external NAP IP address 10.10.10.10 on the management interface:
> config interface nat-address management set 10.10.10.10
Related Commands show interface
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 71
CLI CommandsConfig Interface Commands
config interface portTo map a physical port to the interface (if a link aggregation trunk is not configured), use the config interfaceport command.
config interface port {management | interface_name} primary_port [secondary_port]
Syntax Description Specifies the management interface.management
Interface name.interface_name
Primary physical port number.primary_port
(Optional) Secondary physical port number.secondary_port
Command Default None.
Usage Guidelines You can use themanagement option for all controllers except the Cisco 5500 Series Controllers.
Examples This example shows how to configure the LAb02 interface’s primary port number to 3:
> config interface port lab02 3
Related Commands show interface
config interface create
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.472 OL-28147-01
CLI CommandsConfig Interface Commands
config interface quarantine vlanTo configure a quarantine VLAN on any dynamic interface, use the config interface quarantine vlancommand.
config interface quarantine vlan interface-name vlan_id
Syntax Description Interface’s name.interface-name
VLAN identifier.
Enter 0 to disable quarantineprocessing.
Note
vlan_id
Command Default None.
Examples This example shows how to configure a quarantine VLAN on the quarantine interface with the VLAN ID 10:
> config interface quarantine vlan quarantine 10
Related Commands show interface
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 73
CLI CommandsConfig Interface Commands
config interface vlanTo configure an interface’s VLAN identifier, use the config interface vlan command.
config interface vlan {ap-manager |management | interface-name} vlan
Syntax Description Configures the access point manager interface.ap-manager
Configures the management interface.management
Interface name.interface_name
VLAN identifier.vlan
Command Default None.
Examples This example shows how to configure VLAN ID 10 on the management interface:
> config interface vlan management 10
Related Commands show interface
Other Configure CommandsThis section lists the other config commands to configure controller ports and interfaces.
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.474 OL-28147-01
CLI CommandsOther Configure Commands
config advanced statisticsTo enable or disable the Cisco wireless LAN controller port statistics collection, use the config advancedstatistics command.
config advanced statistics {enable | disable}
Syntax Description Enables the switch port statistics collection.enable
Disables the switch port statistics collection.disable
Command Default Enabled.
Examples This example shows how to disable the switch port statistics collection settings:
> config advanced statistics disable
Related Commands show advanced statistics
show stats port
show stats switch
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 75
CLI CommandsOther Configure Commands
config interface groupTo add an interface to the existing interface group, use the config interface group command.
config interface group {create interface-group-name interface-group-description} | {deleteinterface-group-name} | {interface {add | delete} interface-group-name interface-name} | {descriptioninterface-group-name interface-group-description}
Syntax Description Adds a new interface group.create
Interface group’s name.interface-group-name
Interface group’s description to be entered within double-quotes. You canenter up to 32 characters.
interface-group-description
Deletes an interface group.delete
Edits the list of interface represented by the interface group.interface
Adds a new interface to the interface group.add
Deletes an interface from the interface group.delete
Configures the description for an interface group.description
Command Default None.
Examples This example shows how to create a new interface group with the name int-grp-10:> config interface group create int-grp-10 “for wlan1”
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.476 OL-28147-01
CLI CommandsOther Configure Commands
config lagTo enable or disable link aggregation (LAG), use the config lag command.
config lag {enable | disable}
Syntax Description Enables the link aggregation (LAG) settings.enable
Disables the link aggregation (LAG) settings.disable
Command Default None.
Examples This example shows how to enable LAG settings:
> config lag enableEnabling LAG will map your current interfaces setting to LAG interface,All dynamic AP Manager interfaces and Untagged interfaces will be deletedAll WLANs will be disabled and mapped to Mgmt interfaceAre you sure you want to continue? (y/n)You must now reboot for the settings to take effect.
This example shows how to disable LAG settings:
> config lag disableDisabling LAG will map all existing interfaces to port 1.Are you sure you want to continue? (y/n)You must now reboot for the settings to take effect.
Related Commands show lag summary
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 77
CLI CommandsOther Configure Commands
config route addTo configure a network route from the service port to a dedicated workstation IP address range, use the configroute add command.
config route add ip_address netmask gateway
Syntax Description Network IP address.ip_address
Subnet mask for the network.netmask
IP address of the gateway for the route network.gateway
Command Default None.
Examples This example shows how to configure a network route to a dedicated workstation IP address 10.1.1.0, subnetmask 255.255.255.0, and gateway 10.1.1.1:
> config route add 10.1.1.0 255.255.255.0 10.1.1.1
Related Commands show route summary
config route delete
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.478 OL-28147-01
CLI CommandsOther Configure Commands
config route deleteTo remove a network route from the service port, use the config route delete command.
config route delete ip_address
Syntax Description Network IP address.ip_address
Command Default None.
Examples This example shows how to delete a route from the network IP address 10.1.1.0:
> config route delete 10.1.1.0
Related Commands show route all config route add
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 79
CLI CommandsOther Configure Commands
config serial baudrateTo set the serial port baud rate, use the config serial baudrate command.
config serial baudrate {1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 57600}
Syntax Description Specifies the supported connection speeds to 1200.1200
Specifies the supported connection speeds to 2400.2400
Specifies the supported connection speeds to 4800.4800
Specifies the supported connection speeds to 9600.9600
Specifies the supported connection speeds to 19200.19200
Specifies the supported connection speeds to 38400.38400
Specifies the supported connection speeds to 57600.57600
Command Default 9600.
Examples This example shows how to configure a serial baud rate with the default connection speed of 9600:
> config serial baudrate 9600
Related Commands config serial timeout
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.480 OL-28147-01
CLI CommandsOther Configure Commands
config serial timeoutTo set the timeout of a serial port session, use the config serial timeout command.
config serial timeout minutes
Syntax Description Timeout in minutes from 0 to 160. A value of 0 indicates no timeout.minutes
Command Default 0 (no timeout).
Usage Guidelines Use this command to set the timeout for a serial connection to the front of the Cisco wireless LAN controllerfrom 0 to 160 minutes where 0 is no timeout.
Examples This example shows how to configure the timeout of a serial port session to 10 minutes:
> config serial timeout 10
Related Commands config serial timeout
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 81
CLI CommandsOther Configure Commands
clear stats portTo clear statistics counters for a specific port, use the clear stats port command.
clear stats port port
Syntax Description Physical interface port number.port
Command Default None.
Examples This example shows how to clear the statistics counters for port 9:
> clear stats port 9
Related Commands clear transfer
clear download datatype
clear download filename
clear download mode
clear download serverip
clear download start
clear upload datatype
clear upload filename
clear upload mode
clear upload path
clear upload serverip
clear upload start
clear stats port
Debug CommandsThis section lists the debug commands to manage debugging of controller ports and interfaces.
Debug commands are reserved for use only under the direction of Cisco personnel. Do not use thesecommands without direction from Cisco-certified staff.
Caution
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.482 OL-28147-01
CLI Commandsclear stats port
debug mdns allTo debug all multicast DNS (mDNS) messages, details, and errors, use the debug mdns all command.
debug mdns all {enable | disable}
Syntax Description Enables the debug of all mDNS messages, details, and errors.enable
Disables the debug of all mDNS messages, details, and errors.disable
Command Default Disabled.
Examples This example shows how to enable the debug of all mDNS messages, details, and errors:> debug mdns all enable
Related Commands config mdns profile
config mdns query interval
config mdns service
config mdns snooping
config interface mdns-profile
config interface group mdns-profile
config wlan mdns
show mdns profile
show mnds service
clear mdns service-database
debug mdns error
debug mdns detail
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 83
CLI Commandsdebug mdns all
debug mdns detailTo debug mDNS details, use the debug mdns detail command.
debug mdns detail {enable | disable}
Syntax Description Enables the debug of mDNS details.enable
Disables the debug of mDNS details.disable
Command Default Disabled.
Examples This example shows how to enable the debug of mDNS details:> debug mdns detail enable
Related Commands config mdns profile
config mdns query interval
config mdns service
config mdns snooping
config interface mdns-profile
config interface group mdns-profile
config wlan mdns
show mdns profile
show mnds service
clear mdns service-database
debug mdns all
debug mdns error
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.484 OL-28147-01
CLI Commandsdebug mdns detail
debug mdns errorTo debug mDNS errors, use the debug mdns error command.
debug mdns error {enable | disable}
Syntax Description Enables the debug of mDNS errors.enable
Disables the debug of mDNS errors.disable
Command Default Disabled.
Examples This example shows how to enable the debug of mDNS errors:> debug mdns error enable
Related Commands config mdns profile
config mdns query interval
config mdns service
config mdns snooping
config interface mdns-profile
config interface group mdns-profile
config wlan mdns
show mdns profile
show mnds service
clear mdns service-database
debug mdns all
debug mdns detail
debug mdns message
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.4 OL-28147-01 85
CLI Commandsdebug mdns error
debug mdns messageTo debug mDNS messages, use the debug mdns message command.
debug mdns message {enable | disable}
Syntax Description Enables the debug of mDNS messages.enable
Disables the debug of mDNS messages.disable
Command Default Disabled.
Examples This example shows how to enable the debug of mDNS messages:> debug mdns message enable
Related Commands config mdns profile
config mdns query interval
config mdns service
config mdns snooping
config interface mdns-profile
config interface group mdns-profile
config wlan mdns
show mdns profile
show mnds service
clear mdns service-database
debug mdns all
debug mdns error
debug mdns detail
Cisco Wireless LAN Controller Port and Interface Command Reference, Release 7.486 OL-28147-01
CLI Commandsdebug mdns message