Next: , Up: Interface Commands   [Contents][Index]


4.2.1 Standard Commands

Command: interface ifname
Interface Command: shutdown
Interface Command: no shutdown

Up or down the current interface.

Interface Command: ip address address/prefix
Interface Command: ipv6 address address/prefix
Interface Command: no ip address address/prefix
Interface Command: no ipv6 address address/prefix

Set the IPv4 or IPv6 address/prefix for the interface.

Interface Command: ip address address/prefix secondary
Interface Command: no ip address address/prefix secondary

Set the secondary flag for this address. This causes ospfd to not treat the address as a distinct subnet.

Interface Command: description description ...

Set description for the interface.

Interface Command: multicast
Interface Command: no multicast

Enable or disables multicast flag for the interface.

Interface Command: bandwidth <1-10000000>
Interface Command: no bandwidth <1-10000000>

Set bandwidth value of the interface in kilobits/sec. This is for calculating OSPF cost. This command does not affect the actual device configuration.

Interface Command: link-detect
Interface Command: no link-detect

Enable/disable link-detect on platforms which support this. Currently only Linux and Solaris, and only where network interface drivers support reporting link-state via the IFF_RUNNING flag.