Friday, February 10, 2012

T1672-T1682 LACP in details.

a, topology:

FG-A =====----- Nexus-A
|.......\.../....|
|........\./.....|
(ha)........X......|
|......../.\.....|
|......./...\....|
FG-B =====----- Nexus-B


b, LACP.
--1, output from FGT side.
5060-s1 # d switch fabric-channel trunk list 156Trunk
Switch Trunk Information, fabric-Channel
Trunk Name: 156Trunk
Port Selection Algorithm: src-dst-ip

Active Port Update Time
___________ ____________________

f2 04:17:25 Aug-16-1985
f3 03:39:07 Aug-16-1985

Non-Active Port Status
_______________ ____________________

LACP flags: (A|P)(S|F)(A|I)(I|O)(E|D)(E|D)
(A|P) - LACP mode is Active or Passive
(S|F) - LACP speed is Slow or Fast
(A|I) - Aggregatable or Individual
(I|O) - Port In sync or Out of sync
(E|D) - Frame collection is Enabled or Disabled
(E|D) - Frame distribution is Enabled or Disabled

status: up
ports: 2
LACP mode: active
LACP speed: fast
aggregator ID: 1
actor key: 1
actor MAC address: 00:09:0f:62:0d:d2
partner key: 1
partner MAC address: 00:22:56:b9:6e:40

slave: f2
status: up
link failure count: 2180
permanent MAC addr: 00:09:0f:62:0d:d2
actor state: ASAIEE =>FSW works as Active, slow,Aggregate, in sync, collection enabled and distribution enabled.
partner state: PSAIEE =>Nexus works as passive, slow,Aggregate, in sync, collection enabled and distribution enabled.
aggregator ID: 1

slave: f3
status: up
link failure count: 2172
permanent MAC addr: 00:09:0f:62:0d:d3
actor state: AFAIEE
partner state: PSAIEE
aggregator ID: 1


5060-s1 #


========================
output from ticket:
Active Port Update Time
___________ ____________________

f1 15:42:50 Feb-09-2012
f2 15:53:00 Feb-09-2012

...

actor state: ASAIEE
partner state: PFAIDD ==> Nexus is passive, fast mode, in sync, but collection disabled and distribution disabled.

FGT will send the traffic to the peer since the trunk is under the condition that distribution enabled. packet lost.


fast|slow is the setting to tell the peer how fast it should send LACP bpdu out.
FSW:
set lacp-speed fast
Cisco:
lacp rate fast ( not support in 4900)

Wednesday, February 8, 2012

python video list


python programming Tutorial
1, installing
2, numbers and math
3, variables
4, Modules and Functions
5, how to save your program
6, string
7, More on Strings
8, raw input
9, sequence and list
10, slicing
11, editing sequence
12, more list function
13, slicing list
14, intro to method
15, more method
16, sort and tuples
17, string and stuff
18, cool string method
19, dictionary
20, if statement
21, else and elif
22, nesting statement
23, comparison operator
24, and and or
25, for and while loop
26, infinite loops and break
27, building function
28, default parameter
29, multiple parameter
30, parameter type
31, tuples as parameter
32, object oriented program
33, class and self
34, subclass and superclass
35, overwrite variable on sub
36, multiple parent classes
37, constructor
38, import modules
39, reload the module
40, getting module info
41, work with files
42, reading and writing
43, writing lines





Google Class

Day 1 part 1: Introduction and string
Day 1 part 2: List, sorting and Tuples
Day 1 part 3: Dict and files
Day 2 part 1: RE
Day 2 part 2: OS and command
Day 2 part 3: url and HTTP, exceptions
Day 2 part 4: closing thoughts