# show ip dhcp snooping acl

モード
  非特権EXECモード
カテゴリー
  L2スイッチング / DHCP Snooping

## 構文

コマンド構文

`> show ip dhcp snooping acl [detail|hardware] [interface IFRANGE]`

## コマンド説明

DHCP Snoopingテーブル（バインディングデータベース）を使用しているACLの情報を表示する。

## パラメーター

`detail`
  詳細な情報を表示する
`hardware`
  DHCP Snooping ハードウェアACL情報を表示する
`interface IFRANGE`
  指定したポートのACLインターフェース情報を表示する。省略時はすべてのポートのACLインターフェース情報を表示する。

## 使用例

    awplus> show ip dhcp snooping acl

    DHCP Snooping Based Filters Summary:

                           Maximum   Template  Attached
    Interface    Bindings  Bindings  Filters   Hardware Filters
    -----------------------------------------------------------------
     port1.0.1   1         520       0         0
     port1.0.2   1         3         2         6
     port1.0.3   1         2         4         8
     port1.0.4   1         2         7         14
     port1.0.5   0         2         6         12
     port1.0.6   0         1         0         0
    ...

    awplus> show ip dhcp snooping acl hardware

    DHCP Snooping Based Filters in Hardware:

    Interface    Access-list(/ClassMap)        Source IP         Source MAC
    -----------------------------------------------------------------------------
     port1.0.2   dhcpsn1                       10.10.10.10       aaaa.bbbb.cccc
     port1.0.2   dhcpsn1                       20.20.20.20       0000.aaaa.bbbb
     port1.0.2   dhcpsn1                       0.0.0.0           0000.0000.0000
     port1.0.2   dhcpsn1                       0.0.0.0           0000.0000.0000
     port1.0.2   dhcpsn1                       0.0.0.0           0000.0000.0000
     port1.0.2   dhcpsn1                       0.0.0.0           0000.0000.0000
     port1.0.3   dhcpsn2/cmap1                 30.30.30.30       aaaa.bbbb.dddd
     port1.0.3   dhcpsn2/cmap1                 40.40.40.40       0000.aaaa.cccc
     port1.0.3   dhcpsn2/cmap1                 50.50.50.50       0000.aaaa.dddd
     port1.0.3   dhcpsn2/cmap1                 60.60.60.60       0000.aaaa.eeee
     port1.0.3   dhcpsn2/cmap1                 0.0.0.0           0000.0000.0000
     port1.0.3   dhcpsn2/cmap1                 0.0.0.0           0000.0000.0000
     port1.0.3   dhcpsn2/cmap1                 0.0.0.0           0000.0000.0000
     port1.0.3   dhcpsn2/cmap1                 0.0.0.0           0000.0000.0000
     port1.0.4   dhcpsn3/cmap2                 70.70.70.70
     port1.0.4   dhcpsn3/cmap2                 80.80.80.80
     port1.0.4   dhcpsn2/cmap1                 70.70.70.70
     port1.0.4   dhcpsn2/cmap1                 80.80.80.80
     port1.0.4   dhcpsn1                       70.70.70.70
     port1.0.4   dhcpsn1                       80.80.80.80

    awplus> show ip dhcp snooping acl detail interface port1.0.4

    DHCP Snooping Based Filters Information:

     port1.0.4 : Maximum Bindings ........... 2
     port1.0.4 : Template filters ........... 7
     port1.0.4 : Attached hardware filters .. 14
     port1.0.4 : Current bindings ........... 1, 1 free
     port1.0.4    Client 1 ................ 120.120.120.120
     port1.0.4 : Templates: cheese (via class-map: cmap2)
     port1.0.4 :  10 permit ip dhcpsnooping 100.0.0.0/8
     port1.0.4 : Template: dhcpsn2 (via class-map: cmap1)
     port1.0.4 :  10 permit ip dhcpsnooping any
     port1.0.4 :  20 permit ip dhcpsnooping 10.0.0.0/8
     port1.0.4 :  30 permit ip dhcpsnooping 20.0.0.0/8
     port1.0.4 :  40 permit ip dhcpsnooping 30.0.0.0/8
     port1.0.4 : Template: dhcpsn1 (via access-group)
     port1.0.4 :  10 permit ip dhcpsnooping any mac dhcpsnooping abcd.0000.0000 00
     00.ffff.ffff
     port1.0.4 : 20 permit ip dhcpsnooping any

## 関連コマンド