It should be pretty easy to do this in the ingress direction with a service-policy, but you might struggle on egress as the 3750 can't do egress service-policies. However the 3750 supports bandwidth limiting on egress ports. This is configured as a percentage and can be in the range 10-100. So the best you are going to get is 1Mbps by restricting a port to 10Mbps and applying a bandwidth limit of 10%.
switch(config)# interface FastEthernet 1/0/1
switch(config-if)# speed 10
switch(config-if)# duplex full
switch(config-if)# srr-queue bandwidth limit 10
This might not achieve what you are looking for though as it works by making the link idle for X-percent of the time - i.e. in this case it would be idle for 90% of the time.
To configure the inbound policy you would do this:
switch(config)# policy-map Restrict-768Kbps
switch(config-pmap)# class class-default
switch(config-pmap-c)# police 786432 8000 exceed-action drop
I haven't tested any of this but based on the documentation this is probably the best you can achieve. If you really want to simulate a fractional T1 why not get a pair of routers and a back-to-back serial cable and physically clock the link at 768Kbps? This would be a more realistic test.
[toc:faq]The ProblemOn traditional switches whenever we have a trunk
interface we use the VLAN tag to demultiplex the VLANs. The switch needs
to determine which MAC Address table to look in for a forwarding
decision. To do this we require the switch to do...
[toc:faq]Introduction:Netdr is a tool available on a RSP720, Sup720 or
Sup32 that allows one to capture packets on the RP or SP inband. The
netdr command can be used to capture both Tx and Rx packets in the
software switching path. This is not a substitut...
IntroductionOSPF, being a link-state protocol, allows for every router
in the network to know of every link and OSPF speaker in the entire
network. From this picture each router independently runs the Shortest
Path First (SPF) algorithm to determine the b...