To enable authentication, authorization, and accounting (AAA) accounting and to create method lists defining specific accounting methods on a per-line or per-interface basis for IEEE 802.1x sessions, use the aaa accounting dot1x global configuration command. Use the no form of this command to disable IEEE 802.1x accounting.
aaa accounting dot1x {
name |
default }
start-stop {
broadcast group {
name |
radius |
tacacs+}
[
group {
name |
radius |
tacacs+}
...
]
|
group {
name |
radius |
tacacs+}
[
group {
name |
radius |
tacacs+}
... ]}
no aaa accounting dot1x {
name |
default }
Syntax Description
name
Name of a server group. This is optional when you enter it after the broadcast group and group keywords.
default
Specifies the accounting methods that follow as the default list for accounting services.
start-stop
Sends a start accounting notice at the beginning of a process and a stop accounting notice at the end of a process. The start accounting record is sent in the background. The requested user process begins regardless of whether or not the start accounting notice was received by the accounting server.
broadcast
Enables accounting records to be sent to multiple AAA servers and sends accounting records to the first server in each group. If the first server is unavailable, the switch uses the list of backup servers to identify the first server.
group
Specifies the server group to be used for accounting services. These are valid server group names:
name — Name of a server group.
radius — Lists of all RADIUS hosts.
tacacs+ — Lists of all TACACS+ hosts.
The group keyword is optional when you enter it after the broadcast group and group keywords. You can enter more than optional group keyword.
radius
(Optional) Enables RADIUS accounting.
tacacs+
(Optional) Enables TACACS+ accounting.
Command Default
AAA accounting is disabled.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
This command requires access to a RADIUS server.
We recommend that you enter the dot1x reauthentication interface configuration command before configuring IEEE 802.1x RADIUS accounting on an interface.
Examples
This example shows how to configure IEEE 802.1x accounting:
Switch(config)# aaa new-modelSwitch(config)# aaa accounting dot1x default start-stop group radius
aaa accounting identity
To enable authentication, authorization, and accounting (AAA) accounting for IEEE 802.1x, MAC authentication bypass (MAB), and web authentication sessions, use the aaa accounting identity global configuration command. Use the no form of this command to disable IEEE 802.1x accounting.
aaa accounting identity {
name |
default }
start-stop {
broadcast group {
name |
radius |
tacacs+}
[
group {
name |
radius |
tacacs+}
...
]
|
group {
name |
radius |
tacacs+}
[
group {
name |
radius |
tacacs+}
... ]}
no aaa accounting identity {
name |
default }
Syntax Description
name
Name of a server group. This is optional when you enter it after the broadcast group and group keywords.
default
Uses the accounting methods that follow as the default list for accounting services.
start-stop
Sends a start accounting notice at the beginning of a process and a stop accounting notice at the end of a process. The start accounting record is sent in the background. The requested-user process begins regardless of whether or not the start accounting notice was received by the accounting server.
broadcast
Enables accounting records to be sent to multiple AAA servers and send accounting records to the first server in each group. If the first server is unavailable, the switch uses the list of backup servers to identify the first server.
group
Specifies the server group to be used for accounting services. These are valid server group names:
name — Name of a server group.
radius — Lists of all RADIUS hosts.
tacacs+ — Lists of all TACACS+ hosts.
The group keyword is optional when you enter it after the broadcast group and group keywords. You can enter more than optional group keyword.
radius
(Optional) Enables RADIUS authorization.
tacacs+
(Optional) Enables TACACS+ accounting.
Command Default
AAA accounting is disabled.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
To enable AAA accounting identity, you need to enable policy mode. To enable policy mode, enter the authentication display new-style command in privileged EXEC mode.
Examples
This example shows how to configure IEEE 802.1x accounting identity:
Switch# authentication display new-style
Please note that while you can revert to legacy style
configuration at any time unless you have explicitly
entered new-style configuration, the following caveats
should be carefully read and understood.
(1) If you save the config in this mode, it will be written
to NVRAM in NEW-style config, and if you subsequently
reload the router without reverting to legacy config and
saving that, you will no longer be able to revert.
(2) In this and legacy mode, Webauth is not IPv6-capable. It
will only become IPv6-capable once you have entered new-
style config manually, or have reloaded with config saved
in 'authentication display new' mode.
Switch# configure terminalSwitch(config)# aaa accounting identity default start-stop group radius
aaa authentication dot1x
To specify the authentication, authorization, and accounting (AAA) method to use on ports complying with the IEEE 802.1x authentication, use the aaa authentication dot1x global configuration command on the switch stack or on a standalone switch. Use the no form of this command to disable authentication.
aaa authentication dot1x {
default}
method1
no aaa authentication dot1x {
default}
method1
Syntax Description
default
The default method when a user logs in. Use the listed authentication method that follows this argument.
method1
Specifies the server authentication. Enter the group radius keywords to use the list of all RADIUS servers for authentication.
Note
Though other keywords are visible in the command-line help strings, only the default and group radius keywords are supported.
Command Default
No authentication is performed.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
The method argument identifies the method that
the authentication algorithm tries in the specified sequence to
validate the password provided by the client. The only method that
is IEEE 802.1x-compliant is the group radius method, in which
the client data is validated against a RADIUS authentication
server.
If you specify group radius, you must configure
the RADIUS server by entering the radius-server host global
configuration command.
Use the show running-config privileged EXEC
command to display the configured lists of authentication
methods.
Examples
This example shows how to enable AAA and how to create an IEEE 802.1x-compliant authentication list. This authentication first tries to contact a RADIUS server. If this action returns an error, the user is not allowed access to the network.
Switch(config)# aaa new-modelSwitch(config)# aaa authentication dot1x default group radius
aaa authorization
To set the parameters that restrict user access to a network, use the aaa authorization command in global configuration mode. To remove the parameters, use the no form of this command.
Runs authorization for authentication proxy services.
cache
Configures the authentication, authorization, and accounting (AAA) server.
commands
Runs authorization for all commands at the specified privilege level.
level
Specific command level that should be authorized. Valid entries are 0 through 15.
config-commands
Runs authorization to determine whether commands entered in configuration mode are authorized.
configuration
Downloads the configuration from the AAA server.
console
Enables the console authorization for the AAA server.
credential-download
Downloads EAP credential from Local/RADIUS/LDAP.
exec
Enables the console authorization for the AAA server.
multicast
Downloads the multicast configuration from the AAA server.
network
Runs authorization for all network-related service requests, including Serial Line Internet Protocol (SLIP), PPP, PPP Network Control Programs (NCPs), and AppleTalk Remote Access (ARA).
reverse-access
Runs authorization for reverse access connections, such as reverse Telnet.
template
Enables template authorization for the AAA server.
default
Uses the listed authorization methods that follow this keyword as the default list of methods for authorization.
list_name
Character string used to name the list of authorization methods.
method1 [method2...]
(Optional) An authorization method or multiple authorization methods to be used for authorization. A method may be any one of the keywords listed in the table below.
Command Default
Authorization is disabled for all actions (equivalent to the method keyword none).
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Use the aaa authorization command to enable authorization and to create named methods lists, which define authorization methods that can be used when a user accesses the specified function. Method lists for authorization define the ways in which authorization will be performed and the sequence in which these methods will be performed. A method list is a named list that describes the authorization methods (such as RADIUS or TACACS+) that must be used in sequence. Method lists enable you to designate one or more security protocols to be used for authorization, which ensures a backup system in case the initial method fails. Cisco IOS software uses the first method listed to authorize users for specific network services; if that method fails to respond, the Cisco IOS software selects the next method listed in the method list. This process continues until there is successful communication with a listed authorization method, or until all the defined methods are exhausted.
Note
The Cisco IOS software attempts authorization with the next listed method only when there is no response from the previous method. If authorization fails at any point in this cycle--meaning that the security server or the local username database responds by denying the user services--the authorization process stops and no other authorization methods are attempted.
If the aaa authorization command for a particular authorization type is issued without a specified named method list, the default method list is automatically applied to all interfaces or lines (where this authorization type applies) except those that have a named method list explicitly defined. (A defined method list overrides the default method list.) If no default method list is defined, then no authorization takes place. The default authorization method list must be used to perform outbound authorization, such as authorizing the download of IP pools from the RADIUS server.
Use the aaa authorization command to create a list by entering the values for the list-name and the method arguments, where list-name is any character string used to name this list (excluding all method names) and method identifies the list of authorization methods tried in the given sequence.
Note
In the table that follows, the groupgroup-name, group ldap, group radius, and group tacacs+ methods refer to a set of previously defined RADIUS or TACACS+ servers. Use the radius-server host and tacacs-server host commands to configure the host servers. Use the aaa group server radius, aaa group server ldap, and aaa group server tacacs+ commands to create a named group of servers.
This table describes the method keywords.
Table 1 aaa authorization Methods
Keyword
Description
cachegroup-name
Uses a cache server group for authorization.
groupgroup-name
Uses a subset of RADIUS or TACACS+ servers for accounting as defined by the server groupgroup-name command.
group ldap
Uses the list of all Lightweight Directory Access Protocol (LDAP) servers for authentication.
group radius
Uses the list of all RADIUS servers for authentication as defined by the aaa group server radius command.
grouptacacs+
Uses the list of all TACACS+ servers for authentication as defined by the aaa group server tacacs+ command.
if-authenticated
Allows the user to access the requested function if the user is authenticated.
Note
The if-authenticated method is a terminating method. Therefore, if it is listed as a method, any methods listed after it will never be evaluated.
local
Uses the local database for authorization.
none
Indicates that no authorization is performed.
Cisco IOS software supports the following methods for authorization:
Cache Server Groups — The router consults its cache server groups to authorize specific rights for users.
If-Authenticated — The user is allowed to access the requested function provided the user has been authenticated successfully.
Local— The router or access server consults its local database, as defined by the username command, to authorize specific rights for users. Only a limited set of functions can be controlled through the local database.
None — The network access server does not request authorization information; authorization is not performed over this line or interface.
RADIUS —The network access server requests authorization information from the RADIUS security server group. RADIUS authorization defines specific rights for users by associating attributes, which are stored in a database on the RADIUS server, with the appropriate user.
TACACS+ — The network access server exchanges authorization information with the TACACS+ security daemon. TACACS+ authorization defines specific rights for users by associating attribute-value (AV) pairs, which are stored in a database on the TACACS+ security server, with the appropriate user.
Method lists are specific to the type of authorization being requested. AAA supports five different types of authorization:
Commands — Applies to the EXEC mode commands a user issues. Command authorization attempts authorization for all EXEC mode commands, including global configuration commands, associated with a specific privilege level.
EXEC — Applies to the attributes associated with a user EXEC terminal session.
Network — Applies to network connections. The network connections can include a PPP, SLIP, or ARA connection.
Note
You must configure the aaa authorization config-commands command to authorize global configuration commands, including EXEC commands prepended by the do command.
Reverse Access — Applies to reverse Telnet sessions.
Configuration — Applies to the configuration downloaded from the AAA server.
When you create a named method list, you are defining a particular list of authorization methods for the indicated authorization type.
Once defined, the method lists must be applied to specific lines or interfaces before any of the defined methods are performed.
The authorization command causes a request packet containing a series of AV pairs to be sent to the RADIUS or TACACS daemon as part of the authorization process. The daemon can do one of the following:
Accept the request as is.
Make changes to the request.
Refuse the request and authorization.
For a list of supported RADIUS attributes, see the module RADIUS Attributes. For a list of supported TACACS+ AV pairs, see the module TACACS+ Attribute-Value Pairs.
Note
Five commands are associated with privilege level 0: disable, enable, exit, help, and logout. If you configure AAA authorization for a privilege level greater than 0, these five commands will not be included in the privilege level command set.
Examples
The following example shows how to define the network authorization method list named mygroup, which specifies that RADIUS authorization will be used on serial lines using PPP. If the RADIUS server fails to respond, local network authorization will be performed.
Switch(config)# aaa authorization network mygroup group radius local
access-session mac-move deny
To disable MAC move on a switch, use the access-sessionmac-movedeny global configuration command. To return to the default setting, use the no form of this command.
access-sessionmac-movedeny
noaccess-sessionmac-movedeny
Syntax Description
This command has no arguments or keywords.
Command Default
MAC move is enabled.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
The no form of this command enables authenticated hosts to move between any authentication-enabled ports (MAC authentication bypass [MAB], 802.1x, or Web-auth) on a switch. For example, if there is a device between an authenticated host and port, and that host moves to another port, the authentication session is deleted from the first port, and the host is reauthenticated on the new port.
If MAC move is disabled, and an authenticated host moves to another port, it is not reauthenticated, and a violation error occurs.
Examples
This example shows how to enable MAC move on a switch:
Switch(config)# no access-session mac-move deny
Related Commands
Command
Description
authentication event
Sets the action for specific authentication events.
authentication fallback
Configures a port to use web authentication as a fallback method for clients that do not support IEEE 802.1x authentication.
authentication host-mode
Sets the authorization manager mode on a port.
authentication open
Enables or disables open access on a port.
authentication order
Sets the order of authentication methods used on a port.
authentication periodic
Enables or disables reauthentication on a port.
authentication port-control
Enables manual control of the port authorization state.
authentication priority
Adds an authentication method to the port-priority list.
authentication timer
Configures the timeout and reauthentication parameters for an 802.1x-enabled port.
authentication violation
Configures the violation modes that occur when a new device connects to a port or when a new device connects to a port with the maximum number of devices already connected to that port.
show authentication
Displays information about authentication manager events on the switch.
authentication host-mode
To set the authorization manager mode on a port, use the authentication host-mode interface configuration command. To return to the default setting, use the no form of this command.
Enables multiple-authorization mode (multi-auth mode) on the port.
multi-domain
Enables multiple-domain mode on the port.
multi-host
Enables multiple-host mode on the port.
single-host
Enables single-host mode on the port.
Command Default
Single host mode is enabled.
Command Modes
Interface configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Single-host mode should be configured if only one data host is connected. Do not connect a voice device to authenticate on a single-host port. Voice device authorization fails if no voice VLAN is configured on the port.
Multi-domain mode should be configured if data host is connected through an IP phone to the port. Multi-domain mode should be configured if the voice device needs to be authenticated.
Multi-auth mode should be configured to allow devices behind a hub to obtain secured port access through individual authentication. Only one voice device can be authenticated in this mode if a voice VLAN is configured.
Multi-host mode also offers port access for multiple hosts behind a hub, but multi-host mode gives unrestricted port access to the devices after the first user gets authenticated.
Examples
This example shows how to enable multi-auth mode on a port:
You can verify your settings by entering the show authentication sessions interfaceinterfacedetails privileged EXEC command.
authentication mac-move permit
To enable MAC move on a switch, use the authenticationmac-movepermit global configuration command. To disable MAC move, use the no form of this command.
authenticationmac-movepermit
noauthenticationmac-movepermit
Syntax Description
This command has no arguments or keywords.
Command Default
MAC move is enabled.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
This is a legacy command. The new command is access-session mac-move deny.
The command enables authenticated hosts to move between any authentication-enabled ports (MAC authentication bypass [MAB], 802.1x, or Web-auth) on a switch. For example, if there is a device between an authenticated host and port, and that host moves to another port, the authentication session is deleted from the first port, and the host is reauthenticated on the new port.
If MAC move is disabled, and an authenticated host moves to another port, it is not reauthenticated, and a violation error occurs.
Examples
This example shows how to enable MAC move on a switch:
Switch(config)# authentication mac-move permit
Related Commands
Command
Description
access-session mac-move deny
Disables MAC move on a switch.
authentication event
Sets the action for specific authentication events.
authentication fallback
Configures a port to use web authentication as a fallback method for clients that do not support IEEE 802.1x authentication.
authentication host-mode
Sets the authorization manager mode on a port.
authentication open
Enables or disables open access on a port.
authentication order
Sets the order of authentication methods used on a port.
authentication periodic
Enable or disables reauthentication on a port.
authentication port-control
Enables manual control of the port authorization state.
authentication priority
Adds an authentication method to the port-priority list.
authentication timer
Configures the timeout and reauthentication parameters for an 802.1x-enabled port.
authentication violation
Configures the violation modes that occur when a new device connects to a port or when a new device connects to a port with the maximum number of devices already connected to that port.
show authentication
Displays information about authentication manager events on the switch.
authentication priority
To add an authentication method to the port-priority list, use the authentication priority command in interface configuration mode. To return to the default, use the no form of this command.
authentication priority [
dot1x |
mab] {
webauth}
no authentication priority [
dot1x |
mab] {
webauth}
Syntax Description
dot1x
(Optional) Adds 802.1x to the order of authentication methods.
mab
(Optional) Adds MAC authentication bypass (MAB) to the order of authentication methods.
webauth
Adds web authentication to the order of authentication methods.
Command Default
The default priority is 802.1x authentication, followed by MAC authentication bypass and web authentication.
Command Modes
Interface configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Ordering sets the order of methods that the switch attempts when trying to authenticate a new device is connected to a port.
When configuring multiple fallback methods on a port, set web authentication (webauth) last.
Assigning priorities to different authentication methods allows a higher-priority method to interrupt an in-progress authentication method with a lower priority.
Note
If a client is already authenticated, it might be reauthenticated if an interruption from a higher-priority method occurs.
The default priority of an authentication method is equivalent to its position in execution-list order: 802.1x authentication, MAC authentication bypass (MAB), and web authentication. Use the dot1x, mab, and webauth keywords to change this default order.
Examples
This example shows how to set 802.1x as the first authentication method and web authentication as the second authentication method:
This example shows how to set MAB as the first authentication method and web authentication as the second authentication method:
Switch(config-if)# authentication priority mab webauth
Related Commands
Command
Description
authentication control-direction
Configures the port mode as unidirectional or bidirectional.
authentication event fail
Specifies how the Auth Manager handles authentication failures as a result of unrecognized user credentials.
authentication event no-response action
Specifies how the Auth Manager handles authentication failures as a result of a nonresponsive host.
authentication event server alive action reinitialize
Reinitializes an authorized Auth Manager session when a previously unreachable authentication, authorization, and accounting server becomes available.
authentication event server dead action authorize
Authorizes Auth Manager sessions when the authentication, authorization, and accounting server becomes unreachable.
authentication fallback
Enables a web authentication fallback method.
authentication host-mode
Allows hosts to gain access to a controlled port.
authentication open
Enables open access on a port.
authentication order
Specifies the order in which the Auth Manager attempts to authenticate a client on a port.
authentication periodic
Enables automatic reauthentication on a port.
authentication port-control
Configures the authorization state of a controlled port.
authentication timer inactivity
Configures the time after which an inactive Auth Manager session is terminated.
authentication timer reauthenticate
Specifies the period of time between which the Auth Manager attempts to reauthenticate authorized ports.
authentication timer restart
Specifies the period of time after which the Auth Manager attempts to authenticate an unauthorized port.
authentication violation
Specifies the action to be taken when a security violation occurs on a port.
mab
Enables MAC authentication bypass on a port.
show authentication registrations
Displays information about the authentication methods that are registered with the Auth Manager.
show authentication sessions
Displays information about current Auth Manager sessions.
show authentication sessions interface
Displays information about the Auth Manager for a given interface.
authentication violation
To configure the violation modes that occur when a new device connects to a port or when a new device connects to a port after the maximum number of devices are connected to that port, use the authentication violation interface configuration command.
This example shows how to configure an 802.1x-enabled port to generate a system error message and to change the port to restricted mode when a new device connects to it:
This example shows how to configure an 802.1x-enabled port to remove the current session and initiate authentication with a new device when it connects to the port:
You can verify your settings by entering the show authentication privileged EXEC command.
cisp enable
To enable Client Information Signaling Protocol (CISP) on a switch so that it acts as an authenticator to a supplicant switch, use the cispenable global configuration command.
cispenable
nocispenable
Syntax Description
This command has no arguments or keywords.
Command Default
There is no default setting.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
The link between the authenticator and supplicant switch is a trunk. When you enable VTP on both switches, the VTP domain name must be the same, and the VTP mode must be server.
To avoid the MD5 checksum mismatch error when you configure VTP mode, verify that:
VLANs are not configured on two different switches, which can be caused by two VTP servers in the same domain.
Both switches have different configuration revision numbers.
Examples
This example shows how to enable CISP:
Switch(config)# cisp enable
Related Commands
Command
Description
dot1x credentialsprofile
Configures a profile on a supplicant switch.
dot1x supplicant force-multicast
Forces 802.1X supplicant to send multicast packets.
dot1x supplicant controlled transient
Configures controlled access by 802.1X supplicant.
show cisp
Displays CISP information for a specified interface.
clear errdisable interface vlan
To reenable a VLAN that was error-disabled, use the clear errdisable interface privileged EXEC command on the switch.
(Optional) Specifies a list of VLANs to be reenabled. If a VLAN list is not specified, then all VLANs are reenabled.
Command Default
No default is defined.
Command Modes
Privileged EXEC
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
You can reenable a port by using the shutdown and no shutdown interface configuration commands, or you can clear error-disable for VLANs by using the clear errdisable interface command.
Examples
This example shows how to reenable all VLANs that were error-disabled on Gigabit Ethernet port 4/0/2:
Displays interface status of a list of interfaces in error-disabled state.
clear mac address-table
To delete from the MAC address table a specific dynamic address, all dynamic addresses on a particular interface, all dynamic addresses on stack members, or all dynamic addresses on a particular VLAN, use the clear mac address-table command in privileged EXEC mode. This command also clears the MAC address notification global counters.
(Optional) Deletes the specified dynamic MAC address.
interfaceinterface-id
(Optional) Deletes all dynamic MAC addresses on the specified physical port or port channel.
vlan vlan-id
(Optional) Deletes all dynamic MAC addresses for the specified VLAN. The range is 1 to 4094.
move update
Clears the MAC address table move-update counters.
notification
Clears the notifications in the history table and reset the counters.
Command Default
No default is defined.
Command Modes
Privileged EXEC
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
You can verify that the information was deleted by entering the show mac address-table privileged EXEC command.
Examples
This example shows how to remove a specific MAC address from the dynamic address table:
Switch# clear mac address-table dynamic address 0008.0070.0007
Related Commands
Command
Description
mac address-table notification
Enables the MAC address notification feature.
mac address-table move update {receive | transmit}
Configures MAC address-table move update on the switch.
show mac address-table
Displays the MAC address table static and dynamic entries.
show mac address-table move update
Displays the MAC address-table move update information on the switch.
show mac address-table notification
Displays the MAC address notification settings for all interfaces or on the specified interface when the interface keyword is appended.
snmp trap mac-notification change
Enables the SNMP MAC address notification trap on a specific interface.
deny (MAC access-list configuration)
To prevent non-IP traffic from being forwarded if the conditions are matched, use the deny MAC access-list configuration command on the switch stack or on a standalone switch. To remove a deny condition from the named MAC access list, use the no form of this command.
Defines a host MAC address and optional subnet mask. If the source address for a packet matches the defined address, non-IP traffic from that address is denied.
hostdst-MAC-addr | dst-MAC-addr mask
Defines a destination MAC address and optional subnet mask. If the destination address for a packet matches the defined address, non-IP traffic to that address is denied.
type mask
(Optional) Specifies the Ethertype number of a packet with Ethernet II or SNAP encapsulation to identify the protocol of the packet.
The type is 0 to 65535, specified in hexadecimal.
The mask is a mask of don’t care bits applied to the Ethertype before testing for a match.
aarp
(Optional) Specifies Ethertype AppleTalk Address Resolution Protocol that maps a data-link address to a network address.
(Optional) Specifies EtherType DEC- Network Basic Input/Output System (NETBIOS).
vines-echo
(Optional) Specifies EtherType Virtual Integrated Network Service (VINES) Echo from Banyan Systems.
vines-ip
(Optional) Specifies EtherType VINES IP.
xns-idp
(Optional) Specifies EtherType Xerox Network Systems (XNS) protocol suite (0 to 65535), an arbitrary Ethertype in decimal, hexadecimal, or octal.
coscos
(Optional) Specifies a class of service (CoS) number from 0 to 7 to set priority. Filtering on CoS can be performed only in hardware. A warning message reminds the user if the cos option is configured.
Command Default
This command has no defaults. However, the default action for a MAC-named ACL is to deny.
Command Modes
MAC-access list configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
You enter MAC-access list configuration mode by using the mac access-list extended global configuration command.
If you use the host keyword, you cannot enter an address mask; if you do not use the host keyword, you must enter an address mask.
When an access control entry (ACE) is added to an access control list, an implied deny-any-any condition exists at the end of the list. That is, if there are no matches, the packets are denied. However, before the first ACE is added, the list permits all packets.
To filter IPX traffic, you use the type mask or lsaplsap mask keywords, depending on the type of IPX encapsulation being used. Filter criteria for IPX encapsulation types as specified in Novell terminology and Cisco IOS terminology are listed in the table.
Table 2 IPX Filtering Criteria
IPX Encapsulation Type
Filter Criterion
Cisco IOS Name
Novel Name
arpa
Ethernet II
Ethertype 0x8137
snap
Ethernet-snap
Ethertype 0x8137
sap
Ethernet 802.2
LSAP 0xE0E0
novell-ether
Ethernet 802.3
LSAP 0xFFFF
Examples
This example shows how to define the named MAC extended access list to deny NETBIOS traffic from any source to MAC address 00c0.00a0.03fa. Traffic matching this list is denied.
Switch(config-ext-macl)# deny any host 00c0.00a0.03fa netbios.
This example shows how to remove the deny condition from the named MAC extended access list:
Switch(config-ext-macl)# no deny any 00c0.00a0.03fa 0000.0000.0000 netbios.
This example denies all packets with Ethertype 0x4321:
Switch(config-ext-macl)# deny any any 0x4321 0
You can verify your settings by entering the show access-lists privileged EXEC command.
Related Commands
Command
Description
mac access-list extended
Creates an access list based on MAC addresses for non-IP traffic.
permit
Permits from the MAC access-list configuration.
Permits non-IP traffic to be forwarded if conditions are matched.
show access-lists
Displays access control lists configured on a switch.
device-role (IPv6 snooping)
To specify the role of the device attached to the port, use the device-role command in IPv6 snooping configuration mode.
The device-role command specifies the role of the device attached to the port. By default, the device role is node.
The switch keyword indicates that the remote device is a switch and that the local switch is now operating in multiswitch mode; binding entries learned from the port will be marked with
trunk_port preference level.
If the port is configured as a trust-port, binding entries will
be marked with trunk_trusted_port preference level.
Examples
This example shows how to define an IPv6 snooping policy name as policy1, place the device in IPv6 snooping configuration mode, and configure the device as the node:
The device-role command specifies the role of
the device attached to the port. By default, the device role is
host, and therefore all the inbound router advertisement and
redirect messages are blocked. If the device role is enabled using
the router
keyword, all messages (router solicitation [RS], router
advertisement [RA], or redirect) are allowed on this port.
When the router or monitor keyword is used, the multicast RS
messages are bridged on the port, regardless of whether limited
broadcast is enabled. However, the monitor keyword does not allow inbound RA
or redirect messages. When the monitor keyword is used, devices that
need these messages will receive them.
The switch keyword indicates that the remote device is a switch and that the local switch is now operating in multiswitch mode; binding entries learned from the port will be marked with
trunk_port preference level.
If the port is configured as a trust-port, binding entries will
be marked with trunk_trusted_port preference level.
Examples
The following example defines a Neighbor Discovery Protocol (NDP) policy name as policy1, places the device in ND inspection policy configuration mode, and configures the device as the host:
To configure the IEEE 802.1X critical authentication parameters, use the dot1x critical command in global configuration mode.
dot1x critical eapol
Syntax Description
eapol
Specifies that the switch send an EAPOL-Success message when the switch successfully authenticates the critical port.
Command Default
eapol is disabled
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Examples
This example shows how to specify that the switch sends an EAPOL-Success message when the switch successfully authenticates the critical port:
Switch(config)# dot1x critical eapol
dot1x max-start
To set the maximum number of Extensible Authentication Protocol over LAN (EAPOL) start frames that a supplicant sends (assuming that no response is received) to the client before concluding that the other end is 802.1X unaware, use the dot1x max-start command in interface configuration mode. To remove the maximum number-of-times setting, use the no form of this command.
dot1x max-startnumber
no dot1x max-start
Syntax Description
number
Maximum number of times that the router sends an EAPOL start frame. The value is from 1 to 10. The default is 3.
Command Default
The default maximum number setting is 3.
Command Modes
Interface configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
You must enter the switchport mode access interface configuration
command on a switch port before entering this command.
Examples
The following example shows that the maximum number of EAPOL Start requests has been set to 5:
To set the Port Access Entity (PAE) type, use the dot1x pae command in interface configuration mode. To disable the PAE type that was set, use the no form of this command.
dot1x pae {
supplicant |
authenticator}
no dot1x pae {
supplicant |
authenticator}
Syntax Description
supplicant
The interface acts only as a supplicant and will not respond to messages that are meant for an authenticator.
authenticator
The interface acts only as an authenticator and will not respond to any messages meant for a supplicant.
Command Default
PAE type is not set.
Command Modes
Interface configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Use the no dot1x pae interface configuration command to disable IEEE 802.1x authentication on the port.
When you configure IEEE 802.1x authentication on a port, such as by entering the dot1x port-control interface configuration command, the switch automatically configures the port as an IEEE 802.1x authenticator. After the no dot1x pae interface configuration command is entered, the Authenticator PAE operation is disabled.
Examples
The following example shows that the interface has been set to act as a supplicant:
To force a supplicant switch to send only multicast Extensible Authentication Protocol over LAN (EAPOL) packets whenever it receives multicast or unicast EAPOL packets, use the dot1xsupplicantforce-multicast global configuration command. To return to the default setting, use the no form of this command.
dot1xsupplicantforce-multicast
nodot1xsupplicantforce-multicast
Syntax Description
This command has no arguments or keywords.
Command Default
The supplicant switch sends unicast EAPOL packets when it receives unicast EAPOL packets. Similarly, it sends multicast EAPOL packets when it receives multicast EAPOL packets.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Enable this command on the supplicant switch for Network Edge Access Topology (NEAT) to work in all host modes.
Examples
This example shows how force a supplicant switch to send multicast EAPOL packets to the authenticator switch:
Switch(config)# dot1x supplicant force-multicast
Related Commands
Command
Description
cisp enable
Enable Client Information Signalling Protocol (CISP) on a switch so that it acts as an authenticator to a supplicant switch.
dot1x credentials
Configure the 802.1x supplicant credentials on the port.
dot1x pae supplicant
Configure an interface to act only as a supplicant.
dot1x test eapol-capable
To monitor IEEE 802.1x activity on all the switch ports and to display information about the devices that are connected to the ports that support IEEE 802.1x, use the dot1xtesteapol-capable privileged EXEC command on the switch stack or on a standalone switch.
dot1xtesteapol-capable [
interfaceinterface-id]
Syntax Description
interfaceinterface-id
(Optional) Port to be queried.
Command Default
There is no default setting.
Command Modes
Privileged EXEC
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Use this command to test the IEEE 802.1x capability of the devices connected to all ports or to specific ports on a switch.
There is not a no form of this command.
Examples
This example shows how to enable the IEEE 802.1x readiness check on a switch to query a port. It also shows the response received from the queried port verifying that the device connected to it is IEEE 802.1x-capable:
Switch# dot1x test eapol-capable interface gigabitethernet1/0/13
DOT1X_PORT_EAPOL_CAPABLE:DOT1X: MAC 00-01-02-4b-f1-a3 on gigabitethernet1/0/13 is EAPOL capable
Related Commands
Command
Description
dot1x test timeouttimeout
Configures the timeout used to wait for EAPOL response to an IEEE 802.1x readiness query.
dot1x test timeout
To configure the timeout used to wait for EAPOL response from a port being queried for IEEE 802.1x readiness, use the dot1xtesttimeout global configuration command on the switch stack or on a standalone switch.
dot1xtesttimeouttimeout
Syntax Description
timeout
Time in seconds to wait for an EAPOL response. The range is from 1 to 65535 seconds.
Command Default
The default setting is 10 seconds.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Use this command to configure the timeout used to wait for EAPOL response.
There is not a no form of this command.
Examples
This example shows how to configure the switch to wait 27 seconds for an EAPOL response:
Switch# dot1x test timeout 27
You can verify the timeout configuration status by entering the showrun privileged EXEC command.
Related Commands
Command
Description
dot1x test eapol-capable [interfaceinterface-id]
Checks for IEEE 802.1x readiness on devices connected to all or to specified IEEE 802.1x-capable ports.
dot1x timeout
To configure the value for retry timeouts, use the dot1x timeout command in global configuration or interface configuration mode. To return to the default value for retry timeouts, use the no form of this command.
Configures the time, in seconds for which a supplicant will stay in the HELD state (that is, the length of time it will wait before trying to send the credentials again after a failed attempt).
The range is from 1 to 65535. The default is 30.
held-periodseconds
Configures the time, in seconds for which a supplicant will stay in the HELD state (that is, the length of time it will wait before trying to send the credentials again after a failed attempt).
The range is from 1 to 65535. The default is 60
quiet-periodseconds
Configures the time, in seconds, that the authenticator (server) remains quiet (in the HELD state) following a failed authentication exchange before trying to reauthenticate the client.
The range is from 1 to 65535. The default is 60
ratelimit-periodseconds
Throttles the EAP-START packets that are sent from misbehaving client PCs (for example, PCs that send EAP-START packets that result in the wasting of switch processing power).
The authenticator ignores EAPOL-Start packets from clients that have successfully authenticated for the rate-limit period duration.
The range is from 1 to 65535. By default, rate limiting is disabled.
server-timeoutseconds
Configures the interval, in seconds, between two successive EAPOL-Start frames when they are being retransmitted.
The range is from 1 to 65535. The default is 30.
If the server does not send a response to an 802.1X packet within the specified period, the packet is sent again.
start-periodseconds
Configures the interval, in seconds, between two successive EAPOL-Start frames when they are being retransmitted.
The range is from 1 to 65535. The default is 30.
supp-timeout seconds
Sets the authenticator-to-supplicant retransmission time for all EAP messages other than EAP Request ID.
The range is from 1 to 65535. The default is 30.
tx-periodseconds
Configures the number of seconds between retransmission of EAP request ID packets (assuming that no response is received) to the client.
The range is from 1 to 65535. The default is 30.
If an 802.1X packet is sent to the supplicant and the supplicant does not send a response after the retry period, the packet will be sent again.
Command Default
Periodic reauthentication and periodic rate-limiting are done.
Command Modes
Interface configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
You should change the default value of this command only to adjust for unusual circumstances such as unreliable links or specific behavioral problems with certain clients and authentication servers.
The dot1x timeout reauth-period interface configuration command affects the behavior of the switch only if you have enabled periodic re-authentication by using the dot1x reauthentication interface configuration command.
During the quiet period, the switch does not accept or initiate any authentication requests. If you want to provide a faster response time to the user, enter a number smaller than the default.
When the ratelimit-period is set to 0 (the default), the switch does not ignore EAPOL packets from clients that have been successfully authenticated and forwards them to the RADIUS server.
Examples
The following example shows that various 802.1X retransmission and timeout periods have been set:
To configure an open directive for ports that do not have an access control list (ACL) configured, use the epm access-control open command in global configuration mode. To disable the open directive, use the no form of this command.
epm access-control open
no epm access-control open
Syntax Description
This command has no arguments or keywords.
Command Default
The default directive applies.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Use this command to configure an open directive that allows hosts without an authorization policy to access ports configured with a static ACL. If you do not configure this command, the port applies the policies of the configured ACL to the traffic. If no static ACL is configured on a port, both the default and open directives allow access to the port.
You can verify your settings by entering the show running-config privileged EXEC command.
Examples
This example shows how to configure an open directive.
Switch(config)# epm access-control open
Related Commands
Command
Description
show running-config
Displays the contents of the current running configuration file.
ip admission
Use the ip admission configuration command to enable web authentication. You can also use this command in fallback-profile mode. Use the no form of this command to disable web authentication.
ip admissionrule
no ip admissionrule
Syntax Description
rule
IP admission rule name.
Command Default
Web authentication is disabled.
Command Modes
Interface configuration
Fallback-profile mode
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
The ip admission command applies a web authentication rule to a switch port.
Examples
This example shows how to apply a web authentication rule to a switchport:
Switch# configure terminalSwitch(config)# interface gigabitethernet1/0/1Switch(config-if)# ip admission rule1
This example shows how to apply a web authentication rule to a fallback profile for use on an IEEE 802.1x enabled switch port.
Switch# configure terminalSwitch(config)# fallback profile profile1Switch(config-fallback-profile)# ip admission rule1
ip admission name
To enable web authentication, use the ipadmissionname command in global configuration mode. To disable web authentication, use
the no form of this command.
ipadmissionnamename {
consent |
proxy http}
[
absolute timer minutes |
inactivity-time minutes |
list {
acl |
acl-name}
|
service-policy type tag service-policy-name]
no ipadmissionnamename {
consent |
proxy http}
[
absolute timer minutes |
inactivity-time minutes |
list {
acl |
acl-name}
|
service-policy type tag service-policy-name]
Syntax Description
name
Name of network admission control rule.
consent
Associates an authentication proxy consent web page with the IP admission rule specified using the admission-name argument.
proxy http
Configures web authentication custom page.
absolute-timer minutes
(Optional) Elapsed time, in minutes, before the external server times out.
inactivity-time minutes
(Optional) Elapsed time, in minutes, before the external file server is deemed unreachable.
list
(Optional) Associates the named rule with an access control list (ACL).
acl
Applies a standard, extended list to a named admission control rule. The value ranges from 1 through 199, or from 1300 through 2699 for expanded range.
acl-name
Applies a named access list to a named admission control rule.
service-policy type tag
(Optional) A control plane service policy is to be configured.
service-policy-name
Control plane tag service policy that is configured using the policy-map type control tagpolicynamecommand, keyword, and argument. This policy map is used to apply the actions on the host when a tag is received.
Command Default
Web authentication is disabled.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
The ip admission name command globally enables web
authentication on a switch.
After you enable web authentication on a switch, use the ip access-group
in and ip admission web-rule interface
configuration commands to enable web authentication on a specific interface.
Examples
This example shows how to configure only web authentication on a switch port:
Switch# configure terminalSwitch(config) ip admission name http-rule proxy httpSwitch(config)# interface gigabitethernet1/0/1Switch(config-if)# ip access-group 101 inSwitch(config-if)# ip admission ruleSwitch(config-if)# end
This example shows how to configure IEEE 802.1x authentication with web authentication as a fallback mechanism on a switch port:
Switch# configure terminalSwitch(config)# ip admission name rule2 proxy httpSwitch(config)# fallback profile profile1Switch(config)# ip access group 101 inSwitch(config)# ip admission name rule2Switch(config)# interface gigabitethernet1/0/1Switch(config-if)# dot1x port-control autoSwitch(config-if)# dot1x fallback profile1Switch(config-if)# end
Related Commands
Command
Description
dot1x fallback
Configures a port to use web authentication as a fallback method for clients that do not support IEEE 802.1x authentication.
fallback profile
Creates a web authentication fallback profile.
ip admission
Enables web authentication on a port.
show authentication sessions interfaceinterfacedetail
Displays information about the web authentication session status.
show ip admission
Displays information about NAC cached entries or the NAC configuration.
ip device tracking maximum
To enable IP port security binding tracking on a Layer 2 port, use the ip
device tracking maximum command in interface configuration mode. To disable
IP port security on untrusted Layer 2 interfaces, use the no
form of this command.
ipdevicetrackingmaximumnumber
noipdevicetrackingmaximumnumber
Syntax Description
number
Number of bindings created in the IP device tracking table for a port. The range is 1 to 10.
Command Default
None
Command Modes
Interface configuration mode
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Examples
This example shows how to enable IP port security with IP-MAC filters on a Layer 2 access port:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# ip device trackingSwitch(config)# interface gigabitethernet1/0/3Switch(config-if)# switchport mode accessSwitch(config-if)# switchport access vlan 1Switch(config-if)# ip device tracking maximum 5Switch(config-if)# switchport port-securitySwitch(config-if)# switchport port-security maximum 5Switch(config-if)# end
ip device tracking probe
To configure the IP device tracking table for Address Resolution Protocol (ARP) probes,
use the ip device tracking probe command in global configuration mode.
To disable ARP probes, use the no form of this command.
Sets the number of times that the switch sends the ARP probe. The range is from 1 to 255.
delayseconds
Sets the number of seconds that the switch waits before sending the ARP probe. The range is from 1 to 120.
intervalseconds
Sets the number of seconds that the switch waits for a response before resending the ARP probe. The range is from 30 to 1814400 seconds.
use-svi
Uses the switch virtual interface (SVI) IP address as source of ARP probes.
Command Default
The count number is 3.
There is no delay.
The interval is 30 seconds.
The ARP probe default source IP address is the Layer 3 interface and 0.0.0.0 for switchports.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Use the use-svi keyword to configure the IP device
tracking table to use the SVI IP address for ARP probes in cases when the default source IP address 0.0.0.0 for switch ports is used and the ARP probes drop.
Examples
This example shows how to set SVI as the source for ARP probes:
Switch(config)# ip device tracking probe use-svi
ip dhcp snooping database
To configure the Dynamic Host Configuration Protocol (DHCP)-snooping database, use the ip dhcp snooping database command in global configuration mode. To disable the DHCP-snooping database, use the no form of this command.
Specifies the database URL for storing entries using crashinfo.
flash:url
Specifies the database URL for storing entries using flash.
ftp:url
Specifies the database URL for storing entries using FTP.
http:url
Specifies the database URL for storing entries using HTTP.
https:url
Specifies the database URL for storing entries using secure HTTP (https).
rcp:url
Specifies the database URL for storing entries using remote copy (rcp).
scp:url
Specifies the database URL for storing entries using Secure Copy (SCP).
tftp:url
Specifies the database URL for storing entries using TFTP.
timeoutseconds
Specifies the abort timeout interval; valid values are from 0 to 86400 seconds.
usbflash0:url
Specifies the database URL for storing entries using USB flash.
write-delay:seconds
Specifies the amount of time before writing the DHCP-snooping entries to an external server after a change is seen in the local DHCP-snooping database; valid values are from 15 to 86400 seconds.
Command Default
The DHCP-snooping database is not configured.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
You must enable DHCP snooping on the interface before entering this command. Use the ip dhcp snooping command to enable DHCP snooping.
Examples
This example shows how to specify the database URL using TFTP:
Switch(config)# ip dhcp snooping database tftp://10.90.90.90/snooping-rp2
This example shows how to specify the amount of time before writing DHCP snooping entries to an external server:
Switch(config)# ip dhcp snooping database write-delay 15
ip dhcp snooping information option format remote-id
To configure the option-82 remote-ID suboption, use the ip dhcp snooping information option format remote-id global configuration command on the switch to configure the option-82 remote-ID suboption. Use the no form of this command to configure the default remote-ID suboption.
ip dhcp snooping information option format remote-id {
hostname |
stringstring}
no ip dhcp snooping information option format remote-id {
hostname |
stringstring}
Syntax Description
hostname
Specify the switch hostname as the remote ID.
stringstring
Specify a remote ID, using from 1 to 63 ASCII characters (no spaces).
Command Default
The switch MAC address is the remote ID.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
You must globally enable DHCP snooping by using the ip dhcp snooping global configuration command for
any DHCP snooping configuration to take effect.
When the option-82 feature is enabled, the default remote-ID
suboption is the switch MAC address. This command allows you to
configure either the switch hostname or a string of up to 63 ASCII
characters (but no spaces) to be the remote ID.
Note
If the hostname exceeds 63 characters, it will be truncated to 63 characters in the remote-ID configuration.
Examples
This example shows how to configure the option- 82 remote-ID suboption:
Switch(config)# ip dhcp snooping information option format remote-id hostname
ip dhcp snooping verify no-relay-agent-address
To disable the DHCP snooping feature
from verifying that the relay agent address (giaddr) in a DHCP client message matches the client hardware address on an untrusted port, use the ip dhcp snooping verify no-relay-agent-address command in global configuration mode. To enable verification, use the no form of this command.
ip dhcp snooping verify no-relay-agent-address
no ip dhcp snooping verify no-relay-agent-address
Syntax Description
This command has no arguments or keywords.
Command Default
The DHCP snooping feature verifies that the relay-agent IP address (giaddr) field in DHCP client message on
an untrusted port is 0.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
By default, the DHCP snooping feature verifies that the relay-agent IP address (giaddr) field in DHCP client message on
an untrusted port is 0; the message is dropped if the giaddr field is not 0.
Use the ip dhcp snooping verify no-relay-agent-address command to disable the verification. Use the no ip dhcp snooping verify no-relay-agent-address to reenable verification.
Examples
This example shows how to enable verification of the giaddr in a DHCP client message:
Switch(config)# no ip dhcp snooping verify no-relay-agent-address
ip source binding
To add a static IP source binding entry, use the ip source binding command. Use the no form of this command to delete a static IP source binding entry
ip source binding mac-addressvlanvlan-id ip-address interfaceinterface-id
no ip source binding mac-addressvlanvlan-id ip-address interfaceinterface-id
Syntax Description
mac-address
Binding MAC address.
vlanvlan-id
Specifies the Layer 2 VLAN identification; valid values are from 1 to 4094.
ip-address
Binding IP address.
interfaceinterface-id
ID of the physical interface.
Command Default
No IP source bindings are configured.
Command Modes
Global configuration.
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
You can use this command to add a static IP source binding entry only.
The no format deletes the corresponding IP source binding entry. It requires the exact match of all required parameter in order for the deletion to be successful. Note that each static IP binding entry is keyed by a MAC address and a VLAN number. If the command contains the existing MAC address and VLAN number, the existing binding entry is updated with the new parameters instead of creating a separate binding entry.
Examples
This example shows how to add a static IP source binding entry:
To enable IP source guard on an interface, use the ip verify
source
command in interface configuration mode. To disable IP source guard, use the
no form of this command.
ipverifysource
[ mac-check ]
noipverifysource
[ mac-check ]
Syntax Description
mac-check
(Optional) Enables IP source guard with MAC address
verification.
Command Default
IP source guard is disabled.
Command Modes
Interface configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
To enable IP source guard with source IP address filtering, use the ip
verify source interface configuration command.
To enable IP source guard with source IP address filtering and MAC address verification, use the
ip verify sourcemac-check interface configuration command.
Examples
This example shows how to enable IP source guard with source IP address filtering on an interface:
Switch(config-if)# ip verify source
This example shows how to enable IP source guard with source IP address filtering and MAC address verification:
Switch(config-if)# ip verify source mac-check
You can verify your settings by entering the show ip verify source
privileged EXEC command.
ipv6 snooping policy
To configure an IPv6 snooping policy and enter IPv6 snooping configuration mode, use the ipv6 snooping policy command in global configuration mode. To delete an IPv6 snooping policy, use the no form of this command.
ipv6 snooping policysnooping-policy
no ipv6 snooping policysnooping-policy
Syntax Description
snooping-policy
User-defined name of the snooping policy. The policy name can be a symbolic string (such as Engineering) or an integer (such as 0).
Command Default
An IPv6 snooping policy is not configured.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Use the ipv6 snooping policy command to create an
IPv6 snooping policy. When the ipv6 snooping policy command is enabled,
the configuration mode changes to IPv6 snooping configuration mode.
In this mode, the administrator can configure the following IPv6
first-hop security commands:
The device-role command specifies the role of
the device attached to the port.
The limit
address-countmaximum
command limits the number of IPv6 addresses allowed to be used on
the port.
The protocol command specifies that addresses should be gleaned with Dynamic Host Configuration Protocol (DHCP) or Neighbor Discovery Protocol (NDP).
The security-level command specifies the level of
security enforced.
The tracking
command overrides the default tracking policy on a port.
The trusted-port command configures a port to
become a trusted port; that is, limited or no verification is
performed when messages are received.
Examples
This example shows how to configure an IPv6 snooping policy:
To limit the number of IPv6 addresses allowed to be used on the port, use the limit address-count command in Neighbor Discovery Protocol (NDP) inspection policy configuration mode or IPv6 snooping configuration mode. To return to the default, use the no form of this command.
limit address-countmaximum
no limit address-count
Syntax Description
maximum
The number of addresses allowed on the port. The range is from 1 to 10000.
The limit address-count command limits the number
of IPv6 addresses allowed to be used on the port on which the
policy is applied. Limiting the number of IPv6 addresses on a port
helps limit the binding table size. The range is from 1 to 10000.
Examples
This example shows how to define an NDP policy name as policy1, place the switch in NDP inspection policy configuration mode, and limit the number of IPv6 addresses allowed on the port to 25:
This example shows how to define an IPv6 snooping policy name as policy1, place the switch in IPv6 snooping policy configuration mode, and limit the number of IPv6 addresses allowed on the port to 25:
To enable VLAN ID-based MAC authentication on a switch, use the mabrequestformatattribute32vlanaccess-vlan global configuration command. To return to the default setting, use the no form of this command.
mabrequestformatattribute32vlanaccess-vlan
nomabrequestformatattribute32vlanaccess-vlan
Syntax Description
This command has no arguments or keywords.
Command Default
VLAN-ID based MAC authentication is disabled.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Use this command to allow a RADIUS server to authenticate a new user based on the host MAC address and VLAN.
Use this feature on networks with the Microsoft IAS RADIUS server. The Cisco ACS ignores this command.
Examples
This example shows how to enable VLAN-ID based MAC authentication on a switch:
Switch(config)# mab request format attribute 32 vlan access-vlan
Related Commands
Command
Description
authentication event
Sets the action for specific authentication events.
authentication fallback
Configures a port to use web authentication as a fallback method for clients that do not support IEEE 802.1x authentication.
authentication host-mode
Sets the authorization manager mode on a port.
authentication open
Enables or disables open access on a port.
authentication order
Sets the order of authentication methods used on a port.
authentication periodic
Enables or disables reauthentication on a port.
authentication port-control
Enables manual control of the port authorization state.
authentication priority
Adds an authentication method to the port-priority list.
authentication timer
Configures the timeout and reauthentication parameters for an 802.1x-enabled port.
authentication violation
Configures the violation modes that occur when a new device connects to a port or when a new device connects to a port with the maximum number of devices already connected to that port.
mab
Enables MAC-based authentication on a port.
mab eap
Configures a port to use the Extensible Authentication Protocol (EAP).
show authentication
Displays information about authentication manager events on the switch.
no authentication logging verbose
To filter detailed information from authentication system messages, use the noauthenticationloggingverbose global configuration command on the switch stack or on a standalone switch.
noauthenticationloggingverbose
Syntax Description
This command has no arguments or keywords.
Command Default
All details are displayed in the system messages.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
This command filters details, such as anticipated success, from authentication system messages. Failure messages are not filtered.
Examples
To filter verbose authentication system messages:
Switch(config)# no authentication logging verbose
You can verify your settings by entering the showrunning-config privileged EXEC command.
Related Commands
Command
Description
no authentication logging verbose
Filters details from authentication system messages.
no dot1x logging verbose
Filters details from 802.1x system messages.
no mab logging verbose
Filters details from MAC authentication bypass (MAB) system messages.
no dot1x logging verbose
To filter detailed information from 802.1x system messages, use the nodot1xloggingverbose global configuration command on the switch stack or on a standalone switch.
nodot1xloggingverbose
Syntax Description
This command has no arguments or keywords.
Command Default
All details are displayed in the system messages.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
This command filters details, such as anticipated success, from 802.1x system messages. Failure messages are not filtered.
Examples
To filter verbose 802.1x system messages:
Switch(config)# no dot1x logging verbose
You can verify your settings by entering the showrunning-config privileged EXEC command.
Related Commands
Command
Description
no authentication logging verbose
Filters details from authentication system messages.
no dot1x logging verbose
Filters details from 802.1x system messages.
no mab logging verbose
Filters details from MAC authentication bypass (MAB) system messages.
no mab logging verbose
To filter detailed information from MAC authentication bypass (MAB) system messages, use the nomabloggingverbose global configuration command on the switch stack or on a standalone switch.
nomabloggingverbose
Syntax Description
This command has no arguments or keywords.
Command Default
All details are displayed in the system messages.
Command Modes
Global configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
This command filters details, such as anticipated success, from MAC authentication bypass (MAB) system messages. Failure messages are not filtered.
Examples
To filter verbose MAB system messages:
Switch(config)# no mab logging verbose
You can verify your settings by entering the showrunning-config privileged EXEC command.
Related Commands
Command
Description
no authentication logging verbose
Filters details from authentication system messages.
no dot1x logging verbose
Filters details from 802.1x system messages.
no mab logging verbose
Filters details from MAC authentication bypass (MAB) system messages.
permit (MAC access-list configuration)
To allow non-IP traffic to be forwarded if the conditions are matched, use the permit MAC access-list configuration command on the switch stack or on a standalone switch. To remove a permit condition from the extended MAC access list, use the no form of this command.
Specifies a host MAC address and optional subnet mask. If the source address for a packet matches the defined address, non-IP traffic from that address is denied.
host dst-MAC-addr |dst-MAC-addr mask
Specifies a destination MAC address and optional subnet mask. If the destination address for a packet matches the defined address, non-IP traffic to that address is denied.
type mask
(Optional) Specifies the Ethertype number of a packet with Ethernet II or SNAP encapsulation to identify the protocol of the packet.
type is 0 to 65535, specified in hexadecimal.
mask is a mask of don’t care bits applied to the Ethertype before testing for a match.
aarp
(Optional) Specifies Ethertype AppleTalk Address Resolution Protocol that maps a data-link address to a network address.
(Optional) Specifies EtherType DEC- Network Basic Input/Output System (NETBIOS).
vines-echo
(Optional) Specifies EtherType Virtual Integrated Network Service (VINES) Echo from Banyan Systems.
vines-ip
(Optional) Specifies EtherType VINES IP.
xns-idp
(Optional) Specifies EtherType Xerox Network Systems (XNS) protocol suite.
coscos
(Optional) Specifies an arbitrary class of service (CoS) number from 0 to 7 to set priority. Filtering on CoS can be performed only in hardware. A warning message appears if the cos option is configured.
Command Default
This command has no defaults. However, the default action for a MAC-named ACL is to deny.
Command Modes
MAC access-list configuration
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Though visible in the command-line help strings, appletalk is not supported as a matching condition.
You enter MAC access-list configuration mode by using the mac access-list extended global configuration command.
If you use the host keyword, you cannot enter an address mask; if you do not use the any or host keywords, you must enter an address mask.
After an access control entry (ACE) is added to an access control list, an implied deny-any-any condition exists at the end of the list. That is, if there are no matches, the packets are denied. However, before the first ACE is added, the list permits all packets.
To filter IPX traffic, you use the type mask or lsaplsap mask keywords, depending on the type of IPX encapsulation being used. Filter criteria for IPX encapsulation types as specified in Novell terminology and Cisco IOS terminology are listed in the following table.
Table 3 IPX Filtering Criteria
IPX Encapsulation Type
Filter Criterion
Cisco IOS Name
Novell Name
arpa
Ethernet II
Ethertype 0x8137
snap
Ethernet-snap
Ethertype 0x8137
sap
Ethernet 802.2
LSAP 0xE0E0
novell-ether
Ethernet 802.3
LSAP 0xFFFF
Examples
This example shows how to define the MAC-named extended access list to allow NETBIOS traffic from any source to MAC address 00c0.00a0.03fa. Traffic matching this list is allowed.
Switch(config-ext-macl)# permit any host 00c0.00a0.03fa netbios
This example shows how to remove the permit condition from the MAC-named extended access list:
Switch(config-ext-macl)# no permit any 00c0.00a0.03fa 0000.0000.0000 netbios
This example permits all packets with Ethertype 0x4321:
Switch(config-ext-macl)# permit any any 0x4321 0
You can verify your settings by entering the show access-lists privileged EXEC command.
Related Commands
Command
Description
deny
Denies from the MAC access-list configuration. Denies non-IP traffic to be forwarded if conditions are matched.
mac access-list extended
Creates an access list based on MAC addresses for non-IP traffic.
show access-lists
Displays access control lists configured on a switch.
protocol (IPv6 snooping)
To specify that addresses should be gleaned with Dynamic Host Configuration Protocol (DHCP) or Neighbor Discovery Protocol (NDP), or to associate the protocol with an IPv6 prefix list, use the protocol command. To disable address gleaning with DHCP or NDP, use the no form of the command.
protocol {
dhcp |
ndp }
protocol {
dhcp |
ndp }
Syntax Description
dhcp
Specifies that addresses should be gleaned in Dynamic Host Configuration Protocol (DHCP) packets.
ndp
Specifies that addresses should be gleaned in Neighbor Discovery Protocol (NDP) packets.
Command Default
Snooping and recovery are attempted using both DHCP and NDP.
If an address does not match the prefix list associated with DHCP or NDP, then control packets will be dropped and recovery of the binding table entry will not be attempted with that protocol.
Using the no protocol {dhcp | ndp} command indicates that a protocol will not be used for snooping or gleaning.
If the no protocol dhcp command is used, DHCP can still be used for binding table recovery.
Data glean can recover with DHCP and NDP, though destination guard will only recovery through DHCP.
Examples
This example shows how to define an IPv6 snooping policy name as policy1, place the switch in IPv6 snooping policy configuration mode, and configure the port to use DHCP to glean addresses:
To specify the level of security enforced, use the security-level command in IPv6 snooping policy configuration mode.
security level {
glean |
guard |
inspect}
Syntax Description
glean
Extracts addresses from the messages and installs them into the binding table without performing any verification.
guard
Performs both glean and inspect. Additionally, RA and DHCP server messages are rejected unless they are received on a trusted port or another policy authorizes them.
inspect
Validates messages for consistency and conformance; in particular, address ownership is enforced. Invalid messages are dropped.
This example shows how to define an IPv6 snooping policy name as policy1, place the device in IPv6 snooping configuration mode, and configure the security level as inspect:
To show AAA sessions as seen by the AAA Session MIB, use the show aaa sessions command.
show aaa sessions
Syntax Description
This command has no arguments or keywords.
Command Modes
User EXEC
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Examples
This is an example of output from the show aaa sessions command:
Switch# show aaa sessions
Total sessions since last reload: 7
Session Id: 4007
Unique Id: 4025
User Name: *not available*
IP Address: 0.0.0.0
Idle Time: 0
CT Call Handle: 0
show authentication history
To display the authenticated sessions alive
on the device, use the show authentication history command.
show authentication history [
min-uptimeseconds]
Syntax Description
min-uptimeseconds
(Optional) Displays sessions within the minimum uptime. The range is from 1 through 4294967295 seconds.
Command Modes
User EXEC
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Use the show authentication history command to display the authenticated sessions alive
on the device.
Examples
This is an example of output from the show authentication history command:
Switch# show authentication history
Interface MAC Address Method Domain Status Uptime
Gi3/0/2 0021.d864.07c0 dot1x DATA Auth 38s
Session count = 1
show authentication sessions
To display information about current Auth Manager sessions, use the show authentication sessions command.
(Optional) Shows only data stored in session database.
handlehandle-id
(Optional) Specifies the particular handle for which Auth Manager information is to be displayed.
details
(Optional) Shows detailed information.
interfacetypenumber
(Optional) Specifies a particular interface type and number for which Auth Manager information is to be displayed.
macmac-address
(Optional) Specifies the particular MAC address for which you want to display information.
methodmethod-name
(Optional) Specifies the particular authentication method for which Auth Manager information is to be displayed. If you specify a method (dot1x, mab, or webauth), you may also specify an interface.
session-idsession-id
(Optional) Specifies the particular session for which Auth Manager information is to be displayed.
Command Modes
User EXEC
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Use the show authentication sessions command to display information about all current Auth Manager sessions. To display information about specific Auth Manager sessions, use one or more of the keywords.
This table shows the possible operating states for the reported authentication sessions.
Table 4 Authentication Method States
State
Description
Not run
The method has not run for this session.
Running
The method is running for this session.
Failed over
The method has failed and the next method is expected to provide a result.
Success
The method has provided a successful authentication result for the session.
Authc Failed
The method has provided a failed authentication result for the session.
This table shows the possible authentication methods.
Table 5 Authentication Method States
State
Description
dot1x
802.1X
mab
MAC authentication bypass
webauth
web authentication
Examples
The following example shows how to display all authentication sessions on the switch:
Switch# show authentication sessions
Interface MAC Address Method Domain Status Session ID
Gi1/0/48 0015.63b0.f676 dot1x DATA Authz Success 0A3462B1000000102983C05C
Gi1/0/5 000f.23c4.a401 mab DATA Authz Success 0A3462B10000000D24F80B58
Gi1/0/5 0014.bf5d.d26d dot1x DATA Authz Success 0A3462B10000000E29811B94
The following example shows how to display all authentication sessions on an interface:
Switch# show authentication sessions interface gigabitethernet2/0/47
Interface: GigabitEthernet2/0/47
MAC Address: Unknown
IP Address: Unknown
Status: Authz Success
Domain: DATA
Oper host mode: multi-host
Oper control dir: both
Authorized By: Guest Vlan
Vlan Policy: 20
Session timeout: N/A
Idle timeout: N/A
Common Session ID: 0A3462C8000000000002763C
Acct Session ID: 0x00000002
Handle: 0x25000000
Runnable methods list:
Method State
mab Failed over
dot1x Failed over
----------------------------------------
Interface: GigabitEthernet2/0/47
MAC Address: 0005.5e7c.da05
IP Address: Unknown
User-Name: 00055e7cda05
Status: Authz Success
Domain: VOICE
Oper host mode: multi-domain
Oper control dir: both
Authorized By: Authentication Server
Session timeout: N/A
Idle timeout: N/A
Common Session ID: 0A3462C8000000010002A238
Acct Session ID: 0x00000003
Handle: 0x91000001
Runnable methods list:
Method State
mab Authc Success
dot1x Not run
show cisp
To display CISP information for a specified interface, use the showcisp privileged EXEC command.
Enable Client Information Signalling Protocol (CISP)
dot1x credentialsprofile
Configure a profile on a supplicant switch
show dot1x
To display IEEE 802.1x statistics, administrative status, and operational status for the switch or for the specified port, use the show dot1x user EXEC command.
show dot1x [
all [
count |
details |
statistics |
summary]
]
[
interface type number [
details |
statistics]
]
[
statistics]
Syntax Description
all
(Optional) Displays the IEEE 802.1x information for all interfaces.
count
(Optional) Displays total number of authorized and unauthorized clients.
details
(Optional) Displays the IEEE 802.1x interface details.
statistics
(Optional) Displays the IEEE 802.1x statistics for all interfaces.
summary
(Optional) Displays the IEEE 802.1x summary for all interfaces.
interface type number
(Optional) Displays the IEEE 802.1x status for the specified port.
Command Modes
User EXEC
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Examples
This is an example of output from the show dot1x all command:
Switch# show dot1x all
Sysauthcontrol Enabled
Dot1x Protocol Version 3
This is an example of output from the show dot1x all count command:
Switch# show dot1x all count
Number of Dot1x sessions
-------------------------------
Authorized Clients = 0
UnAuthorized Clients = 0
Total No of Client = 0
This is an example of output from the show dot1x all statistics command:
To display stored Protected Access Credentials (PAC) for Extensible Authentication Protocol (EAP) Flexible Authentication via Secure Tunneling (FAST) peers, use the show eap pac peer privileged EXEC command.
show eap pac peer
Syntax Description
This command has no arguments or keywords.
Command Modes
Privileged EXEC
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Examples
This is an example of output from the show eap pac peers privileged EXEC command:
Switch> show eap pac peers
No PACs stored
Related Commands
Command
Description
clear eap sessions
Clears EAP session information for the switch or for the specified port.
show ip dhcp snooping statistics
Use the show ip dhcp snooping statistics user EXEC command to display DHCP snooping statistics in summary or detail form.
In a switch stack, all statistics are generated on the stack master. If a new active switch is elected, the statistics counters reset.
Examples
This is an example of output from the show ip dhcp snooping statistics command:
Switch> show ip dhcp snooping statistics
Packets Forwarded = 0
Packets Dropped = 0
Packets Dropped From untrusted ports = 0
This is an example of output from the show ip dhcp snooping statistics detail command:
Switch> show ip dhcp snooping statistics detail
Packets Processed by DHCP Snooping = 0
Packets Dropped Because
IDB not known = 0
Queue full = 0
Interface is in errdisabled = 0
Rate limit exceeded = 0
Received on untrusted ports = 0
Nonzero giaddr = 0
Source mac not equal to chaddr = 0
Binding mismatch = 0
Insertion of opt82 fail = 0
Interface Down = 0
Unknown output interface = 0
Reply output port equal to input port = 0
Packet denied by platform = 0
This table shows the DHCP snooping statistics and their descriptions:
Table 6 DHCP Snooping Statistics
DHCP Snooping Statistic
Description
Packets Processed by DHCP Snooping
Total number of packets handled by DHCP snooping, including forwarded and dropped packets.
Packets Dropped Because IDB not known
Number of errors when the input interface of the packet cannot be determined.
Queue full
Number of errors when an internal queue used to process the packets is full. This might happen if DHCP packets are received at an excessively high rate and rate limiting is not enabled on the ingress ports.
Interface is in errdisabled
Number of times a packet was received on a port that has been marked as error disabled. This might happen if packets are in the processing queue when a port is put into the error-disabled state and those packets are subsequently processed.
Rate limit exceeded
Number of times the rate limit configured on the port was exceeded and the interface was put into the error-disabled state.
Received on untrusted ports
Number of times a DHCP server packet (OFFER, ACK, NAK, or LEASEQUERY) was received on an untrusted port and was dropped.
Nonzero giaddr
Number of times the relay agent address field (giaddr) in the DHCP packet received on an untrusted port was not zero, or the no ip dhcp snooping information option allow-untrusted global configuration command is not configured and a packet received on an untrusted port contained option-82 data.
Source mac not equal to chaddr
Number of times the client MAC address field of the DHCP packet (chaddr) does not match the packet source MAC address and the ip dhcp snooping verify mac-address global configuration command is configured.
Binding mismatch
Number of times a RELEASE or DECLINE packet was received on a port that is different than the port in the binding for that MAC address-VLAN pair. This indicates someone might be trying to spoof the real client, or it could mean that the client has moved to another port on the switch and issued a RELEASE or DECLINE. The MAC address is taken from the chaddr field of the DHCP packet, not the source MAC address in the Ethernet header.
Insertion of opt82 fail
Number of times the option-82 insertion into a packet failed. The insertion might fail if the packet with the option-82 data exceeds the size of a single physical packet on the internet.
Interface Down
Number of times the packet is a reply to the DHCP relay agent, but the SVI interface for the relay agent is down. This is an unlikely error that occurs if the SVI goes down between sending the client request to the DHCP server and receiving the response.
Unknown output interface
Number of times the output interface for a DHCP reply packet cannot be determined by either option-82 data or a lookup in the MAC address table. The packet is dropped. This can happen if option 82 is not used and the client MAC address has aged out. If IPSG is enabled with the port-security option and option 82 is not enabled, the MAC address of the client is not learned, and the reply packets will be dropped.
Reply output port equal to input port
Number of times the output port for a DHCP reply packet is the same as the input port, causing a possible loop. Indicates a possible network misconfiguration or misuse of trust settings on ports.
Packet denied by platform
Number of times the packet has been denied by a platform-specific registry.
show radius server-group
To display properties for the RADIUS server group, use the show radius server-group command.
show radius server-group {
name |
all}
Syntax Description
name
Name of the server group. The character string used to name the group of servers must be defined using the aaa group server radius command.
all
Displays properties for all of the server groups.
Command Modes
User EXEC
Privileged EXEC
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Use the show radius server-group command to display the server groups that you defined by using the aaa group server radius command.
Examples
This is an example of output from the show radius server-group all command:
Switch# show radius server-group all
Server group radius
Sharecount = 1 sg_unconfigured = FALSE
Type = standard Memlocks = 1
This table describes the significant fields shown in the display.
Table 7 show radius server-group command Field Descriptions
Field
Description
Server group
Name of the server group.
Sharecount
Number of method lists that are sharing this server group. For example, if one method list uses a particular server group, the sharecount would be 1. If two method lists use the same server group, the sharecount would be 2.
sg_unconfigured
Server group has been unconfigured.
Type
The type can be either standard or nonstandard. The type indicates whether the servers in the group accept nonstandard attributes. If all servers within the group are configured with the nonstandard option, the type will be shown as "nonstandard".
Memlocks
An internal reference count for the server-group structure that is in memory. The number represents how many internal data structure packets or transactions are holding references to this server group. Memlocks is used internally for memory management purposes.
tracking (IPv6 snooping)
To override the default tracking policy on a port, use the tracking command in IPv6 snooping policy configuration mode.
tracking {
enable [
reachable-lifetime {
value |
infinite}] |
disable [
stale-lifetime {
value |
infinite}
Syntax Description
enable
Enables tracking.
reachable-lifetime
(Optional) Specifies the maximum amount of time a reachable entry is considered to be directly or indirectly reachable without proof of reachability.
The reachable-lifetime keyword can be used only with the enable keyword.
Use of the reachable-lifetime keyword overrides the global reachable lifetime configured by the ipv6 neighbor binding reachable-lifetime command.
value
Lifetime value, in seconds. The range is from 1 to 86400, and the default is 300.
infinite
Keeps an entry in a reachable or stale state for an infinite amount of time.
disable
Disables tracking.
stale-lifetime
(Optional) Keeps the time entry in a stale state, which overwrites the global stale-lifetime configuration.
The stale lifetime is 86,400 seconds.
The stale-lifetime keyword can be used only with the disable keyword.
Use of the stale-lifetime keyword overrides the global stale lifetime configured by the ipv6 neighbor binding stale-lifetime command.
The tracking
command overrides the default tracking policy set by the ipv6 neighbor tracking command on the port on which
this policy applies. This function is useful on trusted ports
where, for example, you may not want to track entries but want an
entry to stay in the binding table to prevent it from being
stolen.
The reachable-lifetime keyword is the maximum
time an entry will be considered reachable without proof of
reachability, either directly through tracking or indirectly
through IPv6 snooping. After the reachable-lifetime value is reached, the
entry is moved to stale. Use of the reachable-lifetime keyword with the tracking command
overrides the global reachable lifetime configured by the ipv6 neighbor binding reachable-lifetime command.
The stale-lifetime keyword is the maximum
time an entry is kept in the table before it is deleted or the
entry is proven to be reachable, either directly or indirectly. Use
of the reachable-lifetime keyword with the tracking command
overrides the global stale lifetime configured by the ipv6 neighbor binding stale-lifetime command.
Examples
This example shows how to define an IPv6 snooping policy name as policy1, place the switch in IPv6 snooping policy configuration mode, and configure an entry to stay in the binding table for an infinite length of time on a trusted port:
To configure a port to become a trusted port, use the trusted-port command in IPv6 snooping policy mode or ND inspection policy configuration mode. To disable this function, use the no form of this command.
When the trusted-port command is enabled, limited or no verification is performed when messages are received on ports that have this policy. However, to protect against address spoofing, messages are analyzed so that the binding information that they carry can be used to maintain the binding table. Bindings discovered from these ports will be considered more trustworthy than bindings received from ports that are not configured to be trusted.
Examples
This example shows how to define an NDP policy name as policy1, place the switch in NDP inspection policy configuration mode, and configure the port to be trusted:
This example shows how to define an IPv6 snooping policy name as policy1, place the switch in IPv6 snooping policy configuration mode, and configure the port to be trusted:
(Optional) Specifies the maximum number of times (0 to 4 retries) that the controller retransmits an EAPOL (WPA) key message to a wireless client.
The default value is 2.
timeoutmilliseconds
(Optional) Specifies the amount of time (200 to 5000
milliseconds) that the controller waits before retransmitting
an EAPOL (WPA) key message to a wireless client using
EAP or WPA/WPA-2 PSK.
The default value is 1000 milliseconds.
group-keyintervalsec
Configures EAP-broadcast key renew interval time in seconds (120 to 86400 seconds).
identity-request
Configures EAP ID request related parameters.
retriesretries
(Optional) Specifies the maximum number of times (0 to 4 retries) that the controller request the EAP ID.
The default value is 2.
timeoutseconds
(Optional) Specifies the amount of time (1 to 120 seconds) that the controller waits before retransmitting an EAP Identity Request message to a wireless client.
The default value is 30 seconds.
radius
Configures radius messages.
call-station-id
(Optional) Configures Call-Station Id sent in radius messages.
ap-macaddress
Sets Call Station Id Type to the AP's MAC Address.
ap-macaddress-ssid
Sets Call Station Id Type to 'AP MAC address':'SSID'.
ipaddress
Sets Call Station Id Type to the system's IP Address.
macaddress
Sets Call Station Id Type to the system's MAC Address.
request
Configures EAP request related parameters.
retriesretries
(Optional) For EAP messages other than Identity Requests or EAPOL (WPA) key messages, specifies the maximum number of times (0 to 20 retries) that the controller retransmits the message to a wireless client.
The default value is 2.
timeoutseconds
(Optional) For EAP messages other than Identity Requests or EAPOL (WPA) key messages, specifies the amount of time (1 to 120 seconds) that the controller waits before retransmitting the message to a wireless client.
The default value is 30 seconds.
wepkey
Configures 802.1x WEP related paramters.
index0
Specifies the WEP key index value as 0
index3
Specifies the WEP key index value as 3
Command Default
Default for eapol-key-timeout: 1 second.
Default for eapol-key-retries: 2 retries.
Command Modes
config
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
None.
Examples
Examples
This example lists all the commands under
wirelesssecuritydot1x.
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#wireless security dot1x ?
eapol-key Configure eapol-key related parameters
group-key Configures EAP-broadcast key renew interval time in seconds
identity-request Configure EAP ID request related parameters
radius Configure radius messages
request Configure EAP request related parameters
wep Configure 802.1x WEP related paramters
<cr>
wireless security strong-password Command
To configure strong password enforcement options, use the
wirelesssecuritystrong-password command. To disable strong password, use the
no form of the command.
wirelesssecuritystrong-password
nowirelesssecuritystrong-password
Command Default
None.
Command Modes
config
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Examples
Examples
This example shows how to
configure a strong-password for wireless security.
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#wireless security strong-password
wireless wps ap-authentication Command
To configure the access point neighbor authentication, use the
wirelesswpsap-authentication command. To remove the access point neighbor authentication, use the
no form of the command.
wirelesswpsap-authentication
[ thresholdvalue ]
nowirelesswpsap-authentication [threshold]
Syntax Description
thresholdvalue
Specifies that the WMM-enabled clients are on the wireless LAN. Threshold value (1 to 255).
Command Default
None.
Command Modes
config
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Examples
Examples
This example shows how to
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#wireless wps ap-authentication threshold 65
wireless wps auto-immune Command
To enable protection from Denial of Service (DoS) attacks, use the
wirelesswpsauto-immune command. To disable, use the
no form of the command.
wirelesswpsauto-immune
nowirelesswpsauto-immune
Command Default
Disabled.
Command Modes
config
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
A potential attacker can use specially crafted packets to mislead the Intrusion Detection System (IDS) into treating a legitimate client as an attacker. It causes the controller to disconnect this legitimate client and launch a DoS attack. The auto-immune feature, when enabled, is designed to protect against such attacks. However, conversations using Cisco 792x phones might be interrupted intermittently when the auto-immune feature is enabled. If you experience frequent disruptions when using 792x phones, you might want to disable this feature.
Examples
Examples
This example shows how to
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#wireless wps auto-immune
wireless wps cids-sensor Command
To configure Intrusion Detection System (IDS) sensors for the Wireless Protection System (WPS), use the
wirelesswpscids-sensor command. To remove the Intrusion Detection System (IDS) sensors for the Wireless Protection System (WPS), use the
no form of the command.
Specifies the IDS sensor IP address, IDS sensor username, password type and IDS sensor password.
Command Default
Disabled.
Command Modes
config
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Examples
Examples
This example shows how to
configure the intrusion detection system with the IDS index, IDS sensor IP address, IDS username and IDS password.
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#wireless wps cids-sensor 1 10.0.0.51 Sensor_user0doc1 passowrd01
wireless wps client-exclusion Command
To configure client exclusion policies, use the
wirelesswpsclient-exclusion command. To remove the client exclusion policies, use the
no form of the command.
Specifies that the controller excludes clients on the sixth 802.11 association attempt, after five consecutive failures.
dot11-auth
Specifies that the controller excludes clients on the sixth 802.11 authentication attempt, after five consecutive failures.
dot1x-auth
Specifies that the controller excludes clients on the sixth 802.11X authentication attempt, after five consecutive failures.
ip-theft
Specifies that the control excludes clients if the IP address is already assigned to another device.
web-auth
Specifies that the controller excludes clients on the fourth web authentication attempt, after three consecutive failures.
all
Specifies that the controller excludes clients for all of the above reasons.
Command Default
Enabled.
Command Modes
config
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Examples
Examples
This example shows how to disable clients on the 802.11 association attempt after five consecutive failures.
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#wireless wps client-exclusion dot11-assoc
wireless wps mfp infrastructure Command
To configure Management Frame Protection (MFP), use the
wirelesswpsmfpinfrastructure command. To remove the Management Frame Protection (MFP), use the
no form of the command.
wirelesswpsmfpinfrastructure
nowirelesswpsmfpinfrastructure
Command Default
None.
Command Modes
config
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Examples
Examples
This example shows how to enable the infrastructure MFP.
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#wireless wps mfp infrastructure
wireless wps rogue Command
To configure various rouge parameters, use the
wirelesswpsrogue command.
Configures the status of
an Independent Basic Service Set (IBSS or ad-hoc) rogue access point.
client
Configures rogue clients
alertmac-addr
Generates an SMNP trap upon detection of the ad-hoc rogue, and generates an immediate alert to the system administrator for further action for the MAC address of the ad-hoc rogue access point.
containmac-addrno-of-aps
Contains the offending device so that its signals no longer interfere with authorized clients.
Maximum number of Cisco access points assigned to actively contain the ad-hoc rogue access point (1 through 4, inclusive).
Command Default
None.
Command Modes
Any command mode
Command History
Release
Modification
Cisco IOS XE 3.2SE
This command was introduced.
Usage Guidelines
Examples
Examples
This example shows how to
generate an immediate alert to the system administrator for further action for the MAC address of the ad-hoc rogue access point.
Switch#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#wireless wps rouge adhoc alert mac_addr