Configuring session hello-timeout, Configuring session idle-timeout, Displaying netconf statistics – Brocade Multi-Service IronWare Administration Guide (Supporting R05.6.00) User Manual
Page 316

298
Multi-Service IronWare Administration Guide
53-1003028-02
Basic NETCONF operations
8
Configuring session hello-timeout
A NETCONF session hello-timeout indicates the number of seconds a session waits before the hello
message is received from the NETCONF client. A session is dropped if no hello message is received
before the specified number of seconds elapses. If this parameter is set to zero, the server never
drops a session.
NOTE
Setting the NETCONF session hello-timeout value to zero permits denial of service attacks.
To configure a NETCONF session hello-timeout, enter the following command.
Brocade(config)# netconf hello-timeout 300
Syntax: [no] netconf hello-timeout [seconds]
The seconds variable specifies the number of seconds the server waits to receive a hello message.
The range is from 1 through 3600 seconds. The default value is 600 seconds.
Configuring session idle-timeout
A NETCONF session idle-timeout indicates the number of seconds that a session may remain idle
without issuing any RPC requests. A session is dropped if it is idle for an interval longer than the
specified number of seconds. If this parameter is set to zero, the server never drops a session
because it is idle.
To configure a NETCONF session idle-timeout, enter the following command.
Brocade(config)# netconf idle-timeout 86400
Syntax: [no] netconf idle-timeout [seconds]
The seconds variable specifies the number of seconds a session remains idle. The range is from 1
through 360000 seconds. The default value is 3600 seconds.
Displaying NETCONF statistics
To display the NETCONF server level information and statistics, enter the following command.
Brocade# show netconf server
NETCONF server status: Enabled, Port: 830, Transport: SSH
Start Time: Feb 4 19:20:31
Max allowed sessions: 1, Active sessions: 1
Hello timeout: 600 seconds, Idle timeout: 3600 seconds
Server statistics:
In sessions : 1 In bad hellos : 0
Dropped sessions : 0 In too big rpcs : 0
In rpcs : 1 In bad rpcs : 0
Out rpcs : 1 Out rpc errors : 0
Out too big rpcs : 0
Syntax: show netconf server
describes the output of the show netconf server command.