Element <action>

Defines the Action. It has a start tag <action> and an end tag </action>.

Two main funcitons, "input packet process" and "link pairs".

GRISM AH32 is not supported

Attribute

Attribute
Description
Type
Default (* must have)

id

Specifies id for an element

Interger

0

name

Specifies a name for an element

String

type

action type * input-packet-process * linkpairs

String

input-packet-process

Example

<run>
  <action>
    <port>P0</port>
    <stripping>vlan</stripping>
  </action>
</run>

Elements in Action

input-packet-process type

<port>

Defines input port(must have). It has a start tag <port> and an end tag </port>.

<Q>

Defines vlan tagging. It has a start tag <Q> and an end tag </Q>.

<QinQ>

Defines vlan layer 2 tagging. It has a start tag <QinQ> and an end tag </QinQ>.

<stripping>

Defines stripping. It has a start tag <stripping> and an end tag </stripping>.

support type

  • payload

  • vlan

  • mpls

  • gre

  • vxlan

  • gre-erspan

  • gtp

  • grism

  • mpls-in-udp

  • mpls-in-gre

<tagging>

Defines tagging. It has a start tag <tagging> and an end tag </tagging>.

support type

  • timestamp

  • gtp

  • gtp2

  • grism

<maxlen>

Defines packet max length. It has a start tag <maxlen> and an end tag </maxlen>.

<ip>

Defines IP. It has a start tag <ip> and an end tag </ip>.

<netmask> (v7.0)

Defines netmask. It has a start tag <netmask> and an end tag </netmask>.

<gateway> (v7.0)

Defines IP. It has a start tag <gateway> and an end tag </gateway>.

<arp_reply_default_mac>

Defines arp reply default mac address. It has a start tag <arp_reply_default_mac/> .

<icmp_reply>

Defines icmp reply. It has a start tag <icmp_reply/> .

<icmp_reply_fragment_need>

Defines icmp reply fragment need. It has a start tag <icmp_reply_fragment_need /> .

Attritube

Attribute
Description
Type
Default (* must have)

mtu

Specifies mtu size

Interger

0*

linkpairs type

If portA down, force portB down, and vice versa.

Last updated