unconfigure policy rule

unconfigure policy rule [ profile_index] [all-pid-entries ] | [[ether | icmp6type | icmptype |ip6dest | ipdestsocket | ipfrag |ipproto | ipsourcesocket | iptos | ipttl | macdest | macsource | port | tcpsourceportIP | udpsourceportIP | tcpdestportIP | udpdestportIP ] [all-traffic-entries | data] {mask mask} {port-string port_string|all}}]

Description

Use this command to delete one or all policy classification rule entries.

Syntax Description

See configure policy rule for a full list of syntax descriptions.

all-pid-entries Clear all entries associated with this Policy ID.
all-traffic-entries Clear all entries associated with this traffic rule.
data Data corresponding to rule-type option.

Default

When applicable, data, mask, and port-string must be specified for individual rules to be cleared.

Example

This example shows how to delete all classification rule entries associated with policy profile 1 from all ports:

unconfigure policy rule 1 all-pid-entries

History

This command was first available in ExtremeXOS 16.1.

ICMP and ICMPv6 rule types added in ExtremeXOS 22.5.

Platform Availability