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:

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

2. 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)

3. Do the same for port 3 on module 2:

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:

1. Enable port security on the desired ports. Optionally, you can specify the secure MAC address:

set port security mod_num/port_num {enabledisable} [mac_address]

2. Add MAC addresses to the list of secure addresses:

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

Page 146
Image 146
Cisco Systems RJ-45-to-AUX Configuring Filtering on an Ethernet Interface, Configuring Port Security on an Ethernet Module