注册 | 登录 忘记密码? 51cto首页 | 博客 | 论坛 | 招聘
 帮助
  51CTO博客 > 技术圈 > 网络工程师联盟 > 讨论区
 
 
skylight [楼主]
 
 
普通圈友
圈积分:5
发短消息 博客
请各位高手指点一下什么是LINK ID ?  回复:5 阅读:101 2008-07-18 18:08:16
 
本人今天在做OSPF的建立虚链路实验时,使用show ip ospf database命令,在屏幕显示出一个LINK ID的字段,我想知道这个LINK ID具体指的是什么,问了两个朋友,他们也说不太清楚.希望能看到贴子的高手帮忙解决一下.我在baidu没有查到.谢谢各位.
这是我在实验时查看到的,里面有很多个Link ID.
r3#sho ip ospf data
            OSPF Router with ID (3.3.3.3) (Process ID 10)
                Router Link States (Area 0)
Link ID         ADV Router      Age         Seq#       Checksum Link count
1.1.1.1         1.1.1.1         616   (DNA) 0x80000002 0x00F580 2
2.2.2.2         2.2.2.2         5     (DNA) 0x80000003 0x00DE18 3
3.3.3.3         3.3.3.3         92          0x80000002 0x001E95 1
                Summary Net Link States (Area 0)
Link ID         ADV Router      Age         Seq#       Checksum
3.3.3.3         3.3.3.3         103         0x80000001 0x00AE75
23.1.1.0        2.2.2.2         622   (DNA) 0x80000001 0x008C4F
23.1.1.0        3.3.3.3         103         0x80000001 0x006E69
                Router Link States (Area 1)
Link ID         ADV Router      Age         Seq#       Checksum Link count
2.2.2.2         2.2.2.2         708         0x80000002 0x00282A 2
3.3.3.3         3.3.3.3         102         0x80000003 0x00C586 2
                Summary Net Link States (Area 1)
         
Link ID         ADV Router      Age         Seq#       Checksum
3.3.3.3         2.2.2.2         78          0x80000001 0x004F98
3.3.3.3         3.3.3.3         104         0x80000001 0x00AE75
12.1.1.0        2.2.2.2         716         0x80000001 0x001CCA
12.1.1.0        3.3.3.3         80          0x80000001 0x008022
         
                Router Link States (Area 2)
         
Link ID         ADV Router      Age         Seq#       Checksum Link count
3.3.3.3         3.3.3.3         105         0x80000002 0x007D8E 1
         
                Summary Net Link States (Area 2)
         
Link ID         ADV Router      Age         Seq#       Checksum
12.1.1.0        3.3.3.3         81          0x80000001 0x008022
23.1.1.0        3.3.3.3         109         0x80000001 0x006E69
r3#
 
引用回复
skylight [1楼]
 
 
普通圈友
圈积分:5
发短消息 博客
RE:请各位高手指点一下什么是LINK ID ? 2008-07-18 18:09:42
 
各位朋友,答案越详细越好,以便偶能更加深入的理解.谢谢!
 
引用回复
hexianguo [2楼]
 
 
圈主
圈积分:621
发短消息 博客
RE:请各位高手指点一下什么是LINK ID ? 2008-07-19 18:51:28
 
Link ID指的是Router ID number吧
 
引用回复
skylight [3楼]
 
 
普通圈友
圈积分:5
发短消息 博客
RE:请各位高手指点一下什么是LINK ID ? 2008-07-20 01:36:15
 
QUOTE:
原帖由 hexianguo 于 2008-07-19 18:51:28 发表
Link ID指的是Router ID number吧

我看书好像是link state id 
具体的说明不知道在哪里去找?
 
 
引用回复
hexianguo [4楼]
 
 
圈主
圈积分:621
发短消息 博客
RE:请各位高手指点一下什么是LINK ID ? 2008-07-20 12:36:06
 
The following table describes the fields displayed by the show ip ospf database te command:
Table 2-4. Fields Displayed by show ip ospf database te  
Field Description
LS age
Link state age.
Options
Type of service options.
LS Type
Format and function of the LSA. Valid values include:
  1. router-LSAs - states of the router's interfaces

  2. network-LSAs - the set of routers attached to the network

  3. summary-LSAs - summary routes to networks.

  4. summary LSAs - summary routes to AS boundary routers.

  5. AS-external-LSAs - routes to destinations external to the Autonomous System.

Link State ID
The portion of the routing domain that is being described by the LSA. Depending on the LSA's LS type, the Link State ID is one of the following values:
LS type = 1: The originating router's Router ID.
LS type = 2: The IP interface address of the network's DR.
LS type = 3: The destination network's IP address.
LS type = 4: The Router ID of the described AS boundary router.
LS type = 5: The destination network's IP address.
Advertising Router ID
Advertising router's ID.
LS Seq Number
Link state sequence number. A 32-bit value which wraps on overflow.
Checksum
Checksum of the LSA packet.
Length
Number of bytes in the LSA.
number of tlvs
Number of TLVs associated with this LSA.
TLV type
1 - Router Address
2 - Link
Link type
Defines the type of the link:
1 - Point-to-point
2 - Multiaccess
Link ID
Identifies the other end of the link. For point-to-point links, this is the Router ID of the neighbor. For multiaccess links, this is the interface address of the designated router.
Local IP address
The IP address of the interface corresponding to this link.
Remote IP address
The IP address of the neighbor's interface corresponding to this link.
TE Metric
Link metric for traffic engineering purposes. This metric may be different than the standard OSPF link metric.
Max Link BW
Maximum bandwidth that can be used on this link in this direction (from the system originating the LSA to its neighbor).
Max Reservable BW
Maximum bandwidth that may be reserved on this link in this direction
Unreserved BW
Amount of bandwidth not yet reserved at each of the eight priority levels
Administrative Color
Administrative color membership for this link. A link that is a member of multiple groups will have multiple bits set.
 
 
引用回复
skylight [5楼]
 
 
普通圈友
圈积分:5
发短消息 博客
RE:请各位高手指点一下什么是LINK ID ? 2008-07-20 22:47:44
 
QUOTE:
原帖由 hexianguo 于 2008-07-20 12:36:06 发表
The following table describes the fields displayed by the show ip ospf database te command:
Table 2-4. Fields Displayed by show ip ospf database te  
Field Description
LS age
Link state age.
Options
Type of service options.
LS Type
Format and function of the LSA. Valid values include:
  1. router-LSAs - states of the router's interfaces

  2. network-LSAs - the set of routers attached to the network

  3. summary-LSAs - summary routes to networks.

  4. summary LSAs - summary routes to AS boundary routers.

  5. AS-external-LSAs - routes to destinations external to the Autonomous System.

Link State ID
The portion of the routing domain that is being described by the LSA. Depending on the LSA's LS type, the Link State ID is one of the following values:
LS type = 1: The originating router's Router ID.
LS type = 2: The IP interface address of the network's DR.
LS type = 3: The destination network's IP address.
LS type = 4: The Router ID of the described AS boundary router.
LS type = 5: The destination network's IP address.
Advertising Router ID
Advertising router's ID.
LS Seq Number
Link state sequence number. A 32-bit value which wraps on overflow.
Checksum
Checksum of the LSA packet.
Length
Number of bytes in the LSA.
number of tlvs
Number of TLVs associated with this LSA.
TLV type
1 - Router Address
2 - Link
Link type
Defines the type of the link:
1 - Point-to-point
2 - Multiaccess
Link ID
Identifies the other end of the link. For point-to-point links, this is the Router ID of the neighbor. For multiaccess links, this is the interface address of the designated router.
Local IP address
The IP address of the interface corresponding to this link.
Remote IP address
The IP address of the neighbor's interface corresponding to this link.
TE Metric
Link metric for traffic engineering purposes. This metric may be different than the standard OSPF link metric.
Max Link BW
Maximum bandwidth that can be used on this link in this direction (from the system originating the LSA to its neighbor).
Max Reservable BW
Maximum bandwidth that may be reserved on this link in this direction
Unreserved BW
Amount of bandwidth not yet reserved at each of the eight priority levels
Administrative Color
Administrative color membership for this link. A link that is a member of multiple groups will have multiple bits set.
 

太好了,非常感谢!
 
引用回复
 提醒:您还不是网络工程师联盟的成员,您可以回复,但不能发表新帖。现在加入本圈与圈友无界沟通。
回复本贴
呢称: 
标题: 
内容: