19
up/down status.
Interface command example
Switch(config)# interface 1-3
Enter port 1 to port 3‟s interface mode.
Switch(config-if)# auto-negotiation
Set the selected interfaces‟ to auto-
negotiation.
Switch(config-if)# duplex full
Set the selected interfaces‟ to full duplex
mode.
Switch(config-if)# flowcontrol
Enable the selected interfaces‟ flow control
function.
Switch(config-if)# speed 100
Set the selected ports‟ speed to 100Mbps.
Switch(config-if)# shutdown
Administratively disable the selected ports‟
status.
2.5.5 IP command
1. Set up or remove the IP address of the Smart Switch.
IP command
Parameter
Description
Switch(config)#
ip address
[A.B.C.D]
[255.X.X.X]
[A.B.C.D]
[A.B.C.D]
Enter the desired IP address for your Smart Switch.
[255.X.X.X]
Enter subnet mask of your IP address.
[A.B.C.D]
Enter the default gateway address.
No command
Switch(config)# no ip address
Remove the Smart Switch‟s IP address.
Show command
Switch(config)# show ip address
Show the current IP configurations or verify the
configured IP settings.
IP command example
Switch(config)# ip address
192.168.1.198 255.255.255.0
192.168.1.254
Set up the Smart Switch‟s IP to 192.168.1.198,
subnet mask to 255.255.255.0, and default gateway
to 192.168.1.254.
2. Enable the Smart Switch to automatically get IP address from the DHCP server.
Command / Example
Description
Switch(config)# ip address dhcp
Enable DHCP mode.
No command
Switch(config)# no ip address dhcp
Disable DHCP mode.
Show command
Содержание HET-2106 SERIES
Страница 79: ...79 Restart DHCP service...