13-Network Management and Monitoring Configuration Guide

HomeSupportSwitchesH3C S12500 Switch SeriesConfigure & DeployConfiguration GuidesH3C S12500 Configuration Guides-Release1828P04-6W18213-Network Management and Monitoring Configuration Guide
04-IPC Configuration
Title Size Download
04-IPC Configuration 82.48 KB

Configuring IPC

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:

·     UnicastOne node sends packets to another node.

·     MulticastOne 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.

·     MixcastSupports 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.

 

  • 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
新华三官网