Back to Contents Page

Management ACL

Dell™ PowerConnect™ 3324/3348 Switch CLI Guide

  management access-list

  permit (management)

  deny (management)

  management access-class

  show management access-list

  show management access-class



management access-list

Use the management access-list configuration command to define an access-list for management and enter the access-list context for configuration. If you re-enter the command, all the access-list rules for the existing access-list are implicitly removed. Once in the access-list configuration mode, the denied or permitted access conditions are configured with the deny and permit commands. To remove an access list, use the no form of this command.

Syntax

management access-list name

no management access-list name

Default Configuration

This command has no default configuration.

Command Mode

Management Access-list Configuration Mode

User Guidelines

Use the management access-class command to select which access-list is active.

The active access-list cannot be updated or removed.

Examples

The following example shows how to create an access-list, configure two management interfaces, and make the access-list the active list.

Console (config)# management access-list mlist

Console (config-macl)# permit ethernet 1/e1

Console (config-macl)# permit ethernet 2/e9

Console (config-macl)# exit

Console (config)# management access-class mlist

The following example shows how to create an access-list, configure all interfaces to be management interfaces except interfaces ethernet 1/e1 and ethernet 2/e9, and make the access-list the active list.

Console (config)# management access-list mlist

Console (config-macl)# deny ethernet 1/e1

Console (config-macl)# deny ethernet 2/e9

Console (config-macl)# permit

Console (config-macl)# exit

Console (config)# management access-class mlist


permit (management)

Use the permit management access-list configuration command to define a permit rule.

Syntax

permit [ethernet interface-number | vlan vlan-id | port-channel number] [service service]

permit ip-source ip-address [mask mask | prefix-length] [ethernet interface-number | vlan vlan-id | port-channel number] [service service]

Default Configuration

This command has no default configuration.

Command Mode

Management Access-list Configuration Mode

User Guidelines

Where no parameters are entered, all ports are automatically configured as permitted.

Examples

The following example permits all ports in the access-list called mlist.

Console (config)# management access-list mlist

Console (config-macl)# permit


deny (management)

Use the deny management access-list configuration command to define a deny rule.

Syntax

deny [ethernet interface-number | vlan vlan-id | port-channel number] [service service]

deny ip-source ip-address [mask mask | prefix-length] [ethernet interface-number | vlan vlan-id | port-channel number] [service service]

Default Configuration

This command has no default configuration.

Command Mode

Management Access-list Configuration Mode

User Guidelines

Where no parameters are entered, all ports are automatically configured as denied.

Examples

The following example denies all ports in the access-list.

Console (config)# management access-list mlist

Console (config-macl)# deny


management access-class

Use the management access-class global configuration command to define which management access-list is used. To disable the restrictions, use the no form of this command.

Syntax

management access-class {console-only | name}

no management access-class

Default Configuration

The default is no restictions.

Command Mode

Global Configuration Mode

User Guidelines

There are no user guidelines for this command.

Examples

The following example configures an access-list as the management access-list.

Console (config)# management access-class mlist


show management access-list

Use the show management access-list privileged EXEC command to display management access-lists.

Syntax

show management access-list [name]

Default Configuration

This command has no default configuration.

Command Mode

Privileged EXEC Mode

User Guidelines

There are no user guidelines for this command.

Examples

The following example displays the active management access-list.

Console# show management access-list

mlist

-----

permit ethernet 1/e1

permit ethernet 2/e9

! (Note: all other access implicitly denied)


show management access-class

Use the show management access-class user EXEC command to display the active management access-list.

Syntax

show management access-class

Default Configuration

This command has no default configuration.

Command Mode

User EXEC Mode

User Guidelines

There are no user guidelines for this command.

Examples

The following example displays the management access-list information.

Console> show management access-class

Management access-class is enabled, using access list mlist


Back to Contents Page