Chapter 18
Configuring Protocol Filtering
Configuring Protocol Filtering
To configure protocol filtering on Ethernet, Fast Ethernet, and Gigabit Ethernet ports, perform this task
in privileged mode:
Task
Step 1
Enable protocol filtering on the switch.
Step 2
Set the protocol membership of the desired ports. set port protocol mod_num/port_num {ip | ipx |
Step 3
Verify the port filtering configuration.
This example shows how to enable protocol filtering, set the protocol membership of ports, and verify
the configuration:
Console> (enable) set protocolfilter enable
Protocol filtering enabled on this switch.
Console> (enable) set port protocol 3/1-4 ip on
IP protocol set to on mode on ports 3/1-4.
Console> (enable) set port protocol 3/1-4 ipx off
IPX protocol disabled on ports 3/1-4.
Console> (enable) set port protocol 3/1-4 group auto
Group protocol set to auto mode on ports 3/1-4.
Console> (enable) show port protocol 3/1-4
Port
-------- ---------- -------- -------- -------- --------- -------- -----------
3/1
3/2
3/3
3/4
Console> (enable)
Disabling Protocol Filtering
To disable protocol filtering, perform this task in privileged mode:
Task
Disable protocol filtering on the switch.
This example shows how to disable protocol filtering:
Console> (enable) set protocolfilter disable
Protocol filtering disabled on this switch.
Console> (enable)
78-12647-02
Vlan
IP
IP Hosts IPX
4
on
1
5
on
1
2
on
1
4
on
1
Software Configuration Guide—Catalyst 4000 Family, Catalyst 2948G, Catalyst 2980G, Releases 6.3 and 6.4
Command
set protocolfilter enable
group} {on | off | auto}
show port protocol [mod_num[/port_num]]
IPX Hosts Group
off
0
auto-off 0
off
0
auto-on
off
0
auto-off 0
off
0
auto-on
Command
set protocolfilter disable
Configuring Protocol Filtering
Group Hosts
1
1
18-3