Acl commands set – LevelOne MSL-3S79 User Manual

Page 86

Advertising
background image

80

show lldp remote

Privileged

EXEC

Show LLDP remote table.

switch# show lldp remote

lldp-port [disable

|rx|tx|both]

Interface

configuration

mode

Use those commands to set

lldp port tx and rx mode.

Disable

switch(config)# interface

gigaethernet 1

switch(config-if)# lldp-port

disable

or

switch(config-if)# lldp-port rx

50B

ACL Commands Set

Commands

Command

Level

Description

Defaults

Example

acl-port

[deny|permit]

or

no acl-port

Interface

configuration

mode

Use the acl-port interface

configuration command to

enable Access Control on a

port. The default action can be

Deny or Permit. Use the no

form of this command to return

the port to its default value

(disable).

Disable

switch(config)# interface

gigaethernet 1

switch(config-if)#

acl-port deny

or

switch(config-if)#

no acl-port

acl-rule [index] dst

[dstIp/prefix] src

[srcIp/prefix]

{deny|permit}

or

no acl-rule [index]

Interface

configuration

mode

Use those commands to add or

delete the acl rules of the port.

[index] range= 0~4

N/A

switch(config)# interface

gigaethernet 1

switch(config-if)#

acl-rule 0 dst 192.168.16.1/32

src 192.168.16.2/32 permit

or

switch(config-if)#

no acl-rule 0

show acl

[gigaethernet|port-

channel][port]

Privileged

EXEC

Show acl configuration of the

port.

N/A

switch# show acl gigaethernet

1

Advertising