Configuring Filtering On An Ethernet Interface; Configuring Port Security On An Ethernet Module - Cisco RJ-45-to-AUX Brochure

Cisco switch brochure
Table of Contents
1
00−60−15−be−55−80
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 {enable|disable} [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
———— ——————————— ————————
2/3
connected 522
Port Security Secure−Src−Addr
———— ———————— ———————————————
2/3 enabled
00−60−1a−30−a1−d2 00−60−1a−30−a1−d2 No
Port
Broadcast−Limit Broadcast−Drop
—————— ——————————————
2/3
Port Align−Err FCS−Err
———— ————————— ———————— ————————— ———————— ————————
2/3
0
2/1
Vlan
Level Duplex Speed Type
——————— ————— —————— ————— ———————
normal
Last−Src−Addr
———————————————
——————————————
0
Xmit−Err
Rcv−Err
0
0
half
100 100BaseTX
Shutdown Trap
———————— ——————
UnderSize
0
0
130
IfIndex
———
disabled 1081

Hide quick links:

Table of Contents
loading

Table of Contents