EasyManua.ls Logo

FoxGate S6124 - Ip Default-Gateway; Debug Ip Packet

Default Icon
391 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
170
Function: Set IP address and net mask of switch; the no ip address [<ip-address>
<mask>] [secondary]‖ command deletes the IP address configuration.
Parameter: <ip-address> is IP address, dotted decimal notation; <mask> is subnet mask,
dotted decimal notation; [secondary] indicates that the IP address is configured as
secondary IP address.
Command Mode: VLAN interface configuration mode
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
15.1.3 ip default-gateway
Command: ip default-gateway <ip-address>
no ip default-gateway <ip-address>
Function: Set the default-gateway address of switch; the no command will delete the
default-gateway address.
Parameter: <ip-address> is default-gateway IP address, dotted decimal notation.
Command Mode: Global configuration mode
Default: The system default is no IP address configuration.
Usage Guide: The IP address of default-gateway and the IP address of layer 3 interface
in the same segment to make sense for default-gateway.
Example: The IP address of layer 3 interface is 2.2.2.2, network mask is 255.255.255.0,
set the IP address of default-gateway is 2.2.2.1.
Switch(config)#ip default-gateway 2.2.2.1
15.1.4 debug ip packet
Command: debug ip packet
no debug ip packet
Function: Enable the IP packet debug function: the no debug ip packet command
disables this debug function.

Table of Contents

Related product manuals