3Com 2928 User Guide - Page 29
ipsetup, Description, Examples, Syntax, Parameters
UPC - 662705557113
View all 3Com 2928 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 29 highlights
Description Use the initialize command to delete the configuration file to be used at the next startup and reboot the device with the default configuration being used during reboot. Use the command with caution because this command deletes the configuration file to be used at the next startup and restores the factory default settings. Examples # Delete the configuration file to be used at the next startup and reboot the device with the default configuration being used during reboot. initialize The startup configuration file will be deleted and the system will be rebooted.Continue? [Y/N]:y Please wait... ipsetup Syntax ipsetup { dhcp | ip address ip-address { mask | mask-length } [ default-gateway ip-address ] } Parameters dhcp: Specifies the interface to obtain an IP address through DHCP. ip-address ip-address: Specifies an IP address for VLAN-interface 1 in dotted decimal notation. mask: Subnet mask in dotted decimal notation. mask-length: Subnet mask length, the number of consecutive ones in the mask, in the range of 0 to 32. default-gateway ip-address: Specifies the IP address of the default gateway or the IP address of the outbound interface. With this argument and keyword combination configured, the command not only assigns an IP address to the interface, but also specifies a default route for the device. Description Use the ipsetup dhcp command to specify VLAN-interface 1 to obtain an IP address through DHCP. Use the ipsetup ip address ip-address { mask | mask-length } command to assign an IP address to VLAN-interface 1. By default, the device automatically obtains its IP address through DHCP; if fails, it uses the assigned default IP address. See Figure 2-2 for details. If there is no VLAN-interface 1, either command creates VLAN-interface 1 first, and then specifies its IP address. Examples # Create VLAN-interface 1 and specify the interface to obtain an IP address through DHCP. ipsetup dhcp # Create VLAN-interface 1 and assign 192.168.1.2 to the interface, and specify 192.168.1.1 as the default gateway. ipsetup ip-address 192.168.1.2 24 default-gateway 192.168.1.1 3-7