User`s manual
User’s Manual 209
Command Mode
Global Configuration
Example
The following example shows how to set the interface configuration mode to VLAN 1, and then assign an IP
address to the VLAN:
Console(config)#interface vlan 1
Console(config-if)#ip address 192.168.1.254 255.255.255.0
Console(config-if)#
Related Commands
shutdown
16.48 ip access-group
This command binds a port to an IP ACL. Use the no form to remove the port.
Syntax Description
[no] ip access-group acl_name {in | out}
acl_name Name of the ACL. (Maximum length: 16 characters)
in Indicates that this list applies to ingress packets.
out Indicates that this list applies to egress packets.
Default
None
Command Mode
Interface Configuration (Ethernet)
Usage Guidelines
A port can only be bound to one ACL.
If a port is already bound to an ACL and you bind it to a different ACL, the switch replaces the old binding
with the new one.
You must configure a mask for an ACL rule before you can bind it to a port.
Example
The following examples shows binding interface Ethernet 1/25 to IP access group david.
Console(config)#int eth 1/25
Console(config-if)#ip access-group david in