Brocade Network OS NETCONF Operations Guide v4.1.1 User Manual Page 72

  • Download
  • Add to my manuals
  • Print
  • Page
    / 622
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 71
40 Network OS NETCONF Operations Guide
53-1003231-02
Syslog server setup
3
<syslogip>192.168.163.236</syslogip>
</syslog-server>
</logging>
</config>
</edit-config>
</rpc>
<rpc-reply message-id="321" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<ok/>
</rpc-reply>
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.
<?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="322" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<get-config>
<source>
<running/>
</source>
<filter type="subtree">
<logging xmlns="urn:brocade.com:mgmt:brocade-ras">
<syslog-server/>
</logging>
</filter>
</get-config>
</rpc>
<rpc-reply message-id="322" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
<logging xmlns="urn:brocade.com:mgmt:brocade-ras">
<syslog-server>
<syslogip>192.168.163.233</syslogip>
<secure/>
<port>2000</port>
</syslog-server>
<syslog-server>
<syslogip>fec0:60:69bc:92:218:8bff:fe40:15c4</syslogip>
<secure/>
<port>1999</port>
</syslog-server>
<syslog-server>
<syslogip>192.168.163.235</syslogip>
</syslog-server>
<syslog-server>
<syslogip>192.168.163.236</syslogip>
</syslog-server>
</logging>
</rpc-reply>
Modifying the syslog server configuration
You can change the secure mode and the port number of a configured syslog server. The following
example disables secure mode for the syslog server 192.168.163.233, enables secure mode for
the syslog server 192.168.163.236. It also sets the port number for the newly secured server to
2001.
?xml version="1.0" encoding="UTF-8"?>
<rpc message-id="323" xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
Page view 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 621 622

Comments to this Manuals

No comments