发明名称 |
Calculating a route |
摘要 |
According to an example, in a method for calculating a route, a first network device may add a protocol attribute supported by a link to a link state protocol data unit (LSP) of the first network device according to a protocol attribute supported by a port of the first network device and a protocol attribute supported by a port of a neighbor network device when establishing an adjacency, and may flood the LSP. The first network device may receive a LSP from a neighbor network device, parse a protocol attribute supported by a link contained in the received LSP, record the protocol attribute supported by the link contained in the received LSP in local network topology information, to obtain updated network topology information. And the first network device may calculate a route according to the updated network topology information. A network device and a computing device may calculate a route. |
申请公布号 |
US9438510(B2) |
申请公布日期 |
2016.09.06 |
申请号 |
US201314649158 |
申请日期 |
2013.12.10 |
申请人 |
HANGZHOU H3C TECHNOLOGIES CO., LTD. |
发明人 |
Wei Zhiguang |
分类号 |
G06F15/173;H04L12/721;H04L29/12;H04L12/64;H04L12/781;H04L12/751 |
主分类号 |
G06F15/173 |
代理机构 |
Mannava & Kang, P.C. |
代理人 |
Mannava & Kang, P.C. |
主权项 |
1. A method for calculating a route, comprising:
adding, by a first network device, a protocol attribute supported by a link into a link state protocol data unit (LSP) of the first network device according to a protocol attribute supported by a port of the first network device and a protocol attribute supported by a port of a neighbor network device of the first network device when establishing an adjacency for the first network device; flooding, by the first network device, the LSP; receiving, by the first network device, a LSP from a neighbor network device, parsing the received LSP to obtain a protocol attribute supported by a link contained in the received LSP, recording the protocol attribute contained in the received LSP in local network topology information to obtain updated network topology information; and calculating, by the first network device, a route according to the updated network topology information. |
地址 |
Zhejiang CN |