SUNIX Co., Ltd.
TEL : +886-2-8913-1987
Email : [email protected]
dhcpserver gateway
[Gateway]
G
Configure gateway for DHCP clients. switch(config)#dhcpserver
gateway
192.168.1.254
dhcpserver dnsip
[DNS IP]
G
Configure DNS IP for DHCP clients. switch(config)# dhcpserver dnsip 192.168.1.1
dhcpserver leasetime
[Hours]
G
Configure lease time (in hour).
switch(config)#dhcpserver leasetime 1
dhcpserver ipbinding
[IP address]
I
Set static IP for DHCP clients by port.
switch(config)#interface fastEthernet 2
switch(config-if)#dhcpserver ipbinding
192.168.1.1
Show dhcpserver
configuration
P
Show configuration of DHCP server. switch#show dhcpserver configuration
show dhcpserver
clients
P
Show client entries of DHCP server. switch#show dhcpserver clinets
show dhcpserver
ip-binding
P
Show IP-Binding information of DHCP
server.
switch#show dhcpserver ip-binding
no dhcpserver
G
Disable DHCP server function.
switch(config)#no dhcpserver
security enable
G
Enable IP security function.
switch(config)#security enable
security http
G
Enable IP security of HTTP server.
switch(config)#security http
security telnet
G
Enable IP security of telnet server.
switch(config)#security telnet
security ip
[Index(1..10)]
[IP Address]
G
Set the IP security list.
switch(config)#security ip 1 192.168.1.55
show security
P
Show the information of IP security. switch#show security
no security
G
Disable IP security function.
switch(config)#no security
no security http
G
Disable IP security of HTTP server. switch(config)#no security http
no security telnet
G
Disable IP security of telnet server. switch(config)#no security telnet
5.3.2
P
ORT
C
OMMANDS
S
ET
Comman
ds
Description
Example
interface
fastEthernet
[Portid]
G
Choose the port for modification.
switch(config)#interface fastEthernet 2
duplex
[full | half]
I
Use the duplex
configuration
command to specify the duplex
mode of operation for Fast Ethernet.
switch(config)#interface fastEthernet 2
switch(config-if)#duplex full
speed
[10|100|1000|auto]
I
Use the speed configuration
command to specify the speed mode
of operation for Fast Ethernet., the
speed can’t be set to 1000 if the port
isn’t a giga port.
switch(config)#interface fastEthernet 2
switch(config-if)#speed 100
flowcontrol mode
[Symmetric|Asymmet
ric]
I
Use the flowcontrol configuration
command on Ethernet ports to
control traffic rates during
congestion.
switch(config)#interface fastEthernet 2
switch(config-if)#flowcontrol mode Asymmetric
no flowcontrol
I
Disable flow control of interface.
switch(config-if)#no flowcontrol
security enable
I
Enable security of interface.
switch(config)#interface fastEthernet 2
switch(config-if)#security enable
no security
I
Disable security of interface.
switch(config)#interface fastEthernet 2
switch(config-if)#no security
bandwidth in
[Value]
I
Set interface input bandwidth. Rate
Range is from 100 kbps to 102400
kbps or to 256000 kbps for giga
ports,
switch(config)#interface fastEthernet 2
switch(config-if)#bandwidth in 100