1.2.3 Settings for forwarding and discarding in MAC headers
The following shows an example of specifying frame forwarding and discarding based on specification of MAC header as the flow detection condition.
- Points to note
-
When frames are received, flow detection is performed based on the MAC header. The frames that match the filter entry are either discarded or forwarded.
Command examples
-
(config)# mac access-list extended IPX_DENY
Create a mac access-list (IPX_DENY). By creating this list, the operation mode of MAC filters is changed.
-
(config-ext-macl)# deny any any ipx
Sets a MAC filter that discards frames whose Ethernet type is IPX.
-
(config-ext-macl)# permit any any
Sets a MAC filter that forwards all frames.
-
(config-ext-macl)# exit
Returns to global configuration mode from MAC filtering mode.
-
(config)# interface gigabitethernet 1/0/1
Moves to port 1/0/1 interface mode.
-
(config-if)# mac access-group IPX_DENY in
Enables the MAC filtering on the receiving side.