exclude

Specifies the MAC addresses excluded from the NAC enforcement list

Supported in the following platforms:

Syntax

exclude <START-MAC> [<END-MAC> precedence <1-1000>|precedence <1-1000>]

Parameters

exclude <START-MAC> [<END-MAC> precedence <1-1000>|precedence <1-1000>]
<START-MAC> Specifies a range of MAC addresses or a single MAC address to exclude from the NAC enforcement list
  • <START-MAC> – Specify the first MAC address in the range.
Note: Use this parameter to specify a single MAC address.
<END-MAC> Specifies the last MAC address in the range (optional if a single MAC is added to the list)
  • <END-MAC> – Specify the last MAC address in the range.
precedence <1-1000> Sets the rule precedence. Exclude entries are checked in the order of their rule precedence.
  • <1-1000> – Specify a value from 1 - 1000.

Examples

nx9500-6C8809(config-nac-list-test)#exclude 00-40-96-B0-BA-2A precedence 1
nx9500-6C8809(config-nac-list-test)#show context
nac-list test
 exclude 00-40-96-B0-BA-2A 00-40-96-B0-BA-2A precedence 1
nx9500-6C8809(config-nac-list-test)#

Related Commands

no (nac-list-config-commands) Removes an exclude rule from this NAC list