i have two Vlan setup on my Cisco 1811. Just wondering can you setup vlan1 always have internet access and vlan2 to limit access to internet from 7am to 11pm?
you will have to setup policing
setup a class map to match access-list which match the IP addresses of your VLAN2)
then police the bandwidth to whatever you need.
then apply said policy to the interface.
lets pretend your vlan2 is on 10.10.10.0/24:
!create an ACL
access-list 10 permit 10.10.10.0 0.0.0.255
!create a class-map
class-map match-all vlan2-bw-map
match access-group 10
!create a policy for your bandwidth
!this can have multiple class matches
policy-map vlan2-bw-policy
class vlan2-bw-map
police bps burst-normal burst-maxconform-action transmit exceed-action drop
then apply the policy to your interface which i believe (someone correct me here.. )
service-policy {input | output } vlan2-bw-policy
where
bps: average rate to be commited with this traffic class.
burst-normal: normal burst size, in bytes.
burst-max: excess burst size, in bytes.
im not sure if the italic tags will come through . so here is a linky to a non-cisco site that explains things a bit better than me
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.