Intel 654655-001 Switch User Manual


 
43
Configuring and Managing the Switch
CHAPTER 2
sport
is a hexadecimal representation of incoming ports, and
dport
is
a hexadecimal bitmask of representation of outgoing ports. Because
bitmasks are difficult to determine, a list of numbers for every
combination of source and destination ports is listed in Appendix A.
Packets arriving at the switch with the destination MAC address from
any port specified in
sport
are transmitted to all ports specified in
dport
.
SYS_console> add-cf-entry perm 00-AA-00-11-11-11 C C0
Add CF LT entry OK
CF Entry Update in NVRAM OK
This custom filter sends packets with destination MAC address
00-AA-00-11-11-11 from port 3 or 4 (hexadecimal C) to ports 6 and 7
(hexadecimal C0).
del-cf-entry
del-cf-entry {run|nvram} <
mac_address
> <
sport
>
Deletes the custom filter entry for address
mac_address
from source
port
sport.
Ports are deleted one at a time by entering the port
number. run indicates that the entry is deleted only from the current
running table. nvram indicates that the entry should be removed from
the NVRAM as well as the current running table.
get-nv-cftbl
This command displays the custom filter table stored in NVRAM.
NVRAM CUSTOM FILTERS TABLE
==============================
Entry ---- MAC Address ----
------------------------------
1 00-00-00-11-11-11
get-nv-cfilt
get-nv-cfilt <
mac_address
>
Displays the custom filter associated with
mac_address
from the
custom filter table stored in NVRAM.