Axxius 800 - Release 2.2
5-15
CLI Commands
add
add (router-lan) filter custom
Use the add (router-lan) filter custom command to add a custom filter to the table of
Layer 2 filters applied to the specified LAN interface.
Syntax:
add {rtr_lan-addr} filter custom {pkt-offset} {mask}
{match} {"filter-name"}
Example:
add 2:1 filter custom 16 0xFFFF0000 0x45000000
"MyRule"
The example will add a custom layer-2 filter that will match all packets that
contain the hex value 4500 at the 16th octet past the MAC header.
{rtr_lan-addr}
The Router address is in the form {slot:port} or {slot "profile-name"}.
{pkt-offset}
This field will designate where within a packet (past the MAC header) the system is to
begin looking for a matching character string. The offset value range is 0 to 60 bytes. To
create a filter for the data in the MAC header, use the address and Protocol filters. See charts
on the following page for Ethernet Frame and IP Packet formats.
Note: an offset of 12 will create a Source IP Address filter
an offset of 16 will create a Destination IP Address filter
{mask}
The 32-bit mask to indicate which bits to compare to the match value starting at the offset
position. The mask is entered as a 32-bit hexadecimal value (all Fs is exact match
FFFFFFFF).
{match}
The 32-bit match value that is used to match the incoming packet. The match value is
entered as a 32-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-8) that contains the Router card.
port
Port number of the Router.
"profile-name"
The profile name for the Router interface. Name must be enclosed
in quotes, with a maximum length of 11 characters.
Содержание Network Device Axxius 800
Страница 1: ...Axxius 800 USER MANUAL Part Number 770 0104 AG Product Release 2 2 May 2004 ...
Страница 32: ...xxxii Axxius 800 Release 2 2 Table of Contents ...
Страница 50: ...1 18 Axxius 800 Release 2 2 Base Platform ACO ...
Страница 101: ...CHAPTER CLI Commands In this Chapter n Command Line Interface Help n CLI Commands ...
Страница 392: ...8 8 Axxius 800 Release 2 2 FXO Voice Card Channel Associated Signaling CAS Conversions ...
Страница 430: ...12 8 Axxius 800 Release 2 2 Power Supply Installing Replacing a Power Supply ...
Страница 472: ...15 20 Axxius 800 Release 2 2 Terminal Server Router Card LEDs ...
Страница 500: ...18 12 Axxius 800 Release 2 2 Maintenance Hot Swap Service Card ...
Страница 511: ...APPENDIX Loopback Tests In this Appendix n Overview n DS1 Loopbacks n V 35 Loopbacks n V 35 V 54 Loop ...
Страница 532: ...C 22 Axxius 800 Release 2 2 Loopback Tests V 35 V 54 Loop ...
Страница 552: ...Glossary 20 Axxius 800 Release 2 2 Glossary ...