I'm trying to enable span mirroring in cisco switch, but the switch doesn't seem to have the "monitor" option. Could someone tell me how to make this work?
Packet Tracer has some built-in functionality to allow you to view the packets on the wire and won't support the monitor commands.
However, if you weren't on tracer, the setup is straightforward. E.g.
monitor session 1 monitor session 1 source int gi1/0/2 both (-- specifies span tx and rx monitor sessions 1 destination int gi1/0/3