Intel 10/100 manual Get-lt-filter, Add-cf-entry

Models: 10/100

1 93
Download 93 pages 38.28 Kb
Page 58
Image 58

C H A P T E R 3 Console Command Reference

SYS_console> get-lt-filter 00aa00a5898b

1200-AA-00-A5-89-8B LOCK_OFF SELF_OFF --- VIRTUAL LAN -----

SRC PORT to : MGMT P1 P2 P3 P4 P5 P6 P7 P8 P9 P10 P11 P12

================================================================

1

-

-

-

-

-

+

-

-

-

-

-

-

-

2

-

-

-

-

-

+

-

-

-

-

-

-

-

3

-

-

-

-

-

+

-

-

-

-

-

-

-

4

-

-

-

-

-

+

-

-

-

-

-

-

-

5

-

-

-

-

-

-

-

-

-

-

-

-

-

6

-

-

-

-

-

+

-

-

-

-

-

-

-

7

-

-

-

-

-

+

-

-

-

-

-

-

-

8

-

-

-

-

-

+

-

-

-

-

-

-

-

9

-

-

-

-

-

+

-

-

-

-

-

-

-

10

-

-

-

-

-

+

-

-

-

-

-

-

-

11

-

-

-

-

-

+

-

-

-

-

-

-

-

12

-

-

-

-

-

+

-

-

-

-

-

-

-

get-lt-filter

get-lt-filter <mac_address>

Displays the custom filter for the specified MAC address. See the previous example.

add-cf-entry

add-cf-entry {lock-onlock-offperm} <mac_address> <sport> <dport>

Adds a custom filter entry for the specified MAC address. lock-onindicates the entry won’t be aged out, but will be lost when the switch is reset. lock-offindicates the entry can be aged out normally. perm indicates the entry is written to NVRAM and remains after a reset.

sport is a hexadecimal representation of incoming ports, and dport is a hexadecimal bitmask representation of outgoing ports.

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).

55

Page 58
Image 58
Intel 10/100 manual Get-lt-filter, Add-cf-entry