network interface service-policy show

Contributors

Display existing service policies

Availability: This command is available to cluster and Vserver administrators at the admin privilege level.

Description

The network interface service-policy show command displays existing service policies.

Parameters

{ [-fields <fieldname>,…​]

If you specify the -fields <fieldname>,…​ parameter, the command displays only the fields that you specify.

| [-instance ] }

If you specify the -instance parameter, the command displays detailed information about all fields.

[-vserver <vserver name>] - Vserver

Selects service policies that match the specified vserver name.

[-policy <text>] - Policy Name

Selects service policies that match the specified service policy name.

[-services <LIF Service Name>,…​] - Included Services

Selects service policies that contain all services in the specified list of service names.

[-service-allowed-addresses <text>,…​] - Service: Allowed Addresses

Selects service policies that contain all "<service>:<allowed-addresses>" in the specified list of addresses.

Examples

The following example displays the built-in service policies.

cluster1::> network interface service-policy show
Vserver   Policy                 Service: Allowed Addresses
--------- ---------------------- ------------------------------------------
cluster1
          net-route-announce     management-bgp: 0.0.0.0/0
net-intercluster       intercluster-core: 0.0.0.0/0

2 entries were displayed.