Skip Navigation Links
Exit Print View
| Sun Ethernet Fabric Operating System ### DHCP Administration Guide

Search Scope:

- This Document
- Entire Library

## Configure an Interface to Use a Manual IP Address

You can configure a switch to stop running DHCP and to use a manual IP allocation method for an interface.

1. Create a VLAN for port 41 to receive an IP address.

       SEFOS# configure terminal
       SEFOS(config)# vlan 41
       SEFOS(config-if)# port ex 0/41
       SEFOS(config-if)# exit

2. Assign a manual IP.
   1. Specify the VLAN that should receive the IP.

          SEFOS(config-if)# interface vlan 41

   2. Activate the interface if it is not already active.

          SEFOS(config-if)# no shutdown

   3. Remove the IP from DHCP if the port is already under DHCP control.

          SEFOS(config-if)# no ip address

   4. Assign an IP address and the netmask.

          SEFOS(config-if)# ip address 12.0.0.1 255.255.255.0
          SEFOS(config-if)# end

   5. Display the newly assigned IP.

          SEFOS# show ip interface vlan 41

          vlan41 is up, line protocol is up
          Internet Address is 10.0.0.1/8
          Broadcast Address  10.255.255.255

          vlan41 is up, line protocol is down
          Internet Address is 12.0.0.1/24
          Broadcast Address  12.0.0.255

Copyright © 2010, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |