[Contents] [Prev] [Next] [Index] [Report an Error]

# Configuring IGMP Conditions (SRC CLI)

Use the following configuration statements to add IGMP conditions to a classify-traffic condition:

`

policies group name list name rule name traffic-condition name igmp-condition {
  protocol protocol ;
  protocol-operation protocol-operation ;
  ip-flags ip-flags;
  ip-flags-mask ip-flags-mask ;
  fragment-offset fragment-offset ;
  packet-length packet-length ;
  igmp-type igmp-type ;
}

`

Because the protocol is already set to IGMP, do not change the protocol or protocol-operation options.

To add IGMP conditions to a classify-traffic condition:

1. From configuration mode, enter the IGMP configuration. For example:
   `
   user@host# edit policies group junose list pl rule pr traffic-condition ctc igmp-condition
   `
2. (Optional) Configure the value of the IP flags field in the IP header.
   `
   [edit policies group junose list pl rule pr traffic-condition ctc igmp-condition]
   user@host# set ip-flags ip-flags
   `
3. (Optional) Configure the mask that is associated with the IP flag.
   `
   [edit policies group junose list pl rule pr traffic-condition ctc igmp-condition]
   user@host# set ip-flags-mask ip-flags-mask
   `
4. (Optional) Configure the value of the fragment offset field.
   `
   [edit policies group junose list pl rule pr traffic-condition ctc igmp-condition]
   user@host# set fragment-offset fragment-offset
   `
5. (Optional) Configure the packet length on which to match. The length refers only to the IP packet, including the packet header, and does not include any layer 2 encapsulation overhead.
   `
   [edit policies group junose list pl rule pr traffic-condition ctc igmp-condition]
   user@host# set packet-length packet-length
   `
6. (Optional) Configure the IGMP packet type on which to match.
   `
   [edit policies group junose list pl rule pr traffic-condition ctc igmp-condition]
   user@host# set igmp-type icmp-type
   `
7. (Optional) Verify the IGMP condition configuration.

       [edit policies group junose list pl rule pr traffic-condition ctc igmp-condition]
       user@host# show
       protocol igmp;
       protocol-operation 1;
       ip-flags 0;
       ip-flags-mask 0;
       fragment-offset 0;
       igmp-type igmpType;

#### Related Topics

- Before You Configure Classify-Traffic Conditions
- Configuring Classify-Traffic Conditions
- Configuring IGMP Conditions (C-Web Interface)

[Contents] [Prev] [Next] [Index] [Report an Error]