我们都只是,OSPF的IPV4版本,在配置完成之后,使用show ip ospf database可以显示出LSA的概述信息,其中每条LSA前面都会有一个LSID来标识这条LSA。但是在配置IPV6版本的OSPF的时候,使用show ipv6 ospf database却没有发现所谓的LSAID,这是怎么回事?难道IPV6中就没有LSID这回事了吗?那如何来标识所谓LSA?R2# show running-config
Building configuration...
Current configuration : 966 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R2
!
!
!
!
!
!
!
!
ip cef
ipv6 unicast-routing
!
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX152451QE
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
ipv6 address 2001:1::1/64
ipv6 ospf 1 area 0
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/2
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
log-adjacency-changes
network 192.168.1.1 0.0.0.0 area 0
!
ipv6 router ospf 1
router-id 2.2.2.2
log-adjacency-changes
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
logging synchronous
privilege level 15
!
line aux 0
!
line vty 0 4
login
!
!
!
end
R2# R3#show runn
Building configuration...
Current configuration : 985 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R3
!
!
!
!
!
!
!
!
ip cef
ipv6 unicast-routing
!
no ipv6 cef
!
!
!
!
license udi pid CISCO2911/K9 sn FTX1524I3AZ
!
!
!
!
!
!
!
!
!
no ip domain-lookup
!
!
spanning-tree mode pvst
!
!
!
!
!
!
interface GigabitEthernet0/0
ip address 192.168.1.2 255.255.255.0
duplex auto
speed auto
ipv6 address 2001:1::2/64
ipv6 ospf 1 area 0
!
interface GigabitEthernet0/1
no ip address
duplex auto
speed auto
shutdown
!
interface GigabitEthernet0/2
no ip address
duplex auto
speed auto
shutdown
!
interface Vlan1
no ip address
shutdown
!
router ospf 1
router-id 3.3.3.3
log-adjacency-changes
network 192.168.1.2 0.0.0.0 area 0
!
ipv6 router ospf 1
router-id 3.3.3.3
log-adjacency-changes
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
logging synchronous
privilege level 15
!
line aux 0
!
line vty 0 4
login
!
!
!
end