Use the following CLI commands to add the input module or to delete the input module from the Comm Broker configuration.
To add an input module to the Communications Broker Sender configuration:
Go to CLI configuration mode.
hostname > enable hostname # configure terminalSpecify the input format type for the Comm Broker module.
To specify the syslog format type:
hostname (config) # commbroker input syslogTo specify the JSON format type:
hostname (config) # commbroker input json
Specify the management interface to receive incoming events sent over TCP, UDP, or SSL.
Note
The NX appliance can send data through Tapsender and Commbroker over IPv6 when an IPv6 address is configured on the ether1/either2 interface.
To specify the ether1 management interface:
hostname (config) # commbroker input <formatType> interface ether1To specify the ether2 management interface:
hostname (config) # commbroker input <formatType> interface ether2
Specify the type of protocol to receive the incoming syslog or JSON events.
To receive the incoming syslog or JSON events sent over TCP:
hostname (config) # commbroker input <formatType> interface <interfaceName> proto tcpTo receive the incoming syslog or JSON events sent over UDP:
hostname (config) # commbroker input <formatType> interface <interfaceName> proto udpTo receive the incoming syslog or JSON events sent over SSL:
hostname (config) # commbroker input <formatType> interface <interfaceName> proto ssl
Specify the port number that is used by Comm Broker to receive third-party syslog and JSON events.
hostname (config) # commbroker input <formatType> interface <interfaceName> proto <protocolType> port <portNumber>where
<portNumber>is the port number that is used to receive events. Valid values are integers ranging from 514 to 65535.Save your changes.
hostname (config) # write memoryVerify the configuration for the Comm Broker input modules.
hostname (config) # show commbroker config
Example
This example shows how to add six input modules to the Comm Broker configuration.
hostname (config) # commbroker input json interface ether1 proto ssl port 517hostname (config) # commbroker input json interface ether1 proto ssl port 518hostname (config) # commbroker input json interface ether1 proto udp port 515hostname (config) # commbroker input syslog interface ether1 proto ssl port 2322hostname (config) # commbroker input syslog interface ether1 proto ssl port 4344hostname (config) # commbroker input syslog interface ether1 proto tcp port 515hostname (config) # show commbroker config
input module: syslog
interface: ether1
proto: ssl
port: 2322
interface: ether1
proto: ssl
port: 4344
interface: ether1
proto: tcp
port: 515
input module: json
interface: ether1
proto: ssl
port: 517
interface: ether1
proto: ssl
port: 518
interface: ether1
proto: udp
port: 515To delete an input module from the Communications Broker Sender configuration:
Go to CLI configuration mode.
hostname > enable hostname # configure terminalDelete the input format type from the Comm Broker module.
To delete the syslog format type:
hostname (config) # no commbroker input syslogTo delete the JSON format type:
hostname (config) # no commbroker input json
Delete the management interface from the Comm Broker input module.
To delete the ether1 management interface:
hostname (config) # no commbroker input <formatType> interface ether1To delete the ether2 management interface:
hostname (config) # no commbroker input <formatType> interface ether2
Delete the type of protocol from the Comm Broker input module.
To delete the TCP protocol:
hostname (config) # no commbroker input <formatType> interface <interfaceName> proto tcpTo delete the UDP protocol:
hostname (config) # no commbroker input <formatType> interface <interfaceName> proto udpTo delete the SSL protocol:
hostname (config) # no commbroker input <formatType> interface <interfaceName> proto ssl
Delete the port number from the Comm Broker input module.
hostname (config) # commbroker input <formatType> interface <interfaceName> proto <protocolType> port <portNumber>where
<portNumber>is the port number that is used to receive events. Valid values are integers ranging from 514 to 65535.Save your changes.
hostname (config) # write memoryVerify the configuration for the Comm Broker input modules.
hostname (config) # show commbroker config
Example
The following example shows how to remove one syslog input format on the ether1 management interface using the TCP protocol on port 515 from the Comm Broker configuration.
hostname (config) # no commbroker input syslog interface ether1 proto tcp port 515hostname (config) # show commbroker config
input module: syslog
interface: ether1
proto: ssl
port: 2322
interface: ether1
proto: ssl
port: 4344
input module: json
interface: ether1
proto: ssl
port: 517
interface: ether1
proto: ssl
port: 518
interface: ether1
proto: udp
port: 515