Chapter 3. Command Reference
conf t firewall service
Use configure terminal firewall service to configure the services that are used by the firewall rules.
| remove |
| deletes a service. |
| update |
| [port |
| creates a service or updates an existing service. |
|
|
| Using conf t firewall service |
configure a | Use configure terminal firewall service to create a service for an arbitrary IP protocol. In this |
service for an | example, a service called 'ospf' is created for IP protocol 89: |
IP protocol |
|
| hostname# conf t firewall service update ospf 89 |
create a | Use configure terminal firewall service update to create a service that will be used by a firewall rule. |
service | In this example, a service called 'Telnet' is created for TCP port 23: |
| hostname# conf t firewall service update Telnet tcp port 23 |
|
|
| conf t firewall |
| The configure terminal firewall |
| |
| adds a service to an existing service group. |
| remove |
| deletes a service group. |
| |
| deletes a service from a service group. |
| update |
| creates or updates a service group. You can enter multiple service names. |
|
|
| Using conf t firewall |
create/update | Use configure terminal firewall |
a service | example, a service group called ‘group1’ is created, and includes Telnet and rlogin: |
group |
|
| hostname# conf t firewall |
48 X Family CLI Reference V 2.5.1