System information
Publication date: Feb., 2012
Revision A1
- 76 -
CLIReferenceGuide
Copyright @ 2012 by Amer Networks
Chapter 22 IP‐Source‐GuardCommandsofCLI
IP‐Source
‐Guard
ThesectiondescribestoconfiguretheIPSourceGuarddetailparameters
of the switch. You could use the IP Source Guard configure to enable or
disablewiththePortoftheswitch.
Table 21: IP-Source-Guard Commands
Command
Function
add
Add or modify IP source guard static entry
delete
Delete IP source guard static entry
limit
IP source guard port limitation for dynamic entries
mode
Configure IP source guard mode
port-mode
Configure IP source guard port mode
show
Show IP source guard information
translate
T
ranslate IP source guard dynamic entries into static
entries
add: ThecommandletsyouaddormodifyIPsourceguar d
staticentry.
Syntax:
add <port-list> <1-4094> <ip-address> <ip-mask>
Parameter :
<port-list> available value is from switch physic port density, format:
1,3-5
<1-4094>: VLAN ID, available value is from 1 to 4094
<ip-address>: IP address allowed for doing IP source guard
<ip-mask>: IP mask for allowed IP address
EXAMPLE:
delete: ThecommandletsyoudeleteIPsourceguardstatic
entry
Switch(ip-source-guard)# add 1 1 192.168.1.1 255.255.0.0
Switch(ip-source-guard)# show binding-table
Type Port VLAN IP Address MAC Address
------- ---- ---- --------------- -----------------
Static 1 1 192.168.1.1 5a-80-70-64-60-80