Ip assignment within a lag, Displaying lag information – Brocade FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide User Manual
Page 149

Setting the sFlow sampling rate for a port in a LAG
You can set the sFlow sampling rate for an individual port within a LAG using the sflow-subsampling
command within the LAG configuration as shown in the following.
device(config)# lag blue static
device(config-lag-blue)# deploy
device(config-lag-blue)# sflow sample 512
Syntax: [no] sflow sample number
The number 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 8 -
1048576.
For a keep-alive LAG, you need to configure sFlow sampling at the interface level and not within the
LAG configuration.
Brocade(config-lag-test)#interface e 7/8
Brocade(config-if-e1000-7/8)#sflow sample 512
Brocade(config-if-e1000-7/8)#
IP assignment within a LAG
Layer 3 static or dynamic LAG support IP assignment. All the configurations has to be done on the
primary port of the LAG.
The following is a sample configuration:
lag lag_dist_a_1 dynamic id 15
ports ethe 1/1 to 1/12
primary-port 1/1
deploy
!
router vrrp
!
interface ethe 1/1
ip address 192.168.10.1 255.255.255.0
ip vrrp vrid 1
backup priority 50 track-priority 10
ip-address 192.168.1.10
activate
Displaying LAG information
You can display LAG information for a Brocade device in either a full or brief mode.
The following example displays the brief option of the show lag command.
device# show lag brief
Total number of LAGs: 5
Total number of deployed LAGs: 3
Total number of trunks created:2 (253 available)
LACP System Priority / ID: 1 / 0024.3889.3b00
LACP Long timeout: 120, default: 120
LACP Short timeout: 3, default: 3
LAG Type Deploy Trunk Primary Port List
test static Y 35 3/10 e 3/10
test2 static Y 1 3/11 e 3/11
test3 keep-al Y 1153 3/12 e 3/12
test4 keep-al N 1154 3/13 e 3/13
test5 static N 2 none e 3/14
Syntax: show lag brief
Setting the sFlow sampling rate for a port in a LAG
FastIron Ethernet Switch Platform and Layer 2 Switching Configuration Guide
149
53-1003086-04