Table Of Contents
A Commands
aaa accounting
aaa authentication login
arp
attach module
A Commands
The commands in this chapter apply to the Cisco MDS 9000 Family of multilayer directors and fabric switches. All commands are shown here in alphabetical order regardless of command mode. See the "Command Modes" section to determine the appropriate mode for each command. For more information, refer to the Cisco MDS 9000 Family Configuration Guide.
•
aaa accounting
•
aaa authentication login
•
arp
•
attach module
aaa accounting
Use the aaa accounting logsize command to set the size of the local authentication, authorization, and accounting (AAA) log file. Use the no form of the ommand to clear the accounting configuration.
aaa accounting {logsize integer] [method {local | radius}
Syntax Description
aaa accounting
|
Sets the size of the log file on the local disk.
|
logsize
|
Configures the local accounting log file size (in bytes).
|
integer
|
Sets the size limit of the local accounting log file in bytes from 0-300K.
|
method
|
Configures method to be used for accounting.
|
local
|
Enables local accounting.
|
radius
|
Enables RADIUS to be used as accounting method.
|
Defaults
None.
Command Modes
Configuration mode.
Command History
This command was introduced in Cisco MDS SAN-OS Release 1.0(2).
Usage Guidelines
None.
Examples
The following example shows the log file size configured at 29000 bytes.
switch(config)# aaa accounting logsize 29000
The following example shows the accounting method configured as RADIUS.
switch(config)# aaa accounting method radius
Related Commands
Command
|
Description
|
show accounting config
|
Displays the configured accounting parameters.
|
show accounting logsize
|
Displays the configured log size.
|
show accounting log
|
Displays the entire log file.
|
aaa authentication login
To configure the authentication method, use the aaa authentication login command in all modes.
aaa authentication login local [console | telnet] none [console | telnet] radius [console | telnet]
Syntax Description
local
|
Local authentication method.
|
console
|
Authentication method for console login.
|
telnet
|
Authentication method for remote access (SSH/Telnet).
|
none
|
No authentication, everyone permitted.
|
radius
|
RADIUS authentication method.
|
Defaults
Disabled.
Command Modes
Available in all command modes.
Command History
This command was introduced in Cisco MDS SAN-OS Release 1.0(2).
Usage Guidelines
The local option disables other authentication methods and configures local authentication to be used exclusively.
Examples
The following example shows the authentication method for remote access configured as RADIUS.
switch(config)# aaa authentication login radius telnet
The following example shows the authentication method for console login configured as RADIUS.
switch(config)# aaa authentication login radius console
The following example shows the local authentication method configured as the authentication method for remote access.
switch(config)# aaa authentication login local telnet
The following example shows no authentication method configured for console login.
switch(config)# aaa authentication login none console
Related Commands
Command
|
Description
|
show authentication
|
Displays the configured authentication methods.
|
arp
To disable the Address Resolution Protocol (ARP) for the switch, use the no arp command.
no arp hostname
Syntax Description
hostname
|
Name of the host. Maximum length is 20 characters.
|
Defaults
Enabled.
Command Modes
Configuration mode.
Command History
This command was introduced in Cisco MDS SAN-OS Release 1.0(2).
Usage Guidelines
None.
Examples
The following example disables the Address Resolution Protocol configured for the host with the IP address 10.1.1.1.
switch(config)# no arp 10.1.1.1
Related Commands
Command
|
Description
|
show arp
|
Displays the ARP table.
|
no arp
|
Removes an ARP entry from the ARP table.
|
clear arp
|
Deletes a specific entry or all entries from the ARP table.
|
attach module
To connect to a specific module, use the attach module command in EXEC mode. To disconnect, use the exit command at the module-number# prompt, or type $. to forcibly abort the attach session.
attach module slot-number
Syntax Description
slot-number
|
Specifies slot number of the module you want to connect to. Slot numbers range from 1 to 9 for Cisco MDS 9509 switches.
|
Command Modes
EXEC.
Command History
This command was introduced in Cisco MDS SAN-OS Release 1.0(2).
Usage Guidelines
You can use the attach module command to view the standby supervisor module information, but you cannot configure the standby supervisor module using this command.
You can also use the attach module command on the switching module portion of the Cisco MDS 9216 supervisor module, which resides in slot 1 of this two-slot switch.
Examples
The following example connects to the module in slot 2. Note that after you connect to the image on the module using the attach module command, the prompt changes to module-number#.
Attaching to module 1 ...
To exit type 'exit', to abort type '$.'
Related Commands
Command
|
Description
|
show module
|
Displays the status of a module.
|