Next: , Previous: Invoking zebra, Up: Zebra



4.2 Interface 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: ip6 address address/prefix
— Interface Command: no ip address address/prefix
— Interface Command: no ip6 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 with certain drivers - those which properly support the IFF_RUNNING flag.