Page 361 / 757 Scroll up to view Page 356 - 360
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
357
enable address_binding dhcp_snoop
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable DHCP IPv4 snooping mode:
DGS-3627:admin# enable address_binding dhcp_snoop
Command: enable address_binding dhcp_snoop
Success.
DGS-3627:admin#
To enable DHCP IPv6 snooping mode:
DGS-3627:admin# enable address_binding dhcp_snoop ipv6
Command: enable address_binding dhcp_snoop ipv6
Success.
DGS-3627:admin#
disable address_binding dhcp_snoop
Purpose
Used to disable DHCP snooping mode.
Syntax
disable address_binding dhcp_snoop {[ipv6 | all]}
Description
When the DHCP snooping function is disabled, all of the auto-learned binding entries will be
removed.
Parameters
ipv6
- Disable IPv6 DHCP snooping.
all
- Disable IPv4 and IPv6 DHCP snooping.
If no parameter is specified, IPv4 snooping is disabled.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable DHCP IPv4 snooping mode:
DGS-3627:admin# disable address_binding dhcp_snoop
Command: disable address_binding dhcp_snoop
Success.
DGS-3627:admin#
To disable DHCP IPv6 snooping mode:
Page 362 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
358
DGS-3627:admin# disable address_binding dhcp_snoop ipv6
Command: disable address_binding dhcp_snoop ipv6
Success.
DGS-3627:admin#
clear address_binding dhcp_snoop binding_entry
Purpose
Used to clear the DHCP snooping entries learned for the specified ports.
Syntax
clear address_binding dhcp_snoop binding_entry ports [ <portlist>|all ] {[ipv6 | all]}
Description
To clear the DHCP Snooping entries learned for the specified ports.
Parameters
ports
- Specify the list of ports to clear the DHCP snooping learned entries.
ipv6
- Clear IPv6 DHCP snooping learned entries.
all
- Clear both IPv4 and IPv6 DHCP snooping learned entries.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To clear DHCP IPv4 snooping entries on ports 1-3:
DGS-3627:admin# clear address_binding dhcp_snoop binding_entry ports 1-3
Command: clear address_binding dhcp_snoop binding_entry ports 1-3
Success.
DGS-3627:admin#
To clear DHCP IPv6 snooping entries on ports 1-3:
DGS-3627:admin# clear address_binding dhcp_snoop binding_entry ports 1-3 ipv6
Command: clear address_binding dhcp_snoop binding_entry ports 1-3 ipv6
Success.
DGS-3627:admin#
show address_binding dhcp_snoop
Purpose
Used to display the DHCP snooping configuration and learning database.
Syntax
show address_binding dhcp_snoop {[max_entry { ports <portlist>} | binding_entry
{port <port>}]}
Description
This command is used to show all DHCP snooping configuration and learning databases.
Parameters
max_entry
- To show the maximum number of entries per port.
binding_entry
- To show DHCP snooping binding entries on ports. If no ports specified show
all binding entries.
If no parameters are specified, show DHCP snooping displays the enable/disable state.
Restrictions
None.
Example usage:
To show the DHCP snooping state:
Page 363 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
359
DGS-3627:admin# show address_binding dhcp_snoop
Command: show address_binding dhcp_snoop
DHCP Snoop(IPv4) : Enabled
DHCP Snoop(IPv6) : Enabled
DGS-3627:admin#
To display DHCP snooping maximun entry configuration:
DGS-3627:admin# show address_binding dhcp_snoop max_entry
Command: show address_binding dhcp_snoop max_entry
Port
Max Entry
-------
-------
1
10
2
10
3
10
4
No Limit
5
No Limit
6
No Limit
7
No Limit
8
No Limit
9
No Limit
10
No Limit
11
No Limit
12
No Limit
DGS-3627:admin#
To display the DHCP snooping binding entries:
DGS-3627:admin# show address_binding dhcp_snoop binding_entry
Command: show address_binding dhcp_snoop binding_entry
LT(Lease Time)
ST(Status) - A:Active I:Inactive
IP Address
MAC Address
LT(secs)
Port
ST
------------------------------------------- --------------------- ---------
------- --
10.62.58.35
00-0B-5D-05-34-0B
35964
1
A
10.33.53.82
00-20-c3-56-b2-ef
2590
2
I
2001:2222:1111:7777:5555:6666:7777:8888
00-00-00-00-00-02
50
5
I
2001::1
00-00-00-00-03-02
100
6
A
Total Entries: 4
DGS-3627:admin#
config address_binding dhcp_snoop max_entry
Purpose
Used to specify the maximum number of entries that can be learned by a specified port.
Syntax
config address_binding dhcp_snoop max_entry ports [<portlist> | all] limit [<value 1-
50> | no_limit]
Description
By default, the maximum number of port entries is unlimited.
This command specifies the maximum number of entries that can be learned by the specified
ports.
Parameters
portlist
- Specify the list of ports you would like to set the maximum number of entries that
Page 364 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
360
config address_binding dhcp_snoop max_entry
can be learned.
all
- indicates all ports on the Switch.
limit
- See below:
<value 1-50>
- Specify the maximum number.
no_limit
- Specifies that the maximum number of learned entries is unlimited.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To set the maximum number of DHCP IPv4 snooping entries that ports 1–3 can learned to 10:
DGS-3627:admin# config address_binding dhcp_snoop max_entry ports 1-3 limit 10.
Command: config address_binding dhcp_snoop max_entry ports 1-3 limit 10.
Success.
DGS-3627:admin#
enable address_binding trap_log
Purpose
Used to enable IMPB traps and logs.
Syntax
enable address_binding trap_log
Description
This command is used to send traps and logs when the IMPB module detects an illegal IP
and MAC address.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the IMPB traps and logs:
DGS-3627:admin# enable address_binding trap_log
Command: enable address_binding trap_log
Success.
DGS-3627:admin#
disable address_binding trap_log
Purpose
Used to disable the IMPB traps and logs.
Syntax
disable address_binding trap_log
Description
This command is used to disable IMPB traps and logs.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To disable IMPB traps and logs:
Page 365 / 757
xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
361
DGS-3627:admin# disable address_binding trap_log
Command: disable address_binding trap_log
Success.
DGS-3627:admin#
config address_binding recover_learning ports
Purpose
Used to recover IMPB checking.
Syntax
config address_binding recover_learning ports [ <portlist> | all]
Description
Use this command to recover the IMPB check function, which was previously stopped.
Parameters
ports
- See below:
<portlist>
- Specify the list of ports that need to recover the IMPB check.
all
- Indicates all the ports on the Switch.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To recover IMPB checking for ports 6 to 7:
DGS-3627:admin# config address_binding recover_learning ports 6-7
Command: config address_binding recover_learning ports 6-7
Success.
DGS-3627:admin#
enable address_binding nd_snoop
Purpose
Use to enable ND snooping on the switch.
Syntax
enable address_binding nd_snoop
Description
This command allows the user to enable ND snooping on the switch.
Parameters
None.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the ND snooping function on the switch:
DGS-3627:admin# enable address_binding nd_snoop
Command: enable address_binding nd_snoop
Success.
DGS-3627:admin#
disable address_binding nd_snoop
Purpose
Use to disable ND snooping on the switch.
Syntax
disable address_binding nd_snoop

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top