Planet Networking & Communication SGS-6340-24T4S Command Manual page 404

Layer 3 multi-port full gigabit stackable managed switch
Table of Contents

Advertisement

Default:
The system default is no IP address configuration.
Usage Guide:
This command configures IP address on VLAN interface manually. If optional parameter secondary is not
configured, then it is configured as the primary IP address of VLAN interface; if optional parameter secondary is
configured, then that means the IP address is the secondary IP address of VLAN. One VLAN interface can only have
one primary IP address and more than one secondary IP addresses. Primary IP and Secondary IP all can be used
on SNMP/Web/Telnet management. Furthermore, the switch also provides BOOTP/DHCP manner to get IP address.
Example:
The IP address of switch VLAN1 interface is set to 192.168.1.10/24.
Switch(Config-if-Vlan1)#ip address 192.168.1.10 255.255.255.0
23.2.9 ip default-gateway
Command:
ip default-gateway <A.B.C.D>
no ip default-gateway <A.B.C.D>
Function:
Configure the default gateway of the router. The no command cancels the configuration.
Parameter:
<A.B.C.D> is gateway address, for example 10.1.1.10.
Command mode:
Global mode.
Default:
There is no default gateway.
Usage Guide:
Configure the default gateway of the router to specify the default next hop address to which the packets will be sent.
23-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents