成长值: 63250
|
问题描述
NE40E在ospf进程中配置了带宽参考值10000,cost=带宽参考值/实际接口带宽,对应10G口的cost值应该为1,但是相应的ospf接口的cost值却10:
相关配置:
#
interface Vlanif100 //vlanif接口配置(设备三层互联使用)
ip address 172.16.1.158 255.255.255.252
mpls
mpls ldp
#
interface GigabitEthernet4/0/0
portswitch
undo shutdown
port link-type trunk
port trunk allow-pass vlan 100
undo dcn
#
ospf 100
import-route static cost 1 type 1
enable log state
bandwidth-reference 10000 //设置带宽参考值10000
area 0.0.0.0
network 172.16.100.59 0.0.0.0
network 172.16.1.156 0.0.0.3
network 172.16.1.160 0.0.0.3
#
接口带宽为10G:
<NE40E display interface brief
Interface PHY Protocol InUti OutUti inErrors outErrors
GigabitEthernet4/0/0(10G) up up 0% 0% 0 0
查看到Vlanif接口的ospf cost值为10:
<NE40E> dis ospf int vlan 933
OSPF Process 100 with Router ID 172.16.100.59
Interfaces
Interface: 172.16.1.158 (Vlanif100)
Cost: 10 State: DR Type: Broadcast MTU: 1500
Priority: 1
Designated Router: 172.16.1.158
Backup Designated Router: 172.16.1.157
Timers: Hello 10 , Dead 40 , Poll 120 , Retransmit 5 , Transmit Delay 1
处理过程
|
|