Linksys DES-3028/DES-3028P/DES-3052/DES-3052P 用户手册
DES-3028 DES-3028P DES-3052 DES-3052P Layer 2 Fast Ethernet Switch CLI Reference Manual
18
B
ASIC
IP C
OMMANDS
The IP interface commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
following table.
Command Parameters
config ipif
[System] [{ipaddress <network_address> | vlan <vlan_name 32>
| state [enable | disable]} | bootp | dhcp]
| state [enable | disable]} | bootp | dhcp]
show ipif
enable autoconfig*
Each command is listed, in detail, in the following sections.
*See Switch Utility Commands for descriptions of all autoconfig commands.
config ipif
Purpose
Used to configure the System IP interface.
Syntax
config ipif [System] [{ipaddress <network_address> [vlan
<vlan_name 32> | state [enable | disable]} | bootp | dhcp]
<vlan_name 32> | state [enable | disable]} | bootp | dhcp]
Description
This command is used to configure the System IP interface on the
Switch.
Switch.
Parameters
System - Enter System.
ipaddress <network_address>
ipaddress <network_address>
− IP address and netmask of the IP
interface to be created. Users can specify the address and mask
information using the traditional format (for example,
10.1.2.3/255.0.0.0 or in CIDR format, 10.1.2.3/8).
<vlan_name 32>
information using the traditional format (for example,
10.1.2.3/255.0.0.0 or in CIDR format, 10.1.2.3/8).
<vlan_name 32>
− The name of the VLAN corresponding to the
System IP interface.
state [enable | disable]
state [enable | disable]
− Allows users to enable or disable the IP
interface.
bootp
bootp
− Allows the selection of the BOOTP protocol for the
assignment of an IP address to the Switch’s System IP interface.
dhcp
dhcp
− Allows the selection of the DHCP protocol for the assignment
of an IP address to the Switch’s System IP interface. If users are
using the autoconfig feature, the Switch becomes a DHCP client
automatically so it is not necessary to change the ipif settings.
using the autoconfig feature, the Switch becomes a DHCP client
automatically so it is not necessary to change the ipif settings.
Restrictions Only
administrator-level users can issue this command.
Example usage:
To configure the IP interface System:
DES-3028P:4#config ipif System ipaddress 10.48.74.122/8
Command: config ipif System ipaddress 10.48.74.122/8
Success.
DES-3028P:4#
Command: config ipif System ipaddress 10.48.74.122/8
Success.
DES-3028P:4#
118