Join Airheads
本投稿では、CXシリーズスイッチでのDHCPスヌーピングの設定方法と動作確認についてまとめています。
【確認構成】
【DHCPスヌーピングの設定】
! dhcpv4-snooping no dhcpv4-snooping option 82 dhcpv4-snooping allow-overwrite-binding !
! vlan 24 dhcpv4-snooping !
! interface 1/1/24 dhcpv4-snooping trust !
【動作確認】
6200# show dhcpv4-snooping binding MacAddress IP VLAN Interface Time-Left ----------------- --------------- ---- --------- ------------------- 84:af:ec:73:d9:c9 172.17.24.1 24 1/1/1 86209 6200# 6200# show dhcpv4-snooping statistics Packet-Type Action Reason Count ----------- ------- ----------------------------- --------- server forward from trusted port 2 client forward to trusted port 2 server drop received on untrusted port 0 server drop unauthorized server 0 client drop destination on untrusted port 0 client drop untrusted option 82 field 0 client drop bad DHCP release request 0 client drop failed verify MAC check 0 client drop failed on max-binding limit 0 6200# 6200# show dhcpv4-snooping DHCPv4-Snooping Information DHCPv4-Snooping : Yes Verify MAC Address : Yes Allow Overwrite Binding : Yes Enabled VLANs : 24 IP Binding Disabled VLANs : Static Attributes : No Client Event Logs : No Trust VxLAN Tunnels : Yes Option 82 Configurations Untrusted Policy : drop Insertion : No Option 82 Remote-id : mac External Storage Information Volume Name : -- File Name : -- Inactive Since : -- Error : -- Flash Storage Information File Write Delay : -- Active Storage : -- Authorized Server Configurations VRF Authorized Servers ------------ ------------------ Port Information Max Static Dynamic Port Trust Bindings Bindings Bindings -------- ----- -------- -------- -------- 1/1/1 No 1024 0 1 1/1/24 Yes 0 0 0 6200#
#Blog
#Wired
-------------------------------------------