Configuration Guide     40
Managing System System Info Configurations
2.2.5  Configuring the System IP
Follow these steps to configure the System IP parameters.
Step 1 configure
Enter global configuration mode.
Step 2 ip management-vlan { 
vlan-id
}
Configure the management VLAN of the switch. Only the computers in the management 
VLAN can access the management interface of the switch.
Step 3 interface vlan { 
vlan-id
}
Enter the Interface VLAN Mode.
vlan-id:  
The management VLAN ID.
Step 4 Automatically assign an IP Address and default gateway for the management interface via 
DHCP or BOOTP:
ip address-alloc { dhcp | bootp }
Specify the IP Address assignment mode of the management interface.
dhcp: Specify the management interface to obtain an IPv4 address from the DHCP Server. 
bootp:  Specify the management interface to obtain an IPv4 address from the BOOTP 
Server.  
Manually assign an IP Address and default gateway for the management interface:
ip address { 
ip-addr
 } { 
mask
 } gateway { 
default-gateway 
}
Configure the IP address and default gateway for the management interface manually.
ip-addr
: Specify thse IP address of the management interface.
mask
: Specify the subnet mask of the management interface.
default gateway
:  Specify the default gateway of the management interface if you select 
the IP Address Mode as Static. The default gateway is the IP address to which the packet 
should be sent next.
Step 5 show interface vlan { 
vlan-id 
}
vlan-id:  
The management VLAN ID.
Verify the summary information of the management interface.
Step 6 end
Return to privileged EXEC mode.
Step 7 copy running-config startup-config
Save the settings in the configuration file.
The following example shows how to configure the switch’s IP address as 192.168.0.10/24 
and configure the default gateway as 192.168.0.100. 
Switch#configure
Switch(config)#interface vlan 1
Switch(config-if)#ip address 192.168.0.10 255.255.255.0 gateway 192.168.0.100