QoS to deny custom TCP Service port
Posted: 17 Apr 2024 04:53
Hi,
Please help verify if the command below are correct as I need to disable a custom TCP port e,g, TCP/101 from any source to the switch itself,
policy service TCP_101 destination tcp-port 101
policy condition deny_TCP_10161 destination ip Any service TCP_101
policy action deny_TCP_101 disposition deny
policy rule deny_TCP_101 precedence 60 condition deny_TCP_10161 action deny_TCP_101
qos apply
Please help verify if the command below are correct as I need to disable a custom TCP port e,g, TCP/101 from any source to the switch itself,
policy service TCP_101 destination tcp-port 101
policy condition deny_TCP_10161 destination ip Any service TCP_101
policy action deny_TCP_101 disposition deny
policy rule deny_TCP_101 precedence 60 condition deny_TCP_10161 action deny_TCP_101
qos apply