33-3
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 33 Configuring Layer 3 Protocol Filtering
Configuring Layer 3 Protocol Filtering
Enabling Layer 3 Protocol Filtering
To configure Layer 3 protocol filtering on Ethernet ports, perform this task in privileged mode:
This example shows how to enable Layer 3 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 7/1-4 ip on
IP protocol set to on mode on ports 7/1-4.
Console> (enable)
set port protocol 7/1-4 ipx off
IPX protocol disabled on ports 7/1-4.
Console> (enable)
set port protocol 7/1-4 group auto
Group protocol set to auto mode on ports 7/1-4.
Console> (enable)
show port protocol 7/1-4
Port Vlan IP IP Hosts IPX IPX Hosts Group Group Hosts
-------- ---------- -------- -------- -------- --------- -------- -----------
7/1 4 on 1 off 0 auto-off 0
7/2 5 on 1 off 0 auto-on 1
7/3 2 on 1 off 0 auto-off 0
7/4 4 on 1 off 0 auto-on 1
Console> (enable)
Disabling Layer 3 Protocol Filtering
To disable Layer 3 protocol filtering, perform this task in privileged mode:
This example shows how to disable Layer 3 protocol filtering:
Console> (enable)
set protocolfilter disable
Protocol filtering disabled on this switch.
Console> (enable)
Task
Command
Step 1
Enable Layer 3 protocol filtering on the switch.
set protocolfilter
enable
Step 2
Set the protocol membership of the desired ports.
set port protocol
mod/port
{
ip
|
ipx
|
group
} {
on
|
off
|
auto
}
Step 3
Verify the port filtering configuration.
show port protocol
[
mod
[
/port
]]
Task
Command
Disable Layer 3 protocol filtering on the switch.
set protocolfilter
disable