class resequence

Syntax

class {ip|ipv6|mac} <CLASS-NAME> resequence <STARTING-SEQUENCE-NUMBER> <INCREMENT>

Description

Resequence numbering in an IPv4, IPv6, or MAC class.

Command context

config

Parameters

{ip|ipv6|mac} <CLASS-NAME>

Specifies the class where you want to resequence class entries.

<STARTING-SEQUENCE-NUMBER>

Specifies the sequence number to start resequencing from.

<INCREMENT>

Specifies how much to increment the sequence numbers by.

Authority

Administrators

Examples

Resequencing an IPv4 class:

switch(config)# class ip MY_IP_CLASS resequence 1 10
switch(config)# do show class
Type       Name
  Sequence Comment
           Action                          L3 Protocol
           Source IP Address               Source L4 Port(s)
           Destination IP Address          Destination L4 Port(s)
           Additional Parameters
-------------------------------------------------------------------------------
IPv4       MY_IP_CLASS
        1  match                           igmp
           any
           any
       11  ignore                          udp
           any
           any
       21  match                           tcp
           192.168.0.1
           192.168.0.2

Resequencing an IPv6 class:

switch(config)# class ipv6 MY_IPV6_CLASS resequence 1 1
switch(config-class-ipv6)# exit
switch(config)# do show class
Type       Name
  Sequence Comment
           Action                          L3 Protocol
           Source IP Address               Source L4 Port(s)
           Destination IP Address          Destination L4 Port(s)
           Additional Parameters
-------------------------------------------------------------------------------
IPv6       MY_IPV6_CLASS
         1 match                           any
           any
           1020::
         2 ignore                          udp
           any
           any

Resequencing a MAC class:

switch(config)# class mac MY_MAC_CLASS resequence 1 1
switch(config)# do show class
Type       Name
  Sequence Comment
           Action                          EtherType
           Source MAC Address
           Destination MAC Address
           Additional Parameters
-------------------------------------------------------------------------------
MAC        MY_MAC_CLASS
         1 match                           any
           any
           any
         2 ignore                          arp
           any
           any