Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

port restricting

Status
Not open for further replies.

ciscostudent4567

Technical User
Joined
Apr 8, 2003
Messages
1
Location
US
having problems with users sending inappropriate packets, trying to configure Cisco2950 Switch to block ports.
Need a step by step if possible and of course a descript of how to unblock.
 
Use access-lists and apply them to the "problem" ports.

For example:

access-list 100 deny tcp any any eq 80
access-list 100 permit ip any any

interface fa0/1
ip access-group 100 in

The above blocks all and allows everything else from a client connected to switch port fa0/1.

To disable the ACL use the 'no" form of the command.
For example: "no ip access-group 100 in"

See the following link and look for access-list

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top