摘要 |
Physical links between an access switch and a pair aggregation switches are aggregated into a virtual link aggregation group (vLAG). Each aggregation switch is a local switch to itself and a remote switch to the other aggregation switch. Each aggregation switch maintains a state machine including initialization, local-up, remote-up, and formed states. In the initialization state, the physical link between the access switch and each aggregation switch is down, and the vLAG is down. In the local-up state, just the physical link between the access switch and the local switch is up, and the vLAG is down. In the remote-up state, just the physical link between the access switch and the remote switch is up, and the vLAG is down. In the formed state, the physical link between the access switch and each aggregation switch is up, and the vLAG is up. |
主权项 |
1. A method comprising:
performing virtual link aggregation, by a local aggregation switch, among physical links between an access switch and a pair of aggregation switches including the local aggregation switch and a remote aggregation switch; maintaining, by the local aggregation switch, a state machine for the local aggregation switch to provide for the virtual link aggregation, the state machine comprising a plurality of states include an initialization state, a local-up state, a remote-up state, and a formed state; in response to the physical link between the access switch and the local aggregation switch and the physical link between the access switch and the remote aggregation switch being down, and a virtual link aggregation group (vLAG) being down, maintaining, by the local aggregation switch, the state machine in the initialization state; in response to the physical link between the access switch and the local aggregation switch being up, the physical link between the access switch and the remote aggregation switch being down, and the vLAG being down, maintaining, by the local aggregation switch, the state machine in the local-up state; in response to the physical link between the access switch and the remote aggregation switch being up, the physical link between the access switch and the local aggregation switch being down, and the vLAG being down, maintaining, by the local aggregation switch, the state machine in the remote-up state; and in response to the physical link between the access switch and the local aggregation switch and the physical link between the access switch and the remote aggregation switch being up, and the vLAG being up, maintaining, by the local aggregation switch, the state machine in the formed state. |