12-09-2020 02:17 AM
Hello everybody,
I have Cisco 892FSP with Gi 8 Uplink and 2 inside interfaces Gi0-1:
interface GigabitEthernet8
description UPLINK
ip address 192.168.0.1 255.255.255.254
!
interface GigabitEthernet0
switchport access vlan 238
no ip address
no lldp transmit
no lldp receive
no cdp enable
spanning-tree portfast
!
interface GigabitEthernet1
switchport access vlan 238
no ip address
no lldp transmit
no lldp receive
no cdp enable
spanning-tree portfast
!
interface Vlan238
ip address 10.0.0.1 255.255.255.224
I need to shape the download and upload as 200Mbitps. Can somebody me help how I can do it with vlan?
Best Regards,
12-09-2020 03:06 AM
Hello,
the 892 does not even come close to up and download speeds of 200MB. Either way, a simple traffic shaping policy would look like below:
policy-map SHAPE_200MB
class class-default
shape average 200000000
fair-queue
!
interface GigabitEthernet8
description UPLINK
ip address 192.168.0.1 255.255.255.254
service-policy output SHAPE_200MB
12-09-2020 07:05 AM
Shaping egress is generally used so you can manage less bandwidth then the port supports. (How it might be done is shown in Georg's posting.) BTW: Do note, I believe some shapers do not account for L2 overhead, and if you need to shape for that overhead too, on such shapers you can shape about 15% "slower" to allow for that overhead.
You cannot shape ingress (except perhaps on another port's egress). You can police ingress. However, for what purpose do you wish to limit ingress? (The reason I ask, a policer [or shaper] will control bandwidth behind it, but their affect upon upstream bandwidth usage, varies.)
12-09-2020 07:28 AM - edited 12-09-2020 07:30 AM
Hallo Joseph,
thanks for your reply. I tred to do the shape. It looks like
!
class-map match-any from-inside
match input-interface Vlan238
match input-interface GigabitEthernet0
match input-interface GigabitEthernet1
!
policy-map shape-to-inside
class class-default
shape average 200000000
fair-queue 256
policy-map shape-from-inside
class from-inside
shape average 200000000
fair-queue 256
But It works only for download.
I feel like it's not working right with L2 or I'm doing something wrong
12-09-2020 01:41 PM
How do you have the policies applied?
12-10-2020 12:47 AM
interface GigabitEthernet8
service-policy output shape-from-inside
!
interface GigabitEthernet0
service-policy output shape-to-inside
!
interface GigabitEthernet1
service-policy output shape-to-inside
12-10-2020 06:56 AM
So you're problem is with g8? Further, it's not shaping, you believe? Any possible traffic not from the three interfaces listed in the class-map? If you wish to shape all g8 egress traffic, why not use class-default?
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