P2302R-P1C Support Notes
This configuration example shows you how to use a Generic Filter to block a specific MAC address of the LAN.
Before you Begin
Before you configure the filter, you need to know the MAC address of the client first. The MAC address can be provided by the NICs. If there is the LAN packet passing through the ZyXEL Device you can identify the uninteresting MAC address from the ZyXEL Device's LAN packet trace. Please have a look at the following example to know the trace of the LAN packets.
ras> sys trcp | channel enet0 bothway |
|
|
|
| ||||||
ras> sys trcp | sw on |
|
|
|
|
|
|
|
|
| |
Now a client on the LAN is trying to ping Prestige……… | |||||||||||
ras> sys trcp sw off |
|
|
|
|
|
|
|
| |||
ras> sys trcp disp |
|
|
|
|
|
|
|
|
| ||
TIME: | 37c060 |
|
| ||||||||
0000: [00 a0 c5 01 23 45] [00 | 80 | c8 | 4c ea 63] 08 00 45 00 | ||||||||
0010: 00 3c | eb 0c 00 00 20 01 | e3 | ea ca 84 | 9b 5d | ca 84 | ||||||
0020: 9b 63 | 08 00 | 45 | 5c | 03 00 | 05 | 00 | 61 62 | 63 64 | 65 66 | ||
0030: 67 68 | 69 6a | 6b | 6c | 6d | 6e | 6f | 70 | 71 72 | 73 74 | 75 76 | |
0040: 77 61 | 62 63 | 64 | 65 | 66 67 | 68 | 69 |
|
|
| ||
TIME: | 37c060 |
|
| ||||||||
0000: [00 80 c8 4c ea 63] [00 | a0 | c5 | 01 23 | 45] 08 00 45 00 | |||||||
0010: 00 3c | 00 07 | 00 | 00 | fe 01 | f0 | ef ca 84 | 9b 63 | ca 84 | |||
0020: 9b 5d | 00 00 | 4d | 5c | 03 00 | 05 | 00 | 61 62 | 63 64 | 65 66 | ||
|
|
|
|
|
|
|
|
|
| ||
0030: 67 68 | 69 6a | 6b | 6c | 6d 6e | 6f | 70 | 71 72 | 73 74 | 75 76 | ||
0040: 77 61 | 62 63 | 64 | 65 | 66 67 | 68 | 69 |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The detailed format of the Ethernet Version II:
+ Ethernet Version II
- Address:
(Destination MAC)
- Ethernet II Protocol Type: IP
29
All contents Copyright © 2007 ZyXEL Communications Corporation.