XS26GS Managed Optical Ethernet Switch User Manual
66
Examples
XS#
management mode vlan
2
Management mode is vlan.
Management vlan is 2
ipconfig
Syntax
ipconfig { auto | ip
ip-address
[ netmask
netmask
] [
gateway
gateway
] }
no ipconfig
View
System view.
Parameters
auto
: configures IP address automatically (DHCP-client)
ip
: configures IP address manually
Description
Use
ipconfig auto
command to configure IP address automatically.
Use
ipconfig ip
command to configure IP address manually.
Use
no ipconfig
to restore the default IP configuration.
The default IP configuration is in the static mode, the IP address is 192.168.0.253,
the netmask is 255.255.255.0, and the gateway is 192.168.0.201.
Examples
XS#
ipconfig auto
Do you want to configure IP automatically (DHCP-client) ? (y/n):y
XS#
show ipconfig
Operation Mode: Auto (DHCP-Client)
IP address: 192.168.0.11
IP netmask: 255.255.255.0
IP gateway: 192.168.0.201
ping
Syntax
ping
ip-address
View
System view.
Parameters
ip
-
address
: specifies the destination IP address to send ICMP ECHO-REQUEST
packet.
Description
Use
ping
command to check the reachability of a host.
The executing procedure of
ping
command is: First, the source host sends an ICMP