Removing a syslog ca certificate, Removing a syslog server – Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual

Page 74

Advertising
background image

42

Network OS NETCONF Operations Guide

53-1003231-02

Syslog server setup

3

<user>testuser</user>

<password>password</password>

<host>10.70.4.101</host>

<directory>/users/home40/testuser</directory>

<file>ca.cert</file>

</syslogca>

</import>

</certutil>

</data>

</action>

</rpc>

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="324">

<ok/>

</rpc-reply>

Removing a syslog CA certificate

To delete the CA certificate, issue the <syslogca> action located in the <no>/<certutil> node,
where the <no> element resides in the urn:brocade.com:mgmt:brocade-common-def namespace
and the <certutil> node resides in the urn:brocade.com:mgmt:brocade-certutil namespace.

<rpc xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="325">

<action xmlns:nca="http://tail-f.com/ns/netconf/actions/1.0">

<data>

<no xmlns="urn:brocade.com:mgmt:brocade-common-def">

<certutil xmlns="urn:brocade.com:mgmt:brocade-certutil">

<syslogca/>

</certutil>

</no>

</data>

</action>

</rpc>

<rpc-reply xmlns="urn:ietf:params:xml:ns:netconf:base:1.0" message-id="325">

<ok/>

</rpc-reply>

Removing a syslog server

To remove a syslog server, 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, for the syslog server you want to remove, include a <syslog-server>

node element and include the delete operation in the element tag.

3. Under the <syslog-server> node, include a <syslogip> node and specify the IPv4 or IPv6

address of the syslog server you want to delete.

4. To verify the syslog server configuration, issue the <edit-config> RPC with a subtree filter to

return only information under the <logging> node in the urn:brocade.com:mgmt:brocade-ras
namespace.

The following example removes a syslog server.

<?xml version="1.0" encoding="UTF-8"?>

<rpc message-id="326" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">

Advertising