Syntax, Default configuration, Command mode – Dell POWEREDGE M1000E User Manual

Page 918: User guidelines, Example

Advertising
background image

918

IP Routing Commands

Syntax

ip address

ip-address

{

subnet-mask

|

prefix-length

} [ secondary ]

no ip address

ip-address

{

subnet-mask

|

prefix-length

} [ secondary ]

ip-address

— IP address of the interface.

subnet-mask

— Subnet mask of the interface

prefix-length

— Length of the prefix. Must be preceded by a forward slash

(/). (Range: 1-30 bits)

secondary — Indicates the IP address is a secondary address.

Default Configuration

This command has no default configuration.

Command Mode

Interface Configuration (VLAN, Loopback) mode

User Guidelines

This command also implicitly enables the VLAN or loopback interface for

routing (i.e. as if the user had issued the ‘routing’ interface command). By

default, configuring an IP address on a VLAN enables in-band management

for interfaces configured with that VLAN. Setting up an IP address on VLAN

1 enables switch management on all in-band interfaces except for those where

VLAN 1 is specifically excluded.

Example

The following example defines the IP address and subnet mask for VLAN 15

and enables the VLAN for routing.

console(config)#interface vlan 15

console(config-if-vlan15)#ip address 192.168.10.10

255.255.255.0

2CSPC4.XModular-SWUM200.book Page 918 Thursday, March 10, 2011 11:18 AM

Advertising