Dell Command Line Reference Guide for the S4048T ON System ... · Dell Command Line Reference Guide...

1854
Dell Command Line Reference Guide for the S4048T–ON System 9.11(2.0P1)

Transcript of Dell Command Line Reference Guide for the S4048T ON System ... · Dell Command Line Reference Guide...

  • Dell Command Line Reference Guide for the S4048T–ON System9.11(2.0P1)

  • Notes, cautions, and warnings

    NOTE: A NOTE indicates important information that helps you make better use of your product.

    CAUTION: A CAUTION indicates either potential damage to hardware or loss of data and tells you how to avoid the problem.

    WARNING: A WARNING indicates a potential for property damage, personal injury, or death.

    Copyright © 2017 Dell Inc. or its subsidiaries. All rights reserved. Dell, EMC, and other trademarks are trademarks of Dell Inc. or its subsidiaries. Other trademarks may be trademarks of their respective owners.

    2017 - 05

    Rev. A00

  • Contents

    1 About this Guide...........................................................................................................................................43Objectives......................................................................................................................................................................... 43Audience............................................................................................................................................................................43Conventions......................................................................................................................................................................43Information Icons............................................................................................................................................................. 44

    2 CLI Basics....................................................................................................................................................45Accessing the Command Line........................................................................................................................................45Multiple Configuration Users.......................................................................................................................................... 45Obtaining Help..................................................................................................................................................................46Navigating the CLI........................................................................................................................................................... 47Using the Keyword no Command.................................................................................................................................. 48Filtering show Commands.............................................................................................................................................. 48Enabling Software Features on Devices Using a Command Option..........................................................................49

    feature vrf...................................................................................................................................................................49show feature...............................................................................................................................................................50

    Command Modes............................................................................................................................................................. 51

    3 File Management..........................................................................................................................................61boot system.......................................................................................................................................................................61cd....................................................................................................................................................................................... 63HTTP Copy via CLI.......................................................................................................................................................... 63copy................................................................................................................................................................................... 64delete................................................................................................................................................................................. 67dir....................................................................................................................................................................................... 68format................................................................................................................................................................................69fsck flash........................................................................................................................................................................... 70mkdir...................................................................................................................................................................................71mount nfs...........................................................................................................................................................................71rmdir...................................................................................................................................................................................72HTTP Copy via CLI.......................................................................................................................................................... 72rename...............................................................................................................................................................................73restore factory-defaults...................................................................................................................................................74show boot system............................................................................................................................................................76show bootvar.................................................................................................................................................................... 77show file-systems............................................................................................................................................................ 78show os-version............................................................................................................................................................... 79show running-config........................................................................................................................................................80show startup-config........................................................................................................................................................ 84show version.....................................................................................................................................................................85upgrade............................................................................................................................................................................. 86upgrade system................................................................................................................................................................88

    Contents 3

  • 4 Control and Monitoring................................................................................................................................90asf-mode...........................................................................................................................................................................90banner exec.......................................................................................................................................................................91banner login...................................................................................................................................................................... 92banner motd..................................................................................................................................................................... 94cam-acl..............................................................................................................................................................................95cam-acl-vlan.....................................................................................................................................................................96clear line.............................................................................................................................................................................97configure........................................................................................................................................................................... 98disable................................................................................................................................................................................99do..................................................................................................................................................................................... 100enable............................................................................................................................................................................... 101enable optic-info-update interval..................................................................................................................................102enable xfp-power-updates............................................................................................................................................ 102end....................................................................................................................................................................................103exec-timeout...................................................................................................................................................................104exit....................................................................................................................................................................................105ftp-server enable............................................................................................................................................................106ftp-server topdir............................................................................................................................................................. 107ftp-server username...................................................................................................................................................... 108hostname.........................................................................................................................................................................109ip http source-interface..................................................................................................................................................110ip http vrf.......................................................................................................................................................................... 111ip ftp password................................................................................................................................................................ 112ip ftp source-interface.................................................................................................................................................... 113ip ftp username................................................................................................................................................................114ip ftp vrf........................................................................................................................................................................... 115ip telnet server enable.................................................................................................................................................... 115ip telnet server vrf...........................................................................................................................................................116ip telnet source-interface............................................................................................................................................... 117ip telnet vrf.......................................................................................................................................................................118ip tftp source-interface.................................................................................................................................................. 119ip tftp vrf......................................................................................................................................................................... 120line.................................................................................................................................................................................... 120login concurrent-session................................................................................................................................................ 121login statistics..................................................................................................................................................................123motd-banner................................................................................................................................................................... 124ping...................................................................................................................................................................................125reload................................................................................................................................................................................128send..................................................................................................................................................................................130service timestamps......................................................................................................................................................... 131show alarms.................................................................................................................................................................... 132show cam-acl-vlan......................................................................................................................................................... 133show command-history................................................................................................................................................. 133show command-tree...................................................................................................................................................... 135

    4 Contents

  • show cpu-traffic-stats................................................................................................................................................... 136show debugging..............................................................................................................................................................137show environment.......................................................................................................................................................... 138show inventory............................................................................................................................................................... 140show login statistics....................................................................................................................................................... 142show memory..................................................................................................................................................................144show processes cpu.......................................................................................................................................................145show processes ipc flow-control.................................................................................................................................. 148show processes memory............................................................................................................................................... 149show software ifm..........................................................................................................................................................152show system................................................................................................................................................................... 153show tech-support.........................................................................................................................................................155ssh-peer-stack-unit........................................................................................................................................................ 157telnet................................................................................................................................................................................ 157telnet-peer-stack-unit....................................................................................................................................................159terminal length................................................................................................................................................................ 160traceroute........................................................................................................................................................................160undebug all...................................................................................................................................................................... 162virtual-ip...........................................................................................................................................................................163write................................................................................................................................................................................. 164

    5 802.1X........................................................................................................................................................ 166debug dot1x..................................................................................................................................................................... 167dot1x auth-fail-vlan.........................................................................................................................................................168dot1x auth-server........................................................................................................................................................... 169dot1x auth-type mab-only............................................................................................................................................. 169dot1x authentication (Configuration)........................................................................................................................... 170dot1x authentication (Interface).................................................................................................................................... 171dot1x guest-vlan..............................................................................................................................................................172dot1x host-mode............................................................................................................................................................. 173dot1x mac-auth-bypass..................................................................................................................................................174dot1x max-eap-req.......................................................................................................................................................... 174dot1x max-supplicants....................................................................................................................................................175dot1x port-control........................................................................................................................................................... 176dot1x quiet-period........................................................................................................................................................... 177dot1x reauthentication....................................................................................................................................................177dot1x reauth-max............................................................................................................................................................ 178dot1x server-timeout...................................................................................................................................................... 179dot1x supplicant-timeout............................................................................................................................................... 180dot1x tx-period.................................................................................................................................................................181show dot1x cos-mapping interface.............................................................................................................................. 182show dot1x interface...................................................................................................................................................... 183

    6 Access Control Lists (ACL).........................................................................................................................186Commands Common to all ACL Types.........................................................................................................................187

    remark........................................................................................................................................................................ 187

    Contents 5

  • show config...............................................................................................................................................................189Common IP ACL Commands........................................................................................................................................ 190

    access-class..............................................................................................................................................................190clear counters ip access-group............................................................................................................................... 191ip access-group........................................................................................................................................................ 192ip mirror-access-group.............................................................................................................................................193ip control-plane egress-filter................................................................................................................................... 194show ip accounting access-list...............................................................................................................................195show ip access-lists................................................................................................................................................. 196

    Standard IP ACL Commands.........................................................................................................................................197deny............................................................................................................................................................................ 197ip access-list standard............................................................................................................................................. 199permit........................................................................................................................................................................200resequence access-list............................................................................................................................................202seq............................................................................................................................................................................. 203

    Extended IP ACL Commands.......................................................................................................................................205deny...........................................................................................................................................................................205deny icmp..................................................................................................................................................................207deny tcp.................................................................................................................................................................... 208deny udp.....................................................................................................................................................................211ip access-list extended............................................................................................................................................ 214permit.........................................................................................................................................................................215permit tcp.................................................................................................................................................................. 217permit udp................................................................................................................................................................ 220resequence access-list............................................................................................................................................222seq............................................................................................................................................................................. 223

    Common MAC Access List Commands......................................................................................................................226clear counters mac access-group..........................................................................................................................226mac access-group....................................................................................................................................................227show mac access-lists............................................................................................................................................ 228show mac accounting access-list..........................................................................................................................229

    Standard MAC ACL Commands.................................................................................................................................. 230deny...........................................................................................................................................................................230mac access-list standard........................................................................................................................................ 232permit........................................................................................................................................................................ 233seq............................................................................................................................................................................. 234

    Extended MAC ACL Commands................................................................................................................................. 236deny...........................................................................................................................................................................236mac access-list extended....................................................................................................................................... 238permit........................................................................................................................................................................ 239

    IP Prefix List Commands............................................................................................................................................... 241clear ip prefix-list.......................................................................................................................................................241deny........................................................................................................................................................................... 242ip prefix-list............................................................................................................................................................... 243seq............................................................................................................................................................................. 244

    6 Contents

  • show config.............................................................................................................................................................. 245show ip prefix-list detail...........................................................................................................................................246show ip prefix-list summary.................................................................................................................................... 247

    Route Map Commands................................................................................................................................................. 248continue.................................................................................................................................................................... 248description................................................................................................................................................................ 249match as-path..........................................................................................................................................................250match community.....................................................................................................................................................251match interface........................................................................................................................................................252match ip address......................................................................................................................................................253match ip next-hop................................................................................................................................................... 254match ip route-source.............................................................................................................................................255match metric............................................................................................................................................................ 256match origin.............................................................................................................................................................. 257match route-type.....................................................................................................................................................258match tag..................................................................................................................................................................259route-map.................................................................................................................................................................260set as-path................................................................................................................................................................ 261set automatic-tag.................................................................................................................................................... 262set comm-list delete................................................................................................................................................263set community..........................................................................................................................................................264set level..................................................................................................................................................................... 265set local-preference.................................................................................................................................................266set metric.................................................................................................................................................................. 267set metric-type........................................................................................................................................................ 268set next-hop.............................................................................................................................................................269set origin....................................................................................................................................................................270set tag........................................................................................................................................................................ 271set weight................................................................................................................................................................. 272show config.............................................................................................................................................................. 273show route-map....................................................................................................................................................... 273

    AS-Path Commands...................................................................................................................................................... 274ip as-path access-list...............................................................................................................................................274show ip as-path-access-lists..................................................................................................................................275

    IP Community List Commands.....................................................................................................................................276ip community-list......................................................................................................................................................276show ip community-lists..........................................................................................................................................277

    UDF ACL Commands.....................................................................................................................................................277deny ip....................................................................................................................................................................... 278feature udf-acl.......................................................................................................................................................... 278key..............................................................................................................................................................................279match........................................................................................................................................................................ 280permit ip.....................................................................................................................................................................281show config.............................................................................................................................................................. 282udf-id......................................................................................................................................................................... 282

    Contents 7

  • udf-qualifier-value.................................................................................................................................................... 283udf-tcam................................................................................................................................................................... 283

    deny (for Standard IP ACLs)........................................................................................................................................ 284deny (for Extended IP ACLs)....................................................................................................................................... 285seq (for Standard IPv4 ACLs)...................................................................................................................................... 287deny tcp (for Extended IP ACLs)................................................................................................................................ 288deny udp (for Extended IP ACLs)............................................................................................................................... 290deny arp (for Extended MAC ACLs)............................................................................................................................291deny icmp (for Extended IP ACLs)..............................................................................................................................292deny ether-type (for Extended MAC ACLs).............................................................................................................. 293deny (for Standard MAC ACLs)...................................................................................................................................295deny (for Extended MAC ACLs)..................................................................................................................................296permit (for Standard IP ACLs)..................................................................................................................................... 297permit arp (for Extended MAC ACLs)........................................................................................................................ 299permit ether-type (for Extended MAC ACLs)........................................................................................................... 300permit icmp (for Extended IP ACLs)............................................................................................................................301permit udp (for Extended IP ACLs).............................................................................................................................303permit (for Extended IP ACLs).................................................................................................................................... 304permit (for Standard MAC ACLs)................................................................................................................................306seq (for Standard MAC ACLs)..................................................................................................................................... 307permit tcp (for Extended IP ACLs)............................................................................................................................. 308seq arp (for Extended MAC ACLs).............................................................................................................................. 310seq ether-type (for Extended MAC ACLs).................................................................................................................. 311seq (for IP ACLs)............................................................................................................................................................312seq (for IPv6 ACLs)........................................................................................................................................................314permit udp (for IPv6 ACLs)...........................................................................................................................................316permit tcp (for IPv6 ACLs)............................................................................................................................................317permit icmp (for IPv6 ACLs).........................................................................................................................................319permit (for IPv6 ACLs).................................................................................................................................................. 321deny udp (for IPv6 ACLs).............................................................................................................................................322deny tcp (for IPv6 ACLs)..............................................................................................................................................324deny icmp (for Extended IPv6 ACLs)......................................................................................................................... 326deny (for IPv6 ACLs).....................................................................................................................................................327

    7 Access Control List (ACL) VLAN Groups and Content Addressable Memory (CAM).................................. 330member vlan...................................................................................................................................................................330ip access-group...............................................................................................................................................................331show acl-vlan-group ......................................................................................................................................................331show cam-acl-vlan.........................................................................................................................................................333cam-acl-vlan...................................................................................................................................................................334show cam-usage............................................................................................................................................................334show running config acl-vlan-group............................................................................................................................ 337acl-vlan-group.................................................................................................................................................................337show acl-vlan-group detail............................................................................................................................................338description (ACL VLAN Group)................................................................................................................................... 339

    8 Contents

  • 8 Bidirectional Forwarding Detection (BFD).................................................................................................. 341bfd all-neighbors............................................................................................................................................................. 341bfd disable.......................................................................................................................................................................343bfd enable (Configuration)............................................................................................................................................343bfd enable (Interface)....................................................................................................................................................344bfd interval .....................................................................................................................................................................345bfd neighbor................................................................................................................................................................... 346bfd protocol-liveness..................................................................................................................................................... 346ip route bfd......................................................................................................................................................................347ipv6 ospf bfd all-neighbors........................................................................................................................................... 348isis bfd all-neighbors...................................................................................................................................................... 349neighbor bfd................................................................................................................................................................... 350neighbor bfd disable....................................................................................................................................................... 351show bfd neighbors....................................................................................................................................................... 352vrrp bfd neighbor...........................................................................................................................................................355

    9 Border Gateway Protocol...........................................................................................................................357BGP IPv4 Commands....................................................................................................................................................357

    address-family.......................................................................................................................................................... 357aggregate-address...................................................................................................................................................358bgp add-path............................................................................................................................................................360bgp always-compare-med.......................................................................................................................................361bgp asnotation.......................................................................................................................................................... 361bgp bestpath as-path ignore..................................................................................................................................363bgp bestpath as-path multipath-relax...................................................................................................................363bgp bestpath med confed...................................................................................................................................... 364bgp bestpath med missing-as-best.......................................................................................................................365bgp bestpath router-id ignore................................................................................................................................ 365bgp client-to-client reflection.................................................................................................................................366bgp cluster-id............................................................................................................................................................367bgp confederation identifier................................................................................................................................... 368bgp confederation peers.........................................................................................................................................369bgp connection-retry-timer.................................................................................................................................... 370bgp dampening......................................................................................................................................................... 371bgp default local-preference...................................................................................................................................372bgp dmzlink-bw........................................................................................................................................................373bgp enforce-first-as................................................................................................................................................. 374bgp fast-external-fallover........................................................................................................................................375bgp four-octet-as-support......................................................................................................................................375bgp graceful-restart.................................................................................................................................................376bgp non-deterministic-med.................................................................................................................................... 377bgp outbound-optimization.................................................................................................................................... 378bgp recursive-bgp-next-hop.................................................................................................................................. 379bgp regex-eval-optz-disable...................................................................................................................................380bgp router-id............................................................................................................................................................. 381

    Contents 9

  • clear ip bgp............................................................................................................................................................... 382clear ip bgp dampening........................................................................................................................................... 383clear ip bgp flap-statistics.......................................................................................................................................384clear ip bgp peer-group...........................................................................................................................................386deny bandwidth........................................................................................................................................................387debug ip bgp.............................................................................................................................................................388debug ip bgp dampening........................................................................................................................................ 389debug ip bgp events................................................................................................................................................390debug ip bgp keepalives...........................................................................................................................................391debug ip bgp notifications...................................................................................................................................... 392debug ip bgp soft-reconfiguration......................................................................................................................... 393debug ip bgp updates..............................................................................................................................................394default-metric...........................................................................................................................................................395description................................................................................................................................................................ 396maximum-paths........................................................................................................................................................397neighbor activate..................................................................................................................................................... 398neighbor add-path...................................................................................................................................................399neighbor advertisement-interval............................................................................................................................400neighbor advertisement-start.................................................................................................................................401neighbor allowas-in...................................................................................................................................................401neighbor default-originate.......................................................................................................................................402neighbor description................................................................................................................................................404neighbor distribute-list............................................................................................................................................ 404neighbor ebgp-multihop......................................................................................................................................... 405neighbor fall-over.....................................................................................................................................................406neighbor local-as......................................................................................................................................................407neighbor maximum-prefix.......................................................................................................................................408neighbor next-hop-self........................................................................................................................................... 409neighbor password................................................................................................................................................... 410neighbor peer-group (assigning peers)...................................................................................................................411neighbor peer-group (creating group)................................................................................................................... 413neighbor peer-group passive...................................................................................................................................414neighbor remote-as..................................................................................................................................................415neighbor remove-private-as....................................................................................................................................416neighbor route-map..................................................................................................................................................417neighbor route-reflector-client................................................................................................................................418neighbor send-community...................................................................................................................................... 419neighbor sender-side-loopdetect...........................................................................................................................420neighbor shutdown...................................................................................................................................................421neighbor soft-reconfiguration inbound..................................................................................................................422neighbor timers........................................................................................................................................................ 423neighbor update-source..........................................................................................................................................424neighbor weight....................................................................................................................................................... 425network.....................................................................................................................................................................426network backdoor.................................................................................................................................................... 427

    10 Contents

  • permit bandwidth.....................................................................................................................................................428redistribute................................................................................................................................................................429redistribute ospf........................................................................................................................................................431router bgp................................................................................................................................................................. 432shutdown all..............................................................................................................................................................433shutdown address-family-ipv4–multicast.............................................................................................................433shutdown address-family-ipv4–unicast................................................................................................................ 434shutdown address-family-ipv6–unicast................................................................................................................ 434set extcommunity bandwidth.................................................................................................................................435show capture bgp-pdu neighbor........................................................................................................................... 435show config.............................................................................................................................................................. 436show ip bgp...............................................................................................................................................................437show ip bgp cluster-list........................................................................................................................................... 439show ip bgp community...........................................................................................................................................441show ip bgp community-list....................................................................................................................................443show ip bgp dampened-paths................................................................................................................................445show ip bgp detail....................................................................................................................................................446show ip bgp extcommunity-list.............................................................................................................................. 448show ip bgp filter-list...............................................................................................................................................449show ip bgp flap-statistics...................................................................................................................................... 451show ip bgp inconsistent-as...................................................................................................................................453show ip bgp neighbors............................................................................................................................................ 454show ip bgp next-hop............................................................................................................................................. 458show ip bgp paths................................................................................................................................................... 459show ip bgp paths community................................................................................................................................461show ip bgp peer-group..........................................................................................................................................462show ip bgp regexp................................................................................................................................................. 464show ip bgp summary............................................................................................................................................. 465show running-config bgp........................................................................................................................................468timers bgp.................................................................................................................................................................469

    MBGP Commands.........................................................................................................................................................470debug ip bgp dampening.........................................................................................................................................470distance bgp..............................................................................................................................................................471show ip bgp dampened-paths................................................................................................................................472

    BGP Extended Communities (RFC 4360)..................................................................................................................473set extcommunity rt................................................................................................................................................ 474set extcommunity soo.............................................................................................................................................475show ip bgp paths extcommunity..........................................................................................................................476show ip extcommunity-list...................................................................................................................................... 477

    IPv6 BGP Commands....................................................................................................................................................478clear ip bgp ipv6 unicast soft................................................................................................................................. 478debug ip bgp ipv6 unicast soft-reconfiguration................................................................................................... 479ipv6 prefix-list...........................................................................................................................................................480neighbor soft-reconfiguration inbound................................................................................................................. 480show ipv6 prefix-list................................................................................................................................................. 481

    Contents 11

  • IPv6 MBGP Commands................................................................................................................................................482show ipv6 mbgproutes............................................................................................................................................482

    10 Content Addressable Memory (CAM).......................................................................................................483CAM Profile Commands............................................................................................................................................... 483

    cam-acl (Configuration)..........................................................................................................................................484cam-acl-egress.........................................................................................................................................................487cam-optimization..................................................................................................................................................... 488show cam-acl........................................................................................................................................................... 489show cam-usage......................................................................................................................................................490test cam-usage........................................................................................................................................................ 492

    Unified Forwarding Table Modes................................................................................................................................. 493hardware forwarding-table mode.......................................................................................................................... 494show hardware forwarding-table mode................................................................................................................ 494

    11 Control Plane Policing (CoPP).................................................................................................................. 496control-plane-cpuqos.................................................................................................................................................... 496service-policy rate-limit-cpu-queues........................................................................................................................... 497service-policy rate-limit-protocols............................................................................................................................... 498ip unknown-unicast....................................................................................................................................................... 499ipv6 unknown-unicast...................................................................................................................................................499show cpu-queue rate cp...............................................................................................................................................500show ip protocol-queue-mapping.................................................................................................................................501show ipv6 protocol-queue-mapping........................................................................................................................... 502show mac protocol-queue-mapping........................................................................................................................... 503

    12 Data Center Bridging (DCB).....................................................................................................................504DCB Command..............................................................................................................................................................504

    dcb-enable................................................................................................................................................................505PFC Commands............................................................................................................................................................ 505

    clear pfc counters....................................................................................................................................................506description................................................................................................................................................................506pfc mode on............................................................................................................................................................. 507pfc no-drop queues.................................................................................................................................................508show dcb.................................................................................................................................................................. 509show interface pfc...................................................................................................................................................509show interface pfc statistics................................................................................................................................... 512show stack-unit stack-ports pfc details................................................................................................................ 513

    ETS Commands.............................................................................................................................................................. 514bandwidth-percentage............................................................................................................................................ 514clear ets counters.....................................................................................................................................................515dcb-enable.................................................................................................................................................................516description................................................................................................................................................................. 517priority-list..................................................................................................................................................................517qos-policy-output ets...............................................................................................................................................518scheduler................................................................................................................................................................... 519

    12 Contents

  • show interface ets................................................................................................................................................... 520show qos priority-groups........................................................................................................................................ 524show stack-unit stack-ports ets details................................................................................................................524

    DCBX Commands..........................................................................................................................................................525advertise dcbx-app-tlv............................................................................................................................................525advertise dcbx-appln-tlv......................................................................................................................................... 526advertise dcbx-tlv.................................................................................................................................................... 527dcbx port-role...........................................................................................................................................................528dcbx version............................................................................................................................................................. 529debug dcbx...............................................................................................................................................................529fcoe priority-bits...................................................................................................................................................... 530iscsi priority-bits........................................................................................................................................................531show interface dcbx detail......................................................................................................................................532

    dcb-map..........................................................................................................................................................................534priority-pgid.................................................................................................................................................................... 535pfc mode on................................................................................................................................................................... 536priority-group bandwidth pfc........................................................................................................................................537dcb-map stack-unit all stack-ports all.........................................................................................................................538show qos dcb-map........................................................................................................................................................539dcb pfc-shared-buffer-size.......................................................................................................................................... 540dcb-buffer-threshold .....................................................................................................................................................541priority..............................................................................................................................................................................541qos-policy-buffer............................................................................................................................................................543dcb-policy buffer-threshold (Interface Configuration)..............................................................................................544dcb-policy dcb-buffer-threshold (Global Configuration).......................................................................................... 545show qos dcb-buffer-threshold................................................................................................................................... 546dcb pfc-total-buffer-size.............................................................................................................................................. 546show running-config dcb-buffer-threshold................................................................................................................ 548service-class buffer shared-threshold-weight........................................................................................................... 549dcb pfc-queues..............................................................................................................................................................550dcb {ets | pfc} enable.....................................................................................................................................................551

    13 Debugging and Diagnostics...................................................................................................................... 552Diagnostics and Monitoring Commands.....................................................................................................................552

    logging coredump stack-unit..................................................................................................................................552Offline Diagnostic Commands......................................................................................................................................553

    diag stack-unit......................................................................................................................................................... 553offline stack-unit...................................................................................................................................................... 554online stack-unit...................................................................................................................................................... 555

    Hardware Commands................................................................................................................................................... 556clear hardware stack-unit.......................................................................................................................................556clear hardware system-flow................................................................................................................................... 557clear hardware vlan-counters.................................................................................................................................558hardware watchdog................................................................................................................................................ 558show hardware mac................................................................................................................................................ 559show hardware ip.................................................................................................................................................... 560

    Contents 13

  • show hardware stack-unit.......................................................................................................................................561show hardware system-flow.................................................................................................................................. 569show hardware vlan-counters.................................................................................................................................571show hardware counters interface ........................................................................................................................571show hardware drops.............................................................................................................................................. 573show hardware stack-unit buffer-stats-snapshot (Total Buffer Information)..................................................575show hardware buffer interface.............................................................................................................................576show hardware buffer-stats-snapshot.................................................................................................................. 577

    14 Dynamic Host Configuration Protocol (DHCP)..........................................................................................581Commands to Configure the System to be a DHCP Server.....................................................................................581

    clear ip dhcp..............................................................................................................................................................581debug ip dhcp server...............................................................................................................................................582debug ipv6 dhcp ..................................................................................................................................................... 583default-router........................................................................................................................................................... 583disable....................................................................................................................................................................... 584dns-server................................................................................................................................................................ 585domain-name........................................................................................................................................................... 585excluded-address.....................................................................................................................................................586hardware-address.................................................................................................................................................... 587host........................................................................................................................................................................... 588lease.......................................................................................................................................................................... 588netbios-name-server...............................................................................................................................................589netbios-node-type...................................................................................................................................................590network......................................................................................................................................................................591pool............................................................................................................................................................................592show ip dhcp binding...............................................................................................................................................592show ip dhcp configuration.................................................................................................................................... 593show ip dhcp conflict.............................................................................................................................................. 594show ip dhcp server................................................................................................................................................595

    Commands to Configure Secure DHCP..................................................................................................................... 596arp inspection...........................................................................................................................................................596arp inspection-trust................................................................................................................................................. 597clear ip dhcp snooping.............................................................................................................................................597clear ipv6 dhcp snooping binding.......................................................................................................................... 599ip dhcp relay............................................................................................................................................................. 599ip dhcp snooping......................................................................................................................................................600ipv6 dhcp snooping.................................................................................................................................................. 601ipv6 dhcp snooping vlan......................................................................................................................................... 602ip dhcp snooping binding......................................................................