288
•
set
: Specifies all edit-config operations.
•
session
: Specifies session-related NETCONF operations, including the kill-session and
close-session operations, and capability exchanges by hello messages.
•
syntax
: Specifies the requests that include XML and schema errors.
•
others
: Specifies NETCONF operations except for those specified by keywords
action
,
config
,
get
,
set
,
session
, and
syntax
.
verbose
: Logs detailed NETCONF information. For request operations, this keyword logs the texts
of the requests after brief information. For service operations, this keyword takes effect only on
edit-config operations. When an edit-config operation error occurs, this keyword logs detailed error
information.
Usage guidelines
For NETCONF to correctly send the generated logs to the information center, you must also
configure the information center. For information about information center configuration, see the
network management and monitoring configuration guide for the device.
Examples
# Configure the device to log NETCONF edit-config information sourced from agent clients.
<Sysname> system-view
[Sysname] netconf log source agent protocol-operation set
netconf soap http acl
Use
netconf soap http acl
to apply an ACL to NETCONF over SOAP over HTTP traffic.
Use
undo netconf soap http acl
to restore the default.
Syntax
netconf soap http acl
{
acl-number
|
name acl-name
}
undo netconf soap http acl
Default
No ACL is applied to NETCONF over SOAP over HTTP traffic.
Views
System view
Predefined user roles
network-admin
Parameters
acl-number
: Specifies an ACL by its number in the range of 2000 to 2999.
name
acl-name
: Specifies an ACL by its name. The
acl-name
argument is a case-insensitive string
of 1 to 63 characters. It must start with an English letter and to avoid confusion, it cannot be
all
. The
specified ACL must be an IPv4 basic ACL that has already been created.