查看完整版本: show ip ospf database参数解释

丝丝情 2007-11-14 09:26

show ip ospf database参数解释

[b][color=#006699]参考一下:[/color][/b]Router# [b]show ip ospf database[/b]


OSPF Router with ID(192.168.1.11) (Process ID 1)


                   Router  Link States(Area 0)


Link ID           ADV Router        Age         Seq#       Checksum Link count
192.168.1.8       192.168.1.8       1381      0x8000010D    0xEF60   2
192.168.1.11      192.168.1.11      1460      0x800002FE    0xEB3D   4
192.168.1.12      192.168.1.12      2027      0x80000090    0x875D   3
192.168.1.27      192.168.1.27      1323      0x800001D6    0x12CC   3

                   Net  Link States(Area 0)


Link ID          ADV Router        Age         Seq#       Checksum
172.16.1.27      192.168.1.27      1323      0x8000005B    0xA8EE  
172.17.1.11      192.168.1.11      1461      0x8000005B    0x7AC

                   Type-10  Opaque Link Area Link States (Area 0)


  Link ID         ADV Router        Age         Seq#       Checksum Opaque ID
10.0.0.0         192.168.1.11      1461      0x800002C8    0x8483     0
10.0.0.0         192.168.1.12      2027      0x80000080    0xF858     0
10.0.0.0         192.168.1.27      1323      0x800001BC    0x919B     0
10.0.0.1         192.168.1.11      1461      0x8000005E    0x5B43     1


Table 55 describes the significant fields shown in the display.

[align=left][table=80%]Table 57 [b]show ip ospf database[/b] Field Descriptions  
[tr][td]Field
[/td][td]Description
[/td][/tr][tr][td]Link ID
[/td][td]Router ID number.
[/td][/tr][tr][td]ADV Router
[/td][td]Advertising router ID.
[/td][/tr][tr][td]Age
[/td][td]Link-state age.
[/td][/tr][tr][td]Seq#
[/td][td]Link-state sequence number (detects old or duplicate LSAs).
[/td][/tr][tr][td]Checksum
[/td][td]Fletcher checksum of the complete contents of the LSA.
[/td][/tr][tr][td]Link count
[/td][td]Number of interfaces detected for router.
[/td][/tr][tr][td]Opaque ID
[/td][td]Opaque LSA ID number.
[/td][/tr][/table][/align]

The following is sample output from the [b]show ip ospf database [/b]command with the [b]asbr-summary [/b]keyword:
Router#[b] show ip ospf database asbr-summary[/b]


OSPF Router with id(192.168.239.66) (Process ID 300)


                Displaying Summary ASB Link States(Area 0.0.0.0)


        LS age: 1463
        Options: (No TOS-capability)
        LS Type: Summary Links(AS Boundary Router)
        Link State ID: 172.16.245.1 (AS Boundary Router address)
        Advertising Router: 172.16.241.5
        LS Seq Number: 80000072
        Checksum: 0x3548
        Length: 28
        Network Mask: 0.0.0.0 TOS: 0  Metric: 1


Table 56 describes the significant fields shown in the display.

[align=left][table=80%]Table 58 [b]show ip ospf database [/b][b]asbr-summary[/b]Field Descriptions  
[tr][td]Field
[/td][td]Description
[/td][/tr][tr][td]OSPF Router with id
[/td][td]Router ID number.
[/td][/tr][tr][td]Process ID
[/td][td]OSPF process ID.
[/td][/tr][tr][td]LS age
[/td][td]Link-state age.
[/td][/tr][tr][td]Options
[/td][td]Type of service options (Type 0 only).
[/td][/tr][tr][td]LS Type
[/td][td]Link-state type.
[/td][/tr][tr][td]Link State ID
[/td][td]Link-state ID (ASBR).
[/td][/tr][tr][td]Advertising Router
[/td][td]Advertising router ID.
[/td][/tr][tr][td]LS Seq Number
[/td][td]Link-state sequence (detects old or duplicate LSAs).
[/td][/tr][tr][td]Checksum
[/td][td]Link-state checksum (Fletcher checksum of the complete contents of the LSA).
[/td][/tr][tr][td]Length
[/td][td]Length in bytes of the LSA.
[/td][/tr][tr][td]Network Mask
[/td][td]Network mask implemented.
[/td][/tr][tr][td]TOS
[/td][td]Type of service.
[/td][/tr][tr][td]Metric
[/td][td]Link-state metric.
[/td][/tr][/table][/align]

The following is sample output from the [b]show ip ospf database[/b]command with the [b]external [/b]keyword:
Router# [b]show ip ospf database external[/b]
OSPF Router with id(192.168.239.66) (Autonomous system 300)


                     Displa ying AS External Link States


LS age: 280
Options: (No TOS-capability)
LS Type: AS External Link
Link State ID: 143.105.0.0 (External Network Number)
Advertising Router: 10.187.70.6
LS Seq Number: 80000AFD
Checksum: 0xC3A
Length: 36
Network Mask: 255.255.0.0
                     Metric Type: 2 (Larger than any link state path)
                     TOS: 0
                     Metric: 1
                     Forward Address: 0.0.0.0
                     External Route Tag: 0


Table 57 describes the significant fields shown in the display.

[align=left][table=80%]Table 59 [b]show ip ospf database[/b] [b]external[/b] Field Descriptions  
[tr][td]Field
[/td][td]Description
[/td][/tr][tr][td]OSPF Router with id
[/td][td]Router ID number.
[/td][/tr][tr][td]Autonomous system
[/td][td]OSPF autonomous system number (OSPF process ID).
[/td][/tr][tr][td]LS age
[/td][td]Link-state age.
[/td][/tr][tr][td]Options
[/td][td]Type of service options (Type 0 only).
[/td][/tr][tr][td]LS Type
[/td][td]Link-state type.
[/td][/tr][tr][td]Link State ID
[/td][td]Link-state ID (external network number)[b].[/b]
[/td][/tr][tr][td]Advertising Router
[/td][td]Advertising router ID.
[/td][/tr][tr][td]LS Seq Number
[/td][td]Link-state sequence number (detects old or duplicate LSAs).
[/td][/tr][tr][td]Checksum
[/td][td]Checksum (Fletcher checksum of the complete contents of the LSA).
[/td][/tr][tr][td]Length
[/td][td]Length in bytes of the LSA.
[/td][/tr][tr][td]Network Mask
[/td][td]Network mask implemented.
[/td][/tr][tr][td]Metric Type
[/td][td]External type.
[/td][/tr][tr][td]TOS
[/td][td]Type of service.
[/td][/tr][tr][td]Metric
[/td][td]Link-state metric.
[/td][/tr][tr][td]Forward Address
[/td][td]Forwarding address. Data traffic for the advertised destination will be forwarded to this address. If the forwarding address is set to 0.0.0.0, data traffic will be forwarded to the originator of the advertisement.
[/td][/tr][tr][td]External Route Tag
[/td][td]External route tag, a 32-bit field attached to each external route. This is not used by the OSPF protocol itself.
[/td][/tr][/table][/align]

The following is sample output from the [b]show ip ospf database[/b]command with the [b]network [/b]keyword:
Router# [b]show ip ospf database network[/b]
OSPF Router with id(192.168.239.66) (Process ID 300)


                Displaying Net Link States(Area 0.0.0.0)


LS age: 1367
Options: (No TOS-capability)
LS Type: Network Links
Link State ID: 10.187.1.3 (address of Designated Router)
Advertising Router: 192.168.239.66
LS Seq Number: 800000E7
Checksum: 0x1229
Length: 52
Network Mask: 255.255.255.0
        Attached Router: 192.168.239.66
        Attached Router: 10.187.241.5
        Attached Router: 10.187.1.1
        Attached Router: 10.187.54.5
        Attached Router: 10.187.1.5


Table 58 describes the significant fields shown in the display.

[align=left][table=80%]Table 60 [b]show ip ospf database[/b] [b]network[/b] Field Descriptions  
[tr][td]Field
[/td][td]Description
[/td][/tr][tr][td]OSPF Router with id
[/td][td]Router ID number.
[/td][/tr][tr][td]Process ID 300
[/td][td]OSPF process ID.
[/td][/tr][tr][td]LS age
[/td][td]Link-state age.
[/td][/tr][tr][td]Options
[/td][td]Type of service options (Type 0 only).
[/td][/tr][tr][td]LS Type
[/td][td]Link-state type.
[/td][/tr][tr][td]Link State ID
[/td][td]Link-state ID of designated router.
[/td][/tr][tr][td]Advertising Router
[/td][td]Advertising router ID.
[/td][/tr][tr][td]LS Seq Number
[/td][td]Link-state sequence (detects old or duplicate LSAs).
[/td][/tr][tr][td]Checksum
[/td][td]Checksum (Fletcher checksum of the complete contents of the LSA).
[/td][/tr][tr][td]Length
[/td][td]Length in bytes of the link-state advertisement.
[/td][/tr][tr][td]Network Mask
[/td][td]Network mask implemented.
[/td][/tr][tr][td]AS Boundary Router
[/td][td]Definition of router type.
[/td][/tr][tr][td]Attached Router
[/td][td]List of routers attached to the network, by IP address.
[/td][/tr][/table][/align]

The following is sample output, carrying Multiprotocol Label Switching (MPLS) traffic engineering specification information, from the [b]show ip ospf database[/b]command with the [b]opaque-area [/b]keyword:
Router# [b]show ip ospf database opaque-area adv-router 192.168.1.12[/b]


OSPF Router with id(192.168.1.11) (Process ID 1)


                Type-10 Opaque Link Area Link States (Area 0)


LS age: 224
   Options: (No TOS-capability, DC)
   LS Type: Opaque Area Link
   Link State ID: 10.0.0.0
   Opaque Type: 1
   Opaque ID: 0
   Advertising Router: 192.168.1.12
   LS Seq Number: 80000081
   Checksum: 0xF659
   Length: 132
   Fragment number : 0

     MPLS TE router ID : 192.168.1.12

     Link connected to Point-to-Point network
       Link ID : 192.168.1.11
       Interface Address : 172.16.1.12
       Neighbor Address : 172.16.1.11
       Admin Metric : 10
       Maximum bandwidth : 193000
       Maximum reservable bandwidth : 125000
       Number of Priority : 8
       Priority 0 : 125000      Priority 1 : 125000   
       Priority 2 : 125000      Priority 3 : 125000   
       Priority 4 : 125000      Priority 5 : 125000   
       Priority 6 : 125000      Priority 7 : 100000   
       Affinity Bit : 0x0

     Number of Links : 1


Table 59 describes the significant fields shown in the display.

[align=left][table=80%]Table 61 [b]show ip ospf database[/b] [b]opaque-area [/b]Field Descriptions  
[tr][td]Field
[/td][td]Description
[/td][/tr][tr][td]OSPF Router with id
[/td][td]Router ID number.
[/td][/tr][tr][td]Process ID
[/td][td]OSPF process ID.
[/td][/tr][tr][td]LS age
[/td][td]Link-state age.
[/td][/tr][tr][td]Options
[/td][td]Type of service options (Type 0 only).
[/td][/tr][tr][td]LS Type
[/td][td]Link-state type.
[/td][/tr][tr][td]Link State ID
[/td][td]Link-state ID.
[/td][/tr][tr][td]Opaque Type
[/td][td]Opaque link-state type.
[/td][/tr][tr][td]Opaque ID
[/td][td]Opaque ID number.
[/td][/tr][tr][td]Advertising Router
[/td][td]Advertising router ID.
[/td][/tr][tr][td]LS Seq Number
[/td][td]Link-state sequence (detects old or duplicate LSAs).
[/td][/tr][tr][td]Checksum
[/td][td]Checksum (Fletcher checksum of the complete contents of the LSA).
[/td][/tr][tr][td]Length
[/td][td]Length in bytes of the LSA.
[/td][/tr][tr][td]Fragment number
[/td][td]Arbitrary value used to maintain multiple traffic engineering LSAs.
[/td][/tr][tr][td]Link ID
[/td][td]Link ID number.
[/td][/tr][tr][td]Interface Address
[/td][td]ID address of the interface.
[/td][/tr][tr][td]Neighbor Address
[/td][td]IP address of the neighbor.
[/td][/tr][tr][td]Admin Metric
[/td][td]Administrative distance metric value used by Multiprotocol Label Switching traffic engineering (MPLS-TE).
[/td][/tr][tr][td]Maximum bandwidth
[/td][td]Specifies maximum bandwidth.
[/td][/tr][tr][td]Maximum reservable bandwidth
[/td][td]Specifies maximum reservable bandwidth.
[/td][/tr][tr][td]Number of Priority
[/td][td]Priority number.
[/td][/tr][tr][td]Affinity Bit
[/td][td]Used by MPLS-TE.
[/td][/tr][/table][/align]

The following is sample output from the [b]show ip ospf database[/b]command with the [b]router [/b]keyword:
Router# [b]show ip ospf database router[/b]


OSPF Router with id(192.168.239.66) (Process ID 300)



                Displaying Router Link States(Area 0.0.0.0)


LS age: 1176
Options: (No TOS-capability)
LS Type: Router Links
Link State ID: 10.187.21.6
Advertising Router: 10.187.21.6
LS Seq Number: 80002CF6
Checksum: 0x73B7
Length: 120
AS Boundary Router
155   Number of Links: 8


Link connected to: another Router (point-to-point)
(link ID) Neighboring Router ID: 10.187.21.5
(Link Data) Router Interface address: 10.187.21.6
Number of TOS metrics: 0
TOS 0 Metrics: 2


Table 60 describes the significant fields shown in the display.

[align=left][table=80%]Table 62 [b]show ip ospf database[/b] [b]router[/b] Field Descriptions  
[tr][td]Field
[/td][td]Description
[/td][/tr][tr][td]OSPF Router with id
[/td][td]Router ID number.
[/td][/tr][tr][td]Process ID
[/td][td]OSPF process ID.
[/td][/tr][tr][td]LS age
[/td][td]Link-state age.
[/td][/tr][tr][td]Options
[/td][td]Type of service options (Type 0 only).
[/td][/tr][tr][td]LS Type
[/td][td]Link-state type.
[/td][/tr][tr][td]Link State ID
[/td][td]Link-state ID.
[/td][/tr][tr][td]Advertising Router
[/td][td]Advertising router ID.
[/td][/tr][tr][td]LS Seq Number
[/td][td]Link-state sequence (detects old or duplicate LSAs).
[/td][/tr][tr][td]Checksum
[/td][td]Checksum (Fletcher checksum of the complete contents of the LSA).
[/td][/tr][tr][td]Length
[/td][td]Length in bytes of the LSA.
[/td][/tr][tr][td]AS Boundary Router
[/td][td]Definition of router type.
[/td][/tr][tr][td]Number of Links
[/td][td]Number of active links.
[/td][/tr][tr][td]link ID
[/td][td]Link type.
[/td][/tr][tr][td]Link Data
[/td][td]Router interface address.
[/td][/tr][tr][td]TOS
[/td][td]Type of service metric (Type 0 only).
[/td][/tr][/table][/align]

The following is sample output from [b]show ip ospf database[/b]command with the [b]summary [/b]keyword:
Router# [b]show ip ospf database summary[/b]


       OSPF Router with id(192.168.239.66) (Process ID 300)


                Displaying Summary Net Link States(Area 0.0.0.0)


LS age: 1401
Options: (No TOS-capability)
LS Type: Summary Links(Network)
Link State ID: 10.187.240.0 (summary Network Number)
Advertising Router: 10.187.241.5
LS Seq Number: 80000072
Checksum: 0x84FF
Length: 28
Network Mask: 255.255.255.0   TOS: 0  Metric: 1


Table 61 describes the significant fields shown in the display.

[align=left][table=80%]Table 63 [b]show ip ospf database[/b] [b]summary[/b] Field Descriptions  
[tr][td]Field
[/td][td]Description
[/td][/tr][tr][td]OSPF Router with id
[/td][td]Router ID number.
[/td][/tr][tr][td]Process ID
[/td][td]OSPF process ID.
[/td][/tr][tr][td]LS age
[/td][td]Link-state age.
[/td][/tr][tr][td]Options
[/td][td]Type of service options (Type 0 only).
[/td][/tr][tr][td]LS Type
[/td][td]Link-state type.
[/td][/tr][tr][td]Link State ID
[/td][td]Link-state ID (summary network number).
[/td][/tr][tr][td]Advertising Router
[/td][td]The ID of the advertising router.
[/td][/tr][tr][td]LS Seq Number
[/td][td]Link-state sequence (detects old or duplicate LSAs).
[/td][/tr][tr][td]Checksum
[/td][td]Checksum (Fletcher checksum of the complete contents of the LSA).
[/td][/tr][tr][td]Length
[/td][td]Length in bytes of the link-state advertisement.
[/td][/tr][tr][td]Network Mask
[/td][td]Network mask implemented.
[/td][/tr][tr][td]TOS
[/td][td]Type of service.
[/td][/tr][tr][td]Metric
[/td][td]Link-state metric.
[/td][/tr][/table][/align]

The following is sample output from [b]show ip ospf database[/b]command with the [b]database-summary [/b]keyword:
Router# [b]show ip ospf database database-summary[/b]
            OSPF Router with ID (172.19.65.21) (Process ID 1)


Area   ID     Router   & ;nbs  p;Network    Sum-Net   &a mp;n  bsp;Sum-ASBR    Subtotal  & ;nbs p; Delete    Maxage
  202         1&a mp;n  bsp;        0 & amp; nbsp;        0            0  ;  ;           ;  ;1         & ;nbs  p; 0        &am p;nb sp;0
AS   External        & ;nbs  p;         & ;nbs  p;         & ;nbs  p;         & ;nbs  p;      0   &am p;nb  sp;       0  &a mp;n bsp;      0
Total       1           0    ;  ;       0  & ;nbs  p;       0  &am p;nb sp;        1  


Table 62 describes the significant fields shown in the display.

[align=left][table=80%]Table 64 [b]show ip ospf database[/b] [b]database-summary[/b] Field Descriptions  
[tr][td]Field
[/td][td]Description
[/td][/tr][tr][td]Area ID
[/td][td]Area number.
[/td][/tr][tr][td]Router
[/td][td]Number of router LSAs in that area.
[/td][/tr][tr][td]Network
[/td][td]Number of network LSAs in that area.
[/td][/tr][tr][td]Sum-Net
[/td][td]Number of summary LSAs in that area.
[/td][/tr][tr][td]Sum-ASBR
[/td][td]Number of summary ASBR LSAs in that area.
[/td][/tr][tr][td]Subtotal
[/td][td]Sum of Router, Network, Sum-Net, and Sum-ASBR for that area.
[/td][/tr][tr][td]Delete
[/td][td]Number of LSAs that are marked "Deleted" in that area.
[/td][/tr][tr][td]Maxage
[/td][td]Number of LSAs that are marked "Maxaged" in that area.
[/td][/tr][tr][td]AS External
[/td][td]Number of external LSAs.
[/td][/tr][/table][/align]

北雪丽人 2007-12-4 19:52

还是英文,楼主你不发点实用的,估计你自己都看不懂呢
页: [1]
查看完整版本: show ip ospf database参数解释