Cisco access-list

By hesam_6 ·
Ive been trying to give access from admin vlan to every other vlans on the the network and deny the ip protocols from the other vlans to admin vlan and it just doesnt work ! Can anybody come up with a suggestion or a solution to this problem ive been having . cisco project it is that im working on . thank you

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -


by scott_heath In reply to Cisco access-list

interface Vlan_Admin
description Admin Network
ip address
ip access-group From_Anywhere in
no shut

ip access-list extended From_Anywhere
remark Restrict traffic from rest of network
permit tcp any host eq 22
deny ip any any

The above example set an ACL called From_Anywhere to retrrict inbound traffic to the Vlan_Admin. It allows any host to use port 22 to connect to host but denies all other traffic. You can obviously change the ports and such as needed.

Let me know if I can be of more help.

Related Discussions

Related Forums