sushma_alethea.test.icx_aaa_accounting_console (1.0.0) — module

Configures AAA accounting in Ruckus ICX 7000 series switches.

Authors: Ruckus Wireless (@Commscope)

Install collection

Install with ansible-galaxy collection install sushma_alethea.test:==1.0.0


Add to requirements.yml

  collections:
    - name: sushma_alethea.test
      version: 1.0.0

Description

Configures AAA accounting in Ruckus ICX 7000 series switches.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: configure aaa accounting mac_auth and commands
  community.network.icx_aaa_accounting_console:
    mac_auth:
      primary_method: none
      state: present
    commands:
      privilege_level: 0
      primary_method: radius
      backup_method1: none
      state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: disable aaa accounting for system
  community.network.icx_aaa_accounting_console:
    system:
      primary_method: tacacs+
      backup_method1: radius
      backup_method2: none
      state: absent

Inputs

    
dot1x:
    description: Enables 802.1X accounting.
    suboptions:
      backup_method1:
        choices:
        - none
        description: Backup accounting method if primary method fails.
        type: str
      primary_method:
        choices:
        - radius
        - none
        description: Primary accounting method.
        required: true
        type: str
      state:
        choices:
        - present
        - absent
        default: present
        description: Specifies whether to configure or remove aaa accounting for dot1x.
        type: str
    type: dict

exec_:
    description: Configures the AAA accounting configuration parameters for SSH and Telnet
      access.
    suboptions:
      backup_method1:
        choices:
        - radius
        - tacacs+
        - none
        description: Backup accounting method if primary method fails.
        type: str
      backup_method2:
        choices:
        - none
        description: Backup accounting method if primary and backup1 methods fail.
        type: str
      primary_method:
        choices:
        - radius
        - tacacs+
        - none
        description: Primary accounting method.
        required: true
        type: str
      state:
        choices:
        - present
        - absent
        default: present
        description: Specifies whether to configure or remove aaa accounting for exec.
        type: str
    type: dict

system:
    description: Configures AAA accounting to record when system events occur on the device.
    suboptions:
      backup_method1:
        choices:
        - radius
        - tacacs+
        - none
        description: Backup accounting method if primary method fails.
        type: str
      backup_method2:
        choices:
        - none
        description: Backup accounting method if primary and backup1 methods fail.
        type: str
      primary_method:
        choices:
        - radius
        - tacacs+
        - none
        description: Primary accounting method.
        required: true
        type: str
      state:
        choices:
        - present
        - absent
        default: present
        description: Specifies whether to configure or remove aaa accounting for system.
        type: str
    type: dict

commands:
    description: Configures the AAA accounting configuration parameters for EXEC commands.
    suboptions:
      backup_method1:
        choices:
        - radius
        - tacacs+
        - none
        description: Backup accounting method if primary method fails.
        type: str
      backup_method2:
        choices:
        - none
        description: Backup accounting method if primary and backup1 methods fail.
        type: str
      primary_method:
        choices:
        - radius
        - tacacs+
        - none
        description: Primary accounting method.
        required: true
        type: str
      privilege_level:
        choices:
        - 0
        - 4
        - 5
        description: Configures the device to perform AAA accounting for the commands
          available at the specified privilege level. Valid values are 0,4 and 5.
        required: true
        type: int
      state:
        choices:
        - present
        - absent
        default: present
        description: Specifies whether to configure or remove aaa accounting for commands.
        type: str
    type: dict

mac_auth:
    description: Enables or disables RADIUS accounting for MAC authentication sessions.
    suboptions:
      backup_method1:
        choices:
        - none
        description: Backup accounting method if primary method fails.
        type: str
      primary_method:
        choices:
        - radius
        - none
        description: Primary accounting method.
        required: true
        type: str
      state:
        choices:
        - present
        - absent
        default: present
        description: Specifies whether to configure or remove aaa accounting for mac-auth.
        type: str
    type: dict

enable_console:
    description: Enables AAA support for commands entered at the console.
    suboptions:
      state:
        choices:
        - present
        - absent
        default: present
        description: Specifies whether to enable or disable aaa accounting.
        type: str
    type: dict