Current location - Quotes Website - Collection of slogans - Who has used the router of H3C MS-R series? What is the command to disable the port? Some ports in the company need to be disabled. Please kneel for the command to disable the port.
Who has used the router of H3C MS-R series? What is the command to disable the port? Some ports in the company need to be disabled. Please kneel for the command to disable the port.
Your description is not very clear, I'm just saying. Let's make the following assumptions: you want to prohibit the intranet from accessing the external network with the port number of 6000, and the internal network segment is:192.168.1.0. The relevant configuration is as follows:

& lt router & gtSys (enter system mode)

System view: use Ctrl+Z to return to the user view.

[Router ]acl number 3600 (create access list and match data)

[router-ACL-adv-3600] Rule 10 denies tcp source192.168.1.00.0.255 Destination 0.0.0.0 255.255.255252525255

[router-ACL-adv-3600] Rule 20 denies UDP source192.168.10.0.255 destination 0.0 255 destination-port EQ 6005.

Interface Ethernet0/0 (access to external network port)

[Router-Ethernet 0/0] Firewall packet filtering 3600 outbound (filtering outbound data)

[Router] save