The bandwidth-reference command sets the bandwidth reference value that is used when the system automatically calculates the interface cost.
ospf 1
undo silent-interface Vlanif3004
After the bandwidth-reference command is configured we have following information:
dis int Eth-Trunk1
Eth-Trunk1 current state : UP
Line protocol current state : UP
Switch Port, Link-type : hybrid,
PVID : 3004, Hash arithmetic : According to SIP-XOR-DIP,Maximal BW: 20G, Current BW: 20G, The Maximum Frame Length is 9216
display ospf brief
Interface: X.X.X.X (Vlanif3004)
Cost: 100 State: DR Type: Broadcast MTU: 9216
Interface cost = Bandwidth reference value/Interface bandwidth
5 = 100 000 / 20 000
Why is ospf cost 100?