KTI Networks KS-2601 User Manual

Page 22

Advertising
background image

18


This command is used to configure the mirror operation for ingress traffic.
Its syntax is . . .

>set mirror ingress
[Argument List]
div............ Set mirror ingress/egress [div=%d]
mode........... Set mirror ingress/egress [mode=ALL/SA/DA]
mac............ Set mirror ingress/egress [mac=xx-xx-xx-xx-xx-xx]
monitor........ Set mirror ingress/egress [monitor=xx,xx,xx]


set mirror ingress div x : every x packets, capture one for mirror. For
example, “set mirror ingress div 10” will capture one packet from every ten
packets from ingress traffic.
set mirror ingress mode xx : mirror all packets or mirror packets with
some DA or SA only. For example, “set mirror ingress mode all” will mirror
all packets.
set mirror ingress mac xx-xx-xx-xx-xx-xx : if the mirror mode is for the
packets with some DA/SA, users can assign the DA/SA here.
set mirror ingress monitor xx,xx,xx : set the monitored ports here. For
example, “set mirror ingress monitor 1,2,5” will mirror the ingress traffic
from Port 1,2,5. (Notes: If the monitored traffic exceeds the maximum
bandwidth of capture port, flow control function will work on these
monitored ports.)

2.14.5 set mirror egress command

This command is used to configure the mirror operation for egress traffic.
Its syntax is similar to the mirror operation for ingress traffic. Please refer
to “set mirror ingress command” section.

2.14.6 set mirror port command

This command is used to set the capture port for mirror operation. For
example, “set mirror port 3” will capture the mirror traffic to Port 3.

2.15 set net command

This command is used to configure IP settings of the switch.

Its syntax is . . .

>set net
[Argument List]
dhcp........... Set DHCP client
ip............. Set IP Address
netmask........ Set netmask
gateway........ Set gateway IP address


This switch supports static IP setting or dynamic DHCP IP assignment. If
DHCP function is enable, this switch will try to get IP configuration from
DHCP server. If DHCP server is not found, the switch will use its default IP
configuration. You can check the IP configuration got from DHCP server by
“show net” command.
For static IP setting, you can set the IP configuration of the switch with ip,
netmask and gateway commands. For example, “set net ip 192.168.1.250

Advertising