14-Common Industrial Protocols Command Reference

HomeSupportReference GuidesCommand ReferencesH3C IE4300[IE4300-M][IE4320] Switch Series Command References-R63xx-6W10214-Common Industrial Protocols Command Reference
01-EtherNet IP commands
Title Size Download
01-EtherNet IP commands 52.06 KB

EtherNet/IP commands

EtherNet/IP is supported only in F6355P05 and later.

display ethernrt-ip information interface

Use display ethernet-ip information interface to display information required for reading port information via EtherNet/IP.

Syntax

display ethernet-ip information interface { interface-type interface-number | interface-name }

Default

N/A

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface { interface-type interface-number | interface-name }: Specifies an interface by its type and number.

Usage guidelines

Application scenarios

EtherNet/IP implicit communication uses a producer/consumer model. In this model, the devices act as data producers. They send their data onto the network all at once, allowing the controller to selectively read the data it requires. This greatly enhances the communication efficiency of the entire EtherNet/IP network system.

The controller can differentiate the data of ports in the total data sent by the device by the port ID displayed in this command.

Restrictions and guidelines

Before executing this command, you must first execute the ethernet-ip enable command to enable EtherNet/IP.

Examples

# Display information required for reading port information via EtherNet/IP.

<Sysname> display ethernet-ip information interface gigabitethernet 1/0/1

Interface name: GigabitEthernet1/0/1

Port ID: 1

ethernet-ip enable

Use ethernet-ip enable to enable Ethernet/Industrial Protocol (EtherNet/IP).

Use undo ethernet-ip enable to disable EtherNet/IP.

Syntax

ethernet-ip enable

undo ethernet-ip enable

Default

EtherNet/IP is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

Application scenarios

In the industrial automation Ethernet context, the industrial control devices (controllers) communicate and manage other industrial devices over Common Industrial Protocol (CIP). EtherNet/IP is the application of CIP in Ethernet, which uses the Ethernet physical layer and TCP/IP protocols to carry CIP application layer messages for device communication on the industrial automation Ethernet.

For communication with the controller via EtherNet/IP, execute this command to enable EtherNet/IP on the device. After EtherNet/IP is enabled on the device, the device can recognize and process EtherNet/IP messages from the controller, and report its own information to the controller or modify its own status.

Operating mechanism

The device uses VLAN 1 as the EtherNet/IP management VLAN for communication with the controller. Assign an IP address to VLAN interface 1 before enabling EtherNet/IP on the device.

After this command is configured, the device can establish a TCP or UDP connection with the controller and exchange EtherNet/IP protocol messages over the connection. The difference between TCP and UDP connections is as follows:

·     Over a TCP connection, explicit messages are transmitted between the device and controller. Explicit messages contain the request address and request service type sent by the controller. This method supports only point-to-point communication and is suitable for communication scenarios requiring high reliability, such as the controller reading the properties of the device. The device uses port number 44818 for establishing TCP connections.

·     Over a UDP connection, implicit messages are transmitted between the device and controller.  Implicit messages do not contain specific request address and service request. This communication uses a producer/consumer model. In this model, the device acts as the data producer and sends data onto the network all at once, allowing the controller to selectively read the data it requires. This greatly enhances the communication efficiency of the entire EtherNet/IP network system. This method supports both point-to-point communication and multicast communication and is suitable for communication scenarios that require highly efficient transmission such as I/O data exchange. The device uses port number 2222 to establish UDP connections.

Currently, only 128 ports are available for information reading and status modification.

Examples

# Enable EtherNet/IP.

<Sysname> system-view

[Sysname] ethernet-ip enable

ethernet-ip working-mode read-only

Use ethernet-ip working-mode read-only to specify the read-only EtherNet/IP operating mode.

Use undo ethernet-ip working-mode read-only to restore the default.

Syntax

ethernet-ip working-mode read-only

undo ethernet-ip working-mode read-only

Default

The EtherNet/IP operating mode is read-write. In this mode, the device allows read and write operations from the controller. The controller can read information of the device and write status of the device.

Views

System view

Predefined user roles

network-admin

Usage guidelines

By default, an industrial controller has read/write access to the device. However, arbitrarily changing the status of the device might pose serious security risks to the entire network when a misoperation or malicious attack is present in the network. In such scenarios, switch the EtherNet/IP operating on the device to read-only mode. This ensures that the controller can only read information from the device via EtherNet/IP.

Before configuring this command, make sure EtherNet/IP is enabled on the device.

Examples

# Specify the read-only EtherNet/IP operating mode.

<Sysname> system-view

[Sysname] ethernet-ip working-mode read-only.

Related commands

ethernet-ip enable

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网