109
4.11.4
CLI Commands of the Security
Command Lines of the Security configuration
Feature
Command Line
Port Security
Add MAC access list
Switch(config)# mac access-list extended
NAME access-list name
Switch(config)# mac access-list extended server1
Switch(config-ext-macl)#
permit Specify packets to forward
deny Specify packets to reject
end End current mode and change to enable mode
exit Exit current mode and down to previous mode
list Print command list
no Negate a command or set its defaults
quit Exit current mode and down to previous mode
Add IP Standard
access list
Switch(config)# ip access-list
extended Extended access-list
standard Standard access-list
Switch(config)# ip access-list standard
<1-99> Standard IP access-list number
<1300-1999> Standard IP access-list number (expanded
range)
WORD Access-list name
Switch(config)# ip access-list standard 1
Switch(config-std-acl)#
deny Specify packets to reject
permit Specify packets to forward
end End current mode and change to enable mode
exit Exit current mode and down to previous mode
list Print command list
no Negate a command or set its defaults
quit Exit current mode and down to previous mode
remark Access list entry comment
Add IP Extended
access list
Switch(config)# ip access-list extended
<100-199> Extended IP access-list number
<2000-2699> Extended IP access-list number (expanded
range)
WORD access-list name
Switch(config)# ip access-list extended 100
Switch(config-ext-acl)#
deny Specify packets to reject
permit Specify packets to forward
end End current mode and down to previous mode
exit Exit current mode and down to previous mode
list Print command list
no Negate a command or set its defaults
quit Exit current mode and down to previous mode
remark Access list entry comment
Example 1: Edit MAC
access list
Switch(config-ext-macl)#permit
MACADDR Source MAC address xxxx.xxxx.xxxx
any any source MAC address
host A single source host
Switch(config-ext-macl)#permit host
MACADDR Source MAC address xxxx.xxxx.xxxx
Summary of Contents for JetNet 6910G-M12 Series
Page 5: ...1 5 4 About Korenix 141...