4. Type or paste the following closesession message to close the NETCONF
670
G8264 Application Guide for ENOS 8.4
The switch sends an rpcreply message:
<rpcreply messageid="100">
<data>
<configurationtext
xmlns="http://www.ibm.com/netconf/1.0/configtext"> version "8.4.1"
switchtype "Lenovo Lenovo RackSwitch G8264"
!
!
no system dhcp mgta
!
!
interface ip 127
ip address 172.31.36.51
enable
exit
!
ip gateway 3 address 172.31.1.1
ip gateway 3 enable
!
!
end
</configurationtext>
</data>
</rpcreply>
]]>]]>
Note: Repeat Step 3 for each request you need to send to the switch.
session and terminate the SSH connection.
<rpc messageid="101">
<closesession/>
</rpc>
]]>]]>
The switch sends the following response:
<rpcreply messageid="101">
<ok/>
</rpcreply>
]]>]]>