create protocol

create protocol {filter} filter_name

Description

Creates a user-defined protocol filter.

Syntax Description

filter Specifies a protocol filter.
filter_name Specifies a protocol filter name. The protocol filter name can have a maximum of 31 characters.

Default

N/A.

Usage Guidelines

Protocol-based VLANs enable you to define packet filters that the switch can use as the matching criteria to determine if a particular packet belongs to a particular VLAN.

After you create the protocol, you must configure it using the configure protocol command. To assign it to a VLAN, use the configure {vlan} vlan_name protocol {filter} filter_name command.

Example

The following command creates a protocol named "my_filter", and a protocol filter named "my_other_filter":

create protocol “my_filter”
create protocol  filter  “my_other_filter”

History

This command was first available in ExtremeXOS 10.1.

The filter keyword was added in ExtremeXOS 15.5.

Platform Availability

This command is available on the ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X670-G2, X690, X695, and X870 series switches.