set ip interface

Use this command to set IP non-routing interfaces and optionally set it as the default for this system.

Syntax

set ip interface interface-name [default]

Parameters

interface-name Sets the name of an IP interface.
default (Optional) Sets this IP interface as the default management interface.

Defaults

None.

Mode

All command modes.

Usage

This command is used to create a non-routing IP interface. Non-routing IP interfaces can also be created using set ip address. This command is the only command that allows you to set the IP interface as the default for this system.

Example

This example shows how to set VLAN 5 as the default management IP interface:

System(rw)->set ip interface vlan.0.5 default