SROS Command Line Interface Reference Guide

Ethernet 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 only allow Telnet traffic into the Ethernet interface:

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

5991-2114

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

450

Page 450
Image 450
HP 7000 dl Router manual Ip access-group listname in out