- Table of Contents
-
- 09-Network Management Configuration Guide
- 00-Preface
- 01-System Maintenance and Debugging Configuration
- 02-NQA Configuration
- 03-NTP Configuration
- 04-IPC Configuration
- 05-SNMP Configuration
- 06-RMON Configuration
- 07-Mirroring Configuration
- 08-Information Center Configuration
- 09-sFlow Configuration
- 10-Flow Log Configuration
Title | Size | Download |
---|---|---|
04-IPC Configuration | 82.50 KB |
Configuring IPC
This chapter provides an overview of inter-process communication (IPC) and describes the IPC monitoring commands.
Support for this feature depends on the device model. For more information, see About the H3C Access Controllers Configuration Guides.
Overview
IPC provides a reliable communication mechanism among processing units, typically CPUs. IPC is typically used on a distributed device or in an IRF fabric to provide reliable inter-card or inter-device transmission. This section describes the basic IPC concepts.
Node
An IPC node is an independent IPC-capable processing unit, typically, a CPU.
The device has only one IPC node because it has only one CPU.
Link
An IPC link is a connection between any two IPC nodes. Any two IPC nodes have only one IPC link for sending and receiving packets. All IPC nodes are fully meshed.
IPC links are created when the system is initialized. Upon startup, an IPC node sends handshake packets to other nodes. If the handshake succeeds, a connection is established.
The system uses link status to identify the link connectivity between two nodes. An IPC node can have multiple links, and each link has its own status.
Channel
A channel is the communication interface between peer upper layer application modules that use different IPC nodes. For identification, each node assigns a locally unique channel number to each upper layer application module.
An upper layer application module sends data to an IPC module across a channel, and the IPC module sends the data to a peer node across a link, as shown in Figure 1.
Figure 1 Relationship between a node, link and channel
Packet sending modes
IPC uses one of the following modes to send packets for upper layer application modules:
· Unicast—One node sends packets to another node.
· Multicast—One node sends packets to several other nodes. This mode includes broadcast, a special multicast. To use multicast mode, an application module must create a multicast group that includes a set of nodes. Multicasts destined for this group are sent to all the nodes in the group. An application module can create multiple multicast groups. Creation and deletion of a multicast group or group member depend on the application module.
· Mixcast—Supports both unicast and multicast.
IPC assigns one queue for each mode. An upper layer application module automatically selects one mode as needed.
Enabling IPC performance statistics
The IPC performance statistics function provides the most recent 10-second, 1-minute, and 5-minute traffic input and output statistics for IPC nodes. If this function is disabled, the display ipc performance command displays the statistics collected before IPC performance statistics was disabled.
Perform the following task in user view:
Task |
Command |
Remarks |
Enable IPC performance statistics. |
ipc performance enable { node node-id | self-node } [ channel channel-id ] |
By default, the function is disabled. |
Displaying and maintaining IPC
Task |
Command |
Remarks |
Display IPC node information. |
display ipc node [ | { begin | exclude | include } regular-expression ] |
Available in any view. |
Display channel information for a node. |
display ipc channel { node node-id | self-node } [ | { begin | exclude | include } regular-expression ] |
Available in any view. |
Display queue information for a node. |
display ipc queue { node node-id | self-node } [ | { begin | exclude | include } regular-expression ] |
Available in any view. |
Display multicast group information for a node. |
display ipc multicast-group { node node-id | self-node } [ | { begin | exclude | include } regular-expression ] |
Available in any view. |
Display packet information for a node. |
display ipc packet { node node-id | self-node } [ | { begin | exclude | include } regular-expression ] |
Available in any view. |
Display link status information for a node. |
display ipc link { node node-id | self-node } [ | { begin | exclude | include } regular-expression ] |
Available in any view. |
Display IPC performance statistics for a node. |
display ipc performance { node node-id | self-node } [ channel channel-id ] [ | { begin | exclude | include } regular-expression ] |
Available in any view. |
Clear IPC performance statistics for a node. |
reset ipc performance [ node node-id | self-node ] [ channel channel-id ] |
Available in user view. |