community.network.icx_logging – Manage logging on Ruckus ICX 7000 series switches¶
Note
This plugin is part of the community.network collection (version 2.1.1).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.icx_logging
.
Synopsis¶
This module provides declarative management of logging on Ruckus ICX 7000 series switches.
Parameters¶
Notes¶
Note
Tested against ICX 10.1.
For information on using ICX platform, see the ICX OS Platform Options guide.
Examples¶
- name: Configure host logging.
community.network.icx_logging:
dest: host
name: 172.16.0.1
udp_port: 5555
- name: Remove host logging configuration.
community.network.icx_logging:
dest: host
name: 172.16.0.1
udp_port: 5555
state: absent
- name: Disables the real-time display of syslog messages.
community.network.icx_logging:
dest: console
state: absent
- name: Enables local syslog logging.
community.network.icx_logging:
dest : on
state: present
- name: Configure buffer level
community.network.icx_logging:
dest: buffered
level: critical
- name: Configure logging using aggregate
community.network.icx_logging:
aggregate:
- { dest: buffered, level: ['notifications','errors'] }
- name: Remove logging using aggregate
community.network.icx_logging:
aggregate:
- { dest: console }
- { dest: host, name: 172.16.0.1, udp_port: 5555 }
state: absent
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
commands
list
/ elements=string
|
always |
The list of configuration mode commands to send to the device
Sample:
['logging host 172.16.0.1', 'logging console']
|
Authors¶
Ruckus Wireless (@Commscope)