iv
How to use NETCONF ··························································································································· 147
Protocols and standards ························································································································ 147
FIPS compliance ············································································································································ 148
NETCONF configuration task list ··················································································································· 148
Configuring NETCONF over SOAP ··············································································································· 148
Enabling NETCONF over SSH ······················································································································ 149
Enabling NETCONF logging ·························································································································· 149
Configuring NETCONF to use module-specific namespaces ········································································ 150
About module-specific namespaces for NETCONF ··············································································· 150
Configuration restrictions and guidelines ······························································································· 151
Configuration procedure ························································································································· 151
Establishing a NETCONF session ················································································································· 151
Setting the NETCONF session idle timeout time ··················································································· 151
Entering XML view ································································································································· 152
Exchanging capabilities ·························································································································· 152
Subscribing to event notifications··················································································································· 152
Subscription procedure ·························································································································· 153
Example for subscribing to event notifications ······················································································· 154
Locking/unlocking the configuration ··············································································································· 155
Locking the configuration ······················································································································· 155
Unlocking the configuration ···················································································································· 155
Example for locking the configuration ···································································································· 156
Performing service operations ······················································································································· 157
Performing the get/get-bulk operation ···································································································· 157
Performing the get-config/get-bulk-config operation ·············································································· 159
Performing the edit-config operation ······································································································ 159
All-module configuration data retrieval example ···················································································· 160
Syslog configuration data retrieval example ·························································································· 162
Example for retrieving a data entry for the interface table ····································································· 163
Example for changing the value of a parameter ···················································································· 164
Saving, rolling back, and loading the configuration ························································································ 165
Saving the configuration ························································································································· 165
Rolling back the configuration based on a configuration file ·································································· 165
Rolling back the configuration based on a rollback point ······································································· 166
Loading the configuration ······················································································································· 170
Example for saving the configuration ····································································································· 170
Filtering data ·················································································································································· 171
Table-based filtering ······························································································································· 171
Column-based filtering ··························································································································· 171
Example for filtering data with regular expression match ······································································· 174
Example for filtering data by conditional match ······················································································ 175
Performing CLI operations through NETCONF······························································································ 176
Configuration procedure ························································································································· 177
CLI operation example ··························································································································· 177
Retrieving NETCONF information ·················································································································· 178
Retrieving YANG file content ························································································································· 179
Retrieving NETCONF session information····································································································· 180
Terminating another NETCONF session ······································································································· 181
Configuration procedure ························································································································· 181
Configuration example ··························································································································· 181
Returning to the CLI ······································································································································· 182
Appendix ··································································································· 183
Appendix A Supported NETCONF operations ······························································································· 183
Configuring EAA ························································································ 193
Overview ························································································································································ 193
EAA framework ······································································································································ 193
Elements in a monitor policy ·················································································································· 194
EAA environment variables ···················································································································· 195
Configuring a user-defined EAA environment variable ·················································································· 196
Configuring a monitor policy··························································································································· 197