Configuration Guide Vol. 2


1.2.4 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

  1. (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.

  2. (config-ext-macl)# deny any any ipx

    Sets a MAC filter that discards frames whose Ethernet type is IPX.

  3. (config-ext-macl)# permit any any

    Sets a MAC filter that forwards all frames.

  4. (config-ext-macl)# exit

    Returns to global configuration mode from MAC filtering mode.

  5. (config)# interface gigabitethernet 1/0/1

    Moves to port 1/0/1 interface mode.

  6. (config-if)# mac access-group IPX_DENY in

    Enables the MAC filtering on the receiving side.