5-14 Compact T1 - Release 6.1
CLI Commands
add
add (router-lan) filter protocol
Use the add (router-lan) filter protocol command to add a protocol filter to the table of
Layer 2 filters applied to the specified LAN interface. Note that you only need to identify
either an Ethernet or IEEE value, but not both. The other should be entered as 0.
Syntax: add {rtr_lan-addr} filter protocol {ether-type}
{ieee-value} {"filter-name"}
Example: add 2:1 filter protocol 0x0807 0x0 "XNSrule"
The example will add a custom layer-2 filter that will match all XNS packets.
{rtr_lan-addr}
The Router (IP or CMG) address is in the form {slot:port} or {slot "profile-name"}.
{ether-type}
This assigned Ethernet value for this protocol. The ether-type is entered as a 16-bit
hexadecimal value, e.g. 0800 = IP and 0806 = ARP.
{ieee-value}
The assigned IEEE value for this protocol. The IEEE value is the same as the SDAP and
SSAP values in a SNAP packet. The match value is entered as a 8-bit hexadecimal value.
{"filter-name"}
A symbolic name given to identify a filter rule. This name must be enclosed in quotes, with
a maximum of 8 characters.
slot Slot number (1-6) that contains the Router card.
port Port number.
"profile-name" The profile name for the Router interface. Name must be enclosed
in quotes, with a maximum length of 11 characters.