Setting the raslog severity filter – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual
Page 76

44
Network OS NETCONF Operations Guide
53-1003231-02
RASlog configuration
3
<severity>informational</severity>
<message>Port-profile aa1 removed successfully on TenGigabitEthernet/
2/0/17</message>
<message-flag>other</message-flag>
<switch-or-chassis-name>switchA</switch-or-chassis-name>
</raslog-entries>
<raslog-entries>
(output truncated)
Setting the RASlog severity filter
You can choose one of the following severity levels to filter RASlog messages: INFO (default),
ERROR, WARNING, or CRITICAL. Input values are case-sensitive. The configured severity level
marks the reporting threshold. All messages with the configured severity or higher are displayed.
To set the RASlog severity filter in the VCS Fabric mode, perform the following steps.
1. Issue the <edit-config> RPC to configure the <logging> node in the
urn:brocade.com:mgmt:brocade-ras namespace.
2. Under the <logging> node, include the <rbridge-id> node element.
3. Under the <rbridge-id> node, include the <rbridge-id> leaf element.
4. Under the <rbridge-id> node, include the <raslog> node element.
5. Under the <raslog> node, include the <console> leaf element and specify INFO, ERROR,
WARNING, or CRITICAL.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="328" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<edit-config>
<target>
<running/>
</target>
<config>
<logging xmlns="urn:brocade.com:mgmt:brocade-ras">
<rbridge-id>
<rbridge-id>23</rbridge-id>
<raslog>
<console>WARNING</console>
</raslog>
</rbridge-id>
</logging>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="328" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
To set the RASlog filter in standalone mode, include the <raslog>/<console> elements directly
under the <logging> node.