Sun Ethernet Fabric Operating System OSPFv3 Administration Guide

Exit Print View

Updated: July 2015
 
 

Configure the Interface Cost

You can configure the interface cost explicitly to specify the cost of sending a packet on an interface. Values are 1-65535.

This example configures the interface cost to be 20.

  1. Configure the interface cost through the CLI.
    SEFOS(config)# interface vlan 10
    SEFOS(config-if)# ipv6 ospf metric 20
    SEFOS(config-if)# end
    
  2. Ensure that the correct interface cost is set.
    SEFOS# show ipv6 ospf interface vlan 10
     
            Ospfv3  Interface  Information
     
    Interface Name: vlan10      Interface Id: 41    Area Id: 0.0.0.6
    Local Address: fe80::214:4fff:fe6c:628f         Router Id: 10.0.0.1
    Network Type: BROADCAST     Cost: 20            State: BACKUP
    Designated Router Id: 10.0.0.8      local address: fe80::214:4fff:fe6c:d04d
    Backup Designated Router Id: 10.0.0.1      local address: fe80::214:4fff:fe6c:628f
    Transmit Delay: 1 sec        Priority: 1         IfOptions: 0x0
    Timer intervals configured:
    Hello: 10, Dead: 40, Retransmit: 5, Poll: 120
    Demand Circuit: Enable             Neighbor Probing: Enable
    Nbr Probe Retrans Limit: 10        Nbr Probe Interval: 120
    Hello due in 4 sec
    Neighbor Count is: 1
    Adjacent with neighbor 10.0.0.8