Huawei Firewall Security Policy Essentials

How to Configure Security Policies to Allow NETCONF

How to Configure Security Policies to Allow NETCONF

NETCONF is an XML-based network management protocol and provides a set of programmable methods for network device configuration and management. The transport layer protocol of NETCONF can be BEEP, SSH, TLS, or SOAP. According to RFC, SSH must be supported. Therefore, SSH is the most widely used transport layer protocol for NETCONF. Currently, Huawei firewalls support SSH only.

The NMS, functioning as a NETCONF client, sends a connection request to the device functioning as a NETCONF server to establish an SSH connection. NETCONF sessions are carried over the SSH connection. According to RFC 6242, the NETCONF server (managed device) uses TCP port 830 to receive SSH connection requests from the NETCONF client by default. Most network devices provide the method of changing the NETCONF over SSH port. You can determine the ports to be opened based on the configuration of the network devices.

Figure 7-6 Typical NETCONF networking

For traffic from the NMS to managed devices, configure a security policy by referring to Table 7-9. In some scenarios, managed devices proactively initiate connection requests to register with the NMS, which is called Call Home registration. In this case, you need to configure a security policy (security policy 103 in Table 7-9) to permit traffic in the corresponding direction.

Table 7-9 Security policy example — NETCONF

No.

Name

Source Security Zone

Destination Security Zone

Source Address/Region

Destination Address/Region

Service

Action

101

Allow NMS to firewall

Trust

Local

10.1.1.10/24

10.1.1.1/24

netconf (TCP: 830)

permit

102

Allow NMS to switch

Trust

Untrust

10.1.1.10/24

10.1.2.10/24

netconf (TCP: 830)

permit

103

Allow switch call-home

Untrust

Trust

10.1.2.10/24

10.1.1.10/24

TCP: 10020

permit

The communication port used by NETCONF varies according to the transport layer protocol. If heterogeneous devices are deployed on a network, check the port used by the devices to communicate with the NMS. Table 7-10 lists the ports allocated by the Internet Assigned Numbers Authority (IANA) to NETCONF.

Table 7-10 NETCONF communication ports

Transport Layer Protocol

Communication Port

Reference

NETCONF over SSH

TCP: 830

RFC 6242

NETCONF over BEEP

TCP: 831

RFC 4744

NETCONF for SOAP over HTTPS

TCP: 832

RFC 4743

NETCONF for SOAP over BEEP

TCP: 833

RFC 4743

NETCONF over TLS

TCP: 6513

RFC 7589

Translation
Favorite
Download
Update Date:2023-04-06
Document ID:EDOC1100172313
Views:213153
Downloads:997
Average rating:4.75Points

Digital Signature File

digtal sigature tool