How does Cisco enter the port?
Your question is too vague. The switch port involves too many commands. I don't know what you want to configure, but I can only give you a general configuration method. Enter config to enter privileged mode, and then configure the ports as needed. Can you press the relevant command on the port? For example, the following command is to configure an HSRP on I optical port G0/0/ 1 for your reference. How to match it depends on the situation. Configure interface Gigabit Ethernet 0/0/ 1ip address10.18.98.238 255.255.0 ip access-group 180 output without IP redirection and IP proxy -arp ip pim dense mode without ip mroute-c ache standby/.