If you're moving from networking to cybersecurity, start by getting cybersecurity certifications like CompTIA Security+ or CISSP. Learn about threat analysis and security tools. Get hands-on experience through projects or internships. Your networking background can be a bonus, as it connects well with cybersecurity.
If you are interested in getting into this field, then check out this video about Janardhan and how he transitioned his career as Cyber Security Engineer just after completing Advanced Certification in Cyber Security from Intellipaat.