# Service Templates (/docs/netbox/v4.3/models/ipam/servicetemplate)



Service templates can be used to instantiate [services](/netbox/v4.3/models/ipam/service/) on [devices](/netbox/v4.3/models/dcim/device/) and [virtual machines](/netbox/v4.3/models/virtualization/virtualmachine/).

## Fields [#fields]

### Name [#name]

A service or protocol name.

### Protocol [#protocol]

The wire protocol on which the service runs. Choices include UDP, TCP, and SCTP.

### Ports [#ports]

One or more numeric ports to which the service is bound. Multiple ports can be expressed using commas and/or hyphens. For example, `80,8001-8003` specifies ports 80, 8001, 8002, and 8003.
