netservice [tcp | udp | port]
Syntax
[no] netservice <NAME-STR> [tcp | udp | <PROTOCOL>]
port <PORT-LIST>
Description
Configures net-service.
Parameters
- protocol
IP protocol number.
Range: 0-255
- TCP
Configure an alias for a TCP protocol.
- UDP
Configure an alias for a UDP protocol.
- port
Specify a single port or a list of noncontiguous port numbers, by entering up to six port numbers, separated by commas or range of ports.
Range: 0-65535
Example net-service tcp-service tcp 100 for ACL
net-destination src-ip host 10.120.0.1 host 10.91.1.1 host 10.0.100.12 net-destination destn-ip host 16.90.51.12 host 10.93.24.1 net-service tcp-service tcp 100 ip access-list extended “acl1” permit alias src-ip alias destn-ip alias tcp-service