C o n f i g u r i n g S y s t e m I n f o r m a t i o n
147
The following is an example of the CLI commands:
Console (config)# management access-list mlist
Console (config-macl)# permit ethernet 1/e1
Console (config-macl)# permit ethernet 2/e9
Console (config-macl)# deny ethernet 1/e2
Console (config-macl)# deny ethernet 2/e10
Console (config-macl)# exit
CLI Command
Description
management access-list
name
Defines an access-list for management,
and enters the access-list context for
configuration.
permit [ethernet
interface-
number
|
vlan
vlan-id
|
port-
channel
number
] [service
service
]
Sets port permitting conditions for the
management access list.
permit ip-source
ip-address
[mask
mask
|
prefix-length
]
[ethernet
interface-number
|
vlan
vlan-id
|
port-channel
number
] [service
service
]
Sets port permitting conditions for the
management access list, and the
selected management method.
deny [ethernet
interface-
number
|
vlan
vlan-id
|
port-
channel
number
] [service
service
]
Sets port denying conditions for the
management access list, and the
selected management method.
deny ip-source
ip-address
[mask
mask
|
prefix-length
]
[ethernet
interface-number
|
vlan
vlan-id
|
port-channel
number
] [service
service
]
Sets port denying conditions for the
management access list, and the
selected management method.
management access-class {console-
only |
name
}
Defines which access-list is used as the
active management connections.
show management access-list
[
name
]
Displays the active management access-
lists.
show management access-class
Displays information about
management access-class.