beautypg.com

Enabling sflow forwarding on a port in a lag – Brocade Multi-Service IronWare Switching Configuration Guide (Supporting R05.6.00) User Manual

Page 181

background image

Multi-Service IronWare Switching Configuration Guide

151

53-1003036-02

Deploying a LAG

6

Brocade(config)# lag blue static

Brocade(config-lag-blue)# deploy

Brocade(config-lag-blue)# port-name orange ethernet 3/1

Syntax: [no] port-name text ethernet [slot/port]

The text variable specifies the port name. The name can be up to 50 characters long.

Use the ethernet option with the appropriate [slot/port] variable to apply the specified name to an
Ethernet port within the LAG.

Refer to the Multi-Service IronWare Administration Guide for additional information on LAG naming
conventions.

NOTE

The port name and LAG name cannot use the same name.

Enabling sFlow forwarding on a port in a LAG

You can enable sFlow forwarding on an individual port within a LAG using the sflow-forwarding
command within the LAG configuration as shown in the following.

Brocade(config)# lag blue static

Brocade(config-lag-blue)# deploy

Brocade(config-lag-blue)# sflow-forwarding ethernet 3/1

Syntax: [no] sflow-forwarding ethernet slot/port | port-name name

Use the ethernet option with the appropriate slot/port variable to specify an Ethernet port in the
LAG where you want to enable sFlow forwarding.

Use the port-name option with the appropriate name variable to specify a named port within the
LAG where you want to enable sFlow forwarding.

Setting the sFlow sampling rate for a port in a LAG

NOTE

The NetIron CES and NetIron CER supports sflow sampling rate configuration per port basis.
The Brocade MLXe, NetIron MLX, and NetIron XMR supports sflow sampling rate configuration per
packet processer basis.

You can set the sFlow sampling rate for an individual port within a LAG using the sflow-subsampling
command as shown.

Brocade(config)# lag blue static

Brocade(config-lag-blue)# deploy

Brocade(config-lag-blue)# sflow-subsampling ethernet 3/1 512

Syntax: [no] sflow-subsampling num

The num variable specifies the average number of packets from which each sample will be taken.
The software rounds the value you enter up to the next odd power of 2. This can be a value
between 512 - 1048576.