Configuration Guide Vol. 2


1.2.6 Configuring Multiple Interface Filters

The following shows an example of specifying a filter on multiple Ethernet interfaces.

Points to note

A filter can be set for multiple Ethernet interfaces in config-if-range mode.

Command examples

  1. (config)# access-list 10 permit host 192.168.0.1

    Sets an IPv4 address filter that forwards only frames from the host 192.168.0.1.

  2. (config)# interface range gigabitethernet 1/0/1-4

    Switches to the interface mode for ports 1/0/1-4.

  3. (config-if-range)# ip access-group 10 in

    Enables IPv4 filtering on the receiving side.