ip host-access

Use this command to apply access restrictions to host services.

Syntax

ip host-access {access-list-number | name}
no ip host-access {access-list-number | name}

Parameters

access-list-number | name Specifies the number or name of the access list. This is either a decimal number from 1 to 199 or a alpha-numeric text name of up to 64 characters.

Defaults

None.

Mode

Configuration command.

Usage

The “no” form of this command removes the specified access list.

Example

This example shows how to apply access list host1 to host services for this device:

System(rw-config)->ip host-access host1
System(rw-config)->