66
eth0
ip address default-gateway
A.B.C.D
This command configures the system default
gateway.
eth0
ip dhcp client
(disable|enable|renew|
next_restart)
This command configures a DHCP client function
for the system.
Disable
: Use a static IP address on the switch.
Enable & Renew
: Use DHCP client to get an IP
address from DHCP server.
next_restart
: The settings will take effect on next
system restart.
Example:
The procedures to configure an IP address for the Switch.
To enter the configure node.
L2SWITCH#configure terminal
L2SWITCH(config)#
To enter the ETH0 interface node.
L2SWITCH(config)#interface eth0
L2SWITCH(config-if)#
To get an IP address from a DHCP server.
L2SWITCH(config-if)#ip dhcp client enable
To configure a static IP address and a gateway for the Switch.
L2SWITCH(config-if)#ip address 192.168.202.111/24
L2SWITCH(config-if)#ip address default-gateway 192.168.202.1
Summary of Contents for NGI-S08C2POE8
Page 1: ......
Page 22: ...22...
Page 138: ...138 Action Click Delete to remove a configured trap receiver station...