Table Of Contents
N Commands
This chapter describes the Cisco NX-OS security commands that begin with N.
nac enable
To enable Network Admission Control (NAC) on an interface, use the nac enable command. To disable NAC, use the no form of this command.
nac enable
no nac enable
Syntax Description
This command has no arguments or keywords.
Defaults
Disabled
Command Modes
Interface configuration
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
You must use the feature eou command and set the switchport mode to access before using the nac enable command.
You can enable EAPoUDP only on an access mode interface.
This command does not require a license.
Examples
This example shows how to enable NAC on an interface:
switch# config tswitch(config)# interface ethernet 1/1switch(config-if)# switchportswitch(config-if)# switchport mode accessswitch(config-if)# nac enableThis example shows how to disable NAC on an interface:
switch# config tswitch(config)# interface ethernet 1/1switch(config-if)# no nac enableRelated Commands
neq
To specify a not-equal-to group member for an IP port object group, use the neq command. To remove a not-equal-to group member from port object group, use the no form of this command.
[sequence-number] neq port-number
no {sequence-number | neq port-number}
Syntax Description
Defaults
None
Command Modes
IP port object group configuration
Supported User Rolesnetwork-admin
vdc-adminCommand History
Usage Guidelines
A not-equal-to group member matches port numbers that are not equal to the port number specified in the entry.
IP port object groups are not directional. Whether an neq command matches a source or destination port or whether it applies to inbound or outbound traffic depends upon how you use the object group in an ACL.
This command does not require a license.
Examples
This example shows how to configure an IP port object group named port-group-05 with a group member that matches traffic sent to any port except port 80:
switch# config tswitch(config)# object-group ip port port-group-05switch(config-port-ogroup)# neq 80Related Commands