SROS Command Line Interface Reference Guide Loopback Interface Configuration Command Set

ip access-group <listname> [in out]

Use the ip access-groupcommand to create an access list to be used for packets transmitted on or received from the specified interface. Use the no form of this command to disable this type of control.

Syntax Description

listname

Assigned IP access list name.

in

Enables access control on packets received on the specified interface.

out

Enables access control on packets transmitted on the specified interface.

Default Values

By default, these commands are disabled.

Command Modes

(config-interface)#

Interface Configuration Mode required.

Functional Notes

When this command is enabled, the IP destination address of each packet must be validated before being passed through. If the packet is not acceptable per these settings, it is dropped.

Usage Examples

The following example sets up the router to allow only Telnet traffic into the loopback interface:

(config)#ip access-list extended TelnetOnly (config-ext-nacl)#permit tcp any any eq telnet (config-ext-nacl)#interface loopback 1 (config-loop 1)#ip access-group TelnetOnly in

5991-2114

© Copyright 2005 Hewlett-Packard Development Company, L.P.

857

Page 857
Image 857
HP 7000 dl Router manual Copyright 2005 Hewlett-Packard Development Company, L.P 857