Chapter 77 IP Source Guard
OLT2406 User’s Guide
552
77.2 IP Source Guard Binding Commands
Use these commands to manage the bindings table for IP source guard.
77.3 IP Source Guard Binding Command Examples
This example shows the current binding table.
The following table describes the labels in this display.
77.4 DHCP Snooping & DHCP VLAN Commands
Use the dhcp snooping commands to configure the DHCP snooping on the OLT and the dhcp vlan
commands to specify a DHCP VLAN on your network. DHCP snooping filters unauthorized DHCP packets
on the network and builds the binding table dynamically.
Table 281 IP Source Guard Binding Commands
COMMAND DESCRIPTION M P
show ip source binding [<mac-addr>]
[...]
Displays the bindings configured on the OLT,
optionally based on the specified parameters.
E3
show ip source binding help
Provides more information about the specified
command.
E3
ip source binding <mac-addr> vlan
<vlan-id> <ip> [interface port-
channel <interface-id>]
Creates a static binding for ARP inspection. C 13
no ip source binding <mac-addr>
vlan <vlan-id>
Removes the specified static binding. C 13
OLT2406# show ip source binding
MacAddress IpAddress Lease Type VLAN Port
----------------- --------------- ------------ ------------- ---- ---
Total number of bindings: 0
Table 282 show ip source binding
LABEL DESCRIPTION
MacAddress This field displays the source MAC address in the binding.
IpAddress This field displays the IP address assigned to the MAC address in the binding.
Lease This field displays how many days, hours, minutes, and seconds the binding is valid; for
example, 2d3h4m5s means the binding is still valid for 2 days, 3 hours, 4 minutes, and 5
seconds. This field displays infinity if the binding is always valid (For example, a static binding).
Type This field displays how the switch learned the binding.
static: This binding was learned from information provided manually by an administrator.
VLAN This field displays the source VLAN ID in the binding.
Port This field displays the port number in the binding. If this field is blank, the binding applies to all
ports.