Management ACL Commands 1415
User Guidelines
Rules with gigabitethernet, tengigabitethernet, vlan, and port-channel
parameters are valid only if an IP address is defined on the appropriate
interface. Ensure that each rule has a unique priority.
Example
The following example shows how all ports are denied in the access-list called
mlist
.
console(config)# management access-list mlist
console(config-macal)# deny
management access-class
Use the management access-class command in Global Configuration mode
to restrict management connections. To disable restriction, use the no form
of this command.
Syntax
management access-class {console-only |
name
}
no management access-class
name
— A valid access-list name. (Range: 1–32 characters)
console-only
— The switch can be managed only from the console.
Default Configuration
This command has no default configuration.
Command Mode
Global Configuration mode
User Guidelines
This command has no user guidelines.
2CSPC4.XCT-SWUM2XX1.book Page 1415 Monday, October 3, 2011 11:05 AM