- Table of Contents
-
- 13-Network Management and Monitoring 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-CWMP Configuration
- 08-Sampler Configuration
- 09-Mirroring Configuration
- 10-Protocol Packet Statistics Configuration
- 11-sFlow Configuration
- 12-Information Center Configuration
- 13-Packet Capture Configuration
- Related Documents
-
Title | Size | Download |
---|---|---|
04-IPC Configuration | 82.48 KB |
This chapter provides an overview of IPC and describes the IPC monitoring commands.
Overview
Inter-Process Communication (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.
Distributed devices and IRF fabrics typically have multiple IPC nodes, because each card or device in them has at least one CPU.
Link
An IPC link is a connection between any two IPC nodes. There is one and only one link for packet sending and receiving between any two nodes. All IPC nodes are fully meshed.
IPC links are created when the system is initialized. An IPC node, upon startup, 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. Each node assigns a locally unique channel number to each upper layer application module for identification.
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. |