1 00−60−15−be−55−80 2/1
Total Matching CAM Entries Displayed = 7
Configuring Filtering on an Ethernet Interface
To configure protocol filtering for IP only, follow these steps:
To configure protocol filtering on the Ethernet, Fast Ethernet, or Gigabit Ethernet ports, you must first
enable protocol filtering on the switch. To enable protocol filtering, use this command in Privileged
mode:
Coriolis5002 (enable) set protocolfilter enable
1.
Configure port 2 on module 2 to filter all traffic unless it is IP based:
Coriolis5002(enable) set port protocol 2/2 ip on
IP protocol set to on mode on module 2/2.
Coriolis5002>(enable)
2.
Do the same for port 3 on module 2:3.
Coriolis5002>(enable) set port protocol 2/3 ip on
IP protocol set to on mode on module 2/3.
Coriolis5002>(enable)
Configuring Port Security on an Ethernet Module
To enable port security on a switch interface, use the following steps:
Enable port security on the desired ports. Optionally, you can specify the secure MAC address:
set port security mod_num/port_num {enable|disable} [mac_address]
1.
Add MAC addresses to the list of secure addresses:2.
set port security module number/port number mac_address
Here’s an example of using this command:
Catalyst5000> (enable) set port security 2/3 enable
Port 2/3 port security enabled with the learned mac address.
Trunking disabled for Port 2/1 due to Security Mode
Catalyst5000> (enable) show port 2/1
Port Name Status Vlan Level Duplex Speed Type
———— ——————————— ———————— ——————— ————— —————— ————— ———————
2/3 connected 522 normal half 100 100BaseTX
Port Security Secure−Src−Addr Last−Src−Addr Shutdown Trap IfIndex
———— ———————— ——————————————— ���—————————————— ———————— —————— ———
2/3 enabled 00−60−1a−30−a1−d2 00−60−1a−30−a1−d2 No disabled 1081
Port Broadcast−Limit Broadcast−Drop
—————— —————————————— ——————————————
2/3 − 0
Port Align−Err FCS−Err Xmit−Err Rcv−Err UnderSize
———— ————————— ———————— ————————— ———————— ————————
2/3 0 0 0 0 0
130