beautypg.com
iv
How to use NETCONF ······································································································································· 131
Protocols and standards ····································································································································· 131
FIPS compliance ··························································································································································· 131
NETCONF configuration task list ······························································································································· 132
Enabling NETCONF over SOAP ································································································································ 132
Establishing a NETCONF session ······························································································································ 132
Entering xml view ················································································································································ 133
Exchanging capabilities ····································································································································· 133
Subscribing to event notifications ······························································································································· 133
Subscription procedure ······································································································································· 134
Example for subscribing to event notifications ································································································· 135
Locking/unlocking the configuration·························································································································· 136
Locking the configuration ··································································································································· 136
Unlocking the configuration ······························································································································· 137
Example for locking the configuration ·············································································································· 137
Performing service operations ···································································································································· 138
Performing the get/get-bulk operation ·············································································································· 138
Performing the get-config/get-bulk-config operation ······················································································· 140
Performing the edit-config operation ················································································································· 140
All-module configuration data retrieval example ····························································································· 141
Syslog configuration data retrieval example ···································································································· 143
Example for retrieving a data entry for the interface table ············································································· 144
Example for changing the value of a parameter ····························································································· 145
Saving, rolling back, and loading the configuration ······························································································· 146
Saving the configuration ····································································································································· 146
Rolling back the configuration ··························································································································· 146
Loading the configuration ··································································································································· 147
Example for saving the configuration ··············································································································· 147
Filtering data ································································································································································· 148
Example for filtering data with regular expression match ·············································································· 150
Example for filtering data by conditional match ······························································································ 152
Performing CLI operations through NETCONF ········································································································· 153
Configuration procedure ···································································································································· 154
CLI operation example ········································································································································ 154
Retrieving NETCONF session information ················································································································ 155
Terminating another NETCONF session ···················································································································· 156
Configuration example ······································································································································· 157
Returning to the CLI ······················································································································································ 158
Appendix ································································································································································· 159
Appendix A Supported NETCONF operations ········································································································ 159
Configuring port mirroring ····································································································································· 169
Overview ······································································································································································· 169
Terminology ························································································································································· 169
Local port mirroring ············································································································································· 169
Configuring local port mirroring ································································································································ 170
Local port mirroring configuration task list ······································································································· 170
Creating a local mirroring group ······················································································································ 170
Configuring source ports for the local mirroring group ·················································································· 170
Configuring the monitor port for the local mirroring group ············································································ 171
Displaying and maintaining port mirroring ··············································································································· 172
Local port mirroring configuration example ·············································································································· 172
Network requirements ········································································································································· 172
Configuration procedure ···································································································································· 173