Command Line Interface
4-162
4
Command Mode
Privileged Exec
Example
Related Commands
permit, deny 4-159
ip access-group (4-162)
ip access-group
This command binds a port to an IP ACL. Use the
no
form to remove the port.
Syntax
[
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.
Default Setting
None
Command Mode
Interface Configuration (Ethernet)
Command Usage
• 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 will replace 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
Related Commands
show ip access-list (4-161)
Console#show ip access-list standard
IP standard access-list david:
permit host 10.1.1.21
permit 168.92.0.0 255.255.255.0
Console#
Console(config)#int eth 1/25
Console(config-if)#ip access-group david in
Console(config-if)#
Содержание JetNet 5228G Series
Страница 3: ...www edge core com 2 24FE 4G Layer 2 4 Ethernet Switch Management Guide V1 1...
Страница 24: ...Tables xx...
Страница 310: ...Configuring the Switch 3 264 3...
Страница 636: ...Command Line Interface 4 326 4...
Страница 650: ...Glossary Glossary 8...
Страница 656: ...Index 6 Index...
Страница 657: ......
Страница 658: ......