Skip to main content

network interface service-policy show

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 cluster1
Vserver Policy Service: Allowed Addresses
--------- -------------------------- ----------------------------------------
cluster1
default-intercluster intercluster-core: 0.0.0.0/0
management-https: 0.0.0.0/0

default-management management-core: 0.0.0.0/0
management-autosupport: 0.0.0.0/0
management-ssh: 0.0.0.0/0
management-https: 0.0.0.0/0

default-route-announce management-bgp: 0.0.0.0/0

3 entries were displayed.