12-14-2004 12:31 PM - edited 03-02-2019 08:35 PM
Sorry newbie to catalysts (came from Nortel environment). how do i go about whitelisting MAC addresses on a 3550-48 and denying all other MAC addresses from getting port functionality?
thanks!
12-14-2004 12:54 PM
Hello,
the 3550 supports a feature called port security, which allows you to define which MAC addresses are allowed on a switchport. Here are a few configuration examples, in case you cannot access the link below:
This example shows how to enable port security on a port and to set the maximum number of secure addresses to 50. The violation mode is the default, no static secure MAC addresses are configured, and sticky learning is enabled.
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface fastethernet0/1
Switch(config-if)# switchport mode access
Switch(config-if)# switchport port-security
Switch(config-if)# switchport port-security maximum 50
Switch(config-if)# switchport port-security mac-address sticky
Switch(config-if)# end
This example shows how to configure a static secure MAC address on a port and enable sticky learning:
Switch# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)# interface fastethernet0/2
Switch(config-if)# switchport mode access
Switch(config-if)# switchport port-security
Switch(config-if)# switchport port-security mac-address 0000.02000.0004
Switch(config-if)# switchport port-security mac-address sticky
Switch(config-if)# end
This example shows how to configure a maximum of eight secure MAC addresses on VLAN 5 on a port:
Switch(config-if)# switchport port-security maximum 8 vlan 5
Switch(config-if)# end
Configuring Port-Based Traffic Control
http://www.cisco.com/univercd/cc/td/doc/product/lan/c3550/12120ea2/3550scg/swtrafc.htm
HTH,
GP
12-14-2004 04:28 PM
great thanks for your help..it is for dorm rooms on our campus and i just need to configure a stsic mac to a port like example 2. thanks again...
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide