GigaSMART Operations – Example

The following procedure summarizes the major steps in creating and using a GigaSMART operation.

Summary

Command

Start by using the gsgroup command to create a GigaSMART group – a collection of one or more internal GigaSMART engine ports available in a given chassis.

GigaSMART groups are used to process GigaSMART operations – each GSOP you create is assigned to a GigaSMART group.

In this example, we have created a GigaSMART group called GS1 using virtual port e1 on the GigaSMART-HC0 line card in slot 2 of box 16 (16/2/e1).

(config) # gsgroup alias GS1 port-list 16/2/e1

Next, you can create a GigaSMART operation – a combination of actions that can be used in a map – and assign it to a GigaSMART group for processing.

In this example, we have created a GigaSMART operation called tcpmask that will overwrite 16 bytes of packet data starting 64 bytes after the end of the TCP header using a hexadecimal ee pattern. We have also assigned it to the GS1 GigaSMART group we created in the first step.

(config) # gsop alias tcpmask masking protocol tcp offset 64 pattern ee length 16 port-list GS1

Once you have set up a GigaSMART operation, you can include it as part of a map with the use gsop command in the map prefix mode. In this example, the tcpmask GigaSMART operation is combined with an IP Version pass rule so that all IPv4 traffic processed is masked according to the GSOP we created in the previous step.

If you are not sure which GigaSMART operation you want to use, use the ? mark after the use gsop command to display the operations you have already configured.

Note:  These commands show how to include GigaSMART operations in the CLI’s map prefix mode. Here, we have created a map named gsmap that will forward IPv4 traffic from network ports 16/3/x7..x12 to tool port 16/3/x1. The traffic will be masked using the tcpmask GigaSMART operation we created in Step 2

(config) # map alias gsmap

(config map alias gsmap) # type regular byRule

(config map alias gsmap) # from 16/3/x7..x12

(config map alias gsmap) # use gsop tcpmask

(config map alias gsmap) # to 16/3/x1

(config map alias gsmap) # rule add pass ipver 4

(config map alias gsmap) # exit

The configuration examples of each GigaSMART operation is described in the following sections:

■   Configure GigaSMART Masking
■   Configure Packet Slicing
■   GigaSMART IP Encapsulation/Decapsulation (GigaSMART Tunnel)
■   GigaSMART IP Encapsulation (GigaSMART Tunnel)
■   GigaSMART IP Encapsulation (GigaSMART Tunnel)
■   IP Fragmentation and Reassembly on L2GRE and GMIP Tunnels
■   Tunnel Health Checks
■   GigaSMART ERSPAN Tunnel Decapsulation
■   GigaSMART VXLAN Tunnel Decapsulation
■   GigaSMART Custom Tunnel Decapsulation
■   GigaSMART Header Addition
■   GigaSMART De-duplication
■   GigaSMART Header Stripping
■   GigaSMART GTP Correlation
■   GigaSMART GTP Whitelisting and GTP Flow Sampling Examples
■   GigaSMART GTP Overlap Flow Sampling Maps
■   GigaSMART SIP/RTP Correlation
■   GigaSMART GTP Scaling
■   GigaSMART GTP Stateful Session Recovery
■   GigaSMART FlowVUE
■   GigaSMART Application Session Filtering (ASF) and Buffer ASF
■   GigaSMART NetFlow Generation
■   GigaSMART Load Balancing
■   GigaSMART MPLS Traffic Performance Enhancement
■   GigaSMART SSL Decryption for Out-of-Band Tools
■   Entrust nShield HSM for SSL Decryption for Out-of-Band Tools
■   GigaSMART FlowVUE
■   GigaSMART Application Session Filtering (ASF) and Buffer ASF
■   GigaSMART NetFlow Generation

Related Topics

■   Refer to the '"How to Combine GigaSMART Operations section in the GigaVUE Fabric Management Guide for details on supported combinations of GigaSMART operations.
■   Refer to the “Order of GigaSMART Operations” section in the GigaVUE Fabric Management Guide for information on the order in which GigaSMART components are applied in a single operation.
■   Refer to the GigaSMART Operations Statistics Definitions” section in the GigaVUE Fabric Management Guide for information about GigaSMART operations statistics.
■   Refer to gsop in the reference section for details on the syntax of the GigaSMART operations CLI command.

GigaSMART Operations - Limitations

■   The interface of the GigaSMART card will go down and traffic drops will become visible when the traffic rate exceeds 80% of the line rate.