Configuring Bandwidth Sharing for a Single VLAN


In some instances, you may want to configure bandwidth sharing for a single VLAN with different IP addresses or subnets.


To do this, you must create a VRG with the required bandwidth:

 

CLI (network-admin@Leaf1) >  vrg-create name admin-vrg vlans 100 data-bw-min 1g data-bw-max 2g scope fabric

 

You have now created a VRG with the guaranteed bandwidth of 1 Gbps and limited to a maximum of 2 Gbps. Now, create a vFLow for each IP address:

 

CLI (network-admin@Leaf1) >  vflow-create name vfl-1 scope fabric vlan 100 src-ip 1.1.1.1

 

CLI (network-admin@Leaf1) >  vflow-create name vfl-2 scope fabric vlan 100 src-ip 2.2.2.2

 

CLI (network-admin@Leaf1) >  vflow-create name vfl-3 scope fabric vlan 100 src-ip 3.3.3.3

 

CLI (network-admin@Leaf1) >  vflow-create name vfl-4 scope fabric vlan 100 src-ip 4.4.4.4

 

In this example, the specified IP addresses each have a guaranteed bandwidth between 1 Gbps and 2 Gbps.

 

If you want to specify a subnet, 100.100.100.0/28, and VLAN 53 with maximum bandwidth of 50 Mbps, use the following syntax:

 

CLI (network-admin@Leaf1) >  vrg-create name vrg-custom scope fabric data-bw-min 50M data-bw-max 50M vlan 53

 

CLI (network-admin@Leaf1) >  vflow-create name vfl-cust scope fabric src-ip 100.100.100.0 src-ip-mask 255.255.255.240 vlan 53

 

However, later on, you found that sixteen IP addresses were not enough and you needed an additional 8 with the subnet, 101.101.101.8/29 that require the same bandwidth as the previous subnet. Use the following syntax:

 

CLI (network-admin@Leaf1) >  vflow-create name vfl-cust-2 scope fabric src-ip 101.101.101.8 src-ip-mask 255.255.255.248 vlan 53

 

You now have two vFlows on VLAN 53.

 

Then, you discover that 50 Mbps is not sufficient to support the network traffic affected by the vFlow, and you want to upgrade to 80 Mbps:

 

CLI (network-admin@Leaf1) >  vrg-modify name vrg-custom data-bw-min 80M data-bw-max 80M