Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

security firewall name <name> rule <rule-number> icmp

Specifies an IPv4 ICMP type number, code number, name, or group for a firewall rule.

set security firewall name name rule rule-number icmp { type number [ code number ] | name name | group group}
delete security firewall name name rule rule-number icmp [ type [ number code ] | name | group ]
show security firewall name name rule rule-number icmp [ type [ number code ] | name | group ]
name
The name of a firewall rule set.
rule-number
The numeric identifier of a rule. The identifier ranges from 1 through 9999.
type number
Specifies matching for numeric ICMP types. Types range from 0 through 255; for example, 8 (echo request) or 0 (echo Reply).
code number
Specifies matching for numeric ICMP codes. Codes range from 0 through 255.
name name
Specifies matching for ICMP type names.
group group
Specifies an IPv4 ICMP group.

Configuration mode


security {
    firewall {
        name name {
            rule rule-number {
                icmp {
                    type number {
                        code number
                    }
                    name name
                    group group
                }
            }
        }
    }
}

Use the set form of this command to define an ICMP firewall rule within a firewall rule.

Use the delete form of this command to delete an ICMP firewall rule from a firewall rule.

Use the show form of this command to display an ICMP firewall rule from a firewall rule.