日本語フォーラム

 View Only

[CX-Switch]DCHPスヌーピングの設定

This thread has been viewed 4 times
  • 1.  [CX-Switch]DCHPスヌーピングの設定

    Posted Aug 20, 2025 05:29 PM
    Edited by kshimono Aug 21, 2025 04:14 AM

    本投稿では、CXシリーズスイッチでのDHCPスヌーピングの設定方法と動作確認についてまとめています。

    【確認構成】


    DHCPスヌーピングの設定

    1. CXスイッチで、DHCPスヌーピングを有効にします。
      !
      dhcpv4-snooping
      no dhcpv4-snooping option 82
      dhcpv4-snooping allow-overwrite-binding
      !
    2. 対象のVLANに対して、DHCPスヌーピングを有効化します。
      !
      vlan 24
          dhcpv4-snooping
      !
    3. DHCPサーバが接続されているポートを、trusted ポートとして設定します。
      !
      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



    -------------------------------------------