57
config ipif
Purpose
Used to configure the System IP interface.
Syntax
config ipif [ipaddress <network address> |
{gw <ipaddress>} | dhcp {vid <vid 1~4094>}]
Description
This command is used to configure the System
IP interface on the Switch.
Parameters
ipaddress <network address> -
IP address and
netmask of the IP interface to created. You can
specify the address and mask information using
traditional format
192.168.100.100/255.255.255.0 or in CIDR
format 192.168.100.100/24.
gw <network address> -
Designates the
gateway IP address.
dhcp -
Allows the selection of the DHCP protocol
for the assignment of an IP address to Switch’s
system IP address.
<vid 1~4094> -
Specific the 802.1Q VLAN ID to
the Switch. The range between 1 to 4094.
Example usage:
To configure the IP interface System:
Figure 53. config ipif command
show ipif
Purpose
Used to display the configuration of an IP
interface on the Switch.
Syntax show
ipif
Description
This command will display the configuration of an