Transcript

Dell PowerConnect 6200 Series Systems

CLI Reference Guide

Models: PC6224, PC6248, PC6224P, PC6248P, and PC6224F

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

____________________Information in this document is subject to change without notice. 2010 Dell Inc. All rights reserved. Reproduction of these materials in any manner whatsoever without the written permission of Dell Inc. is strictly forbidden. Trademarks used in this text: Dell, the DELL logo, and PowerConnect are trademarks of Dell Inc. sFlow is a registered trademark of InMon Corporation. Cisco is a registered trademark of Cisco Systems, Inc. and/or its affiliates in the United States and certain other countries. Other trademarks and trade names may be used in this document to refer to either the entities claiming the marks and names or their products. Dell Inc. disclaims any proprietary interest in trademarks and trade names other than its own.Models: PC6224, PC6248, PC6224P, PC6248P, and PC6224F

April 2010

Rev. A05

Contents1 Command GroupsIntroduction

. . . . . . . . . . . . . . . . . .

5555 55 61

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Command Groups

Layer 2 Commands .

2

Using the CLI

. . . . . . . . . . . . . . . . . . . . .

135135 135 135 141

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Introduction

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Entering and Editing CLI Commands. CLI Command Modes

. . . . . . . . . . . . . . . . . .

3

Layer 2 CommandsIntroduction

. . . . . . . . . . . . . . . .

187187

. . . . . . . . . . . . . . . . . . . . . . .

4

AAA Commands .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

188190 191 193

aaa authentication enable . aaa authentication login .

. . . . . . . . . . . . . . . . . . . . . . .

aaa authorization network default radius .

Contents

3

enable authentication enable password .

. . . . . . . . . . . . . . . . .

194 194 195 196 197 198 199 200 201 202 203

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip http authentication

ip https authentication . login authentication

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

password (Line Configuration). password (User EXEC)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show authentication methods . show users accounts

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show users login-history username .

. . . . . . . . . . . . . . . . . . . . . . .

5

ACL Commandsdeny | permit

. . . . . . . . . . . . . . . . . . .

205207 209 209 210 211 212 213 214

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip access-group

no ip access-group . mac access-group

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

mac access-list extended

mac access-list extended rename show ip access-lists . show mac access-list

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

4

Contents

6

Address Table Commands .bridge aging-time

. . . . . . . . . .

217219 219 221 222 223 224 224 225 226 227 227 228 229 230 232 232 234

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

bridge multicast address bridge multicast filtering

bridge multicast forbidden address .

bridge multicast forbidden forward-unregistered bridge multicast forward-all

. . . . . . . . . . . . . . . . . . . . . .

bridge multicast forward-unregistered . clear bridge port security

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

port security max

show bridge address-table

show bridge address-table count . show bridge address-table static .

show bridge multicast address-table . show bridge multicast filtering show ports security

. . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ports security addresses

7

CDP Interoperability Commandsclear isdp table

. . . . . .

237238

. . . . . . . . . . . . . . . . . . . . .

Contents

5

isdp advertise-v2 . isdp enable .

. . . . . . . . . . . . . . . . . . .

239 239 240 241 241 243 244 246 248

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

isdp holdtime . isdp timer . show isdp

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show isdp entry

show isdp interface

show isdp neighbors . show isdp traffic .

. . . . . . . . . . . . . . . . . . .

8

DHCP Layer 2 Relay Commands .dhcp l2relay (Interface Configuration). dhcp l2relay circuit-id . dhcp l2relay remote-id . dhcp l2relay trust . dhcp l2relay vlan .

. . . . . .

251252 253 254 254 255

. . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

9

DHCP Snooping Commands .ip dhcp snooping .

. . . . . . . . .

257258 259 260 261

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip dhcp snooping binding

ip dhcp snooping database

ip dhcp snooping database write-delay .

6

Contents

ip dhcp snooping limit .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

261 262 263 264 264 266 267 267 269

ip dhcp snooping log-invalid ip dhcp snooping trust .

. . . . . . . . . . . . . . . . . . . . . . . . . .

ip dhcp snooping verify mac-address . show ip dhcp snooping

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip dhcp snooping binding .

show ip dhcp snooping database . show ip dhcp snooping interfaces show ip dhcp snooping statistics .

10 Dynamic ARP Inspection Commandsclear counters ip arp inspection ip arp inspection filter . ip arp inspection limit ip arp inspection trust

. .

271272 273 274 275 275 276 277 278 279 280 282

. . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip arp inspection validate ip arp inspection vlan

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

permit ip host mac host show arp access-list

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip arp inspection ethernet show ip arp inspection statistics show ip arp inspection vlan .

. . . . . . . . . . . . . .

Contents

7

11 Ethernet Configuration Commandsdescription . duplex

. . . .

285286 287 288 289 289 290 291 292 293 295 299 300 303 308 312 313 314 315 315 316

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

flowcontrol .

interface ethernet

interface range ethernet . mtu

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

negotiation .

show interfaces advertise .

show interfaces configuration. show interfaces counters

. . . . . . . . . . . . . . . . . . . . . . . . . . . .

show interfaces description . show interfaces detail . show interfaces status .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show statistics ethernet . show storm-control shutdown . speed .

. . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

storm-control broadcast . storm-control multicast storm-control unicast

. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . .

8

Contents

12 GVRP Commands .garp timer

. . . . . . . . . . . . . . . . .

319320 322 322 323 324 325 326 328

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

gvrp enable (global)

gvrp enable (interface) gvrp registration-forbid

gvrp vlan-creation-forbid show gvrp configuration .

show gvrp error-statistics . show gvrp statistics .

. . . . . . . . . . . . . . . . . .

13 IGMP Snooping Commands .ip igmp snooping (interface).

. . . . . . . . .

331332 333 334 335 336 337 338 338 339 340

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip igmp snooping host-time-out . ip igmp snooping leave-time-out

ip igmp snooping mrouter-time-out show ip igmp snooping groups

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip igmp snooping interface show ip igmp snooping mrouter . ip igmp snooping (VLAN)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip igmp snooping fast-leave .

ip igmp snooping groupmembership-interval .

Contents

9

ip igmp snooping maxresponse

. . . . . . . . . . . . . . . . . . . . . .

341 342

ip igmp snooping mcrtrexpiretime

14 IGMP Snooping Querier Commandsip igmp snooping querier election participate ip igmp snooping querier query-interval ip igmp snooping querier timer expiry ip igmp snooping querier version show igmp snooping querier

. . . . . . .

345347 348 349 349 350

. . . . . . .

. . . . . . . .

. . . . . . . . . . .

. . . . . . . . . . . . .

15 IP Addressing Commandsip address

. . . . . . . . . . .

353354 355 356 357 358 358 359 360 361 362 363

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip address dhcp ip address vlan .

ip default-gateway . ip domain-lookup ip domain-name ip host

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip name-server . ipv6 address ipv6 enable .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 gateway .

10

Contents

show arp switch . show hosts .

. . . . . . . . . . . . . . . . . . . .

364 364 365 367

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip helper-address

show ip interface management

16 IPv6 Access List Commandsipv6 access-list

. . . . . . . . .

369372 373 373 375

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 access-list rename . ipv6 traffic-filter

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ipv6 access-lists

17 IPv6 MLD Snooping Querier Commands 379ipv6 mld snooping querier (VLAN mode) ipv6 mld snooping querier address. . . . . . . .

380 381 382 382 383 384

. . . . . . . . . . . . . . .

ipv6 mld snooping querier election participate. ipv6 mld snooping querier query-interval . ipv6 mld snooping querier timer expiry . show ipv6 mld snooping querier

. . . . . . .

. . . . . . . .

. . . . . . . . . . . .

18 LACP Commandslacp system-priority lacp timeout

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

387388 389

. . . . . . . . . . . . . . . . . . . . . . .

Contents

11

show lacp ethernet

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

390 392

show lacp port-channel

19 Link Dependency Commands .no link-dependency group . add ethernet

. . . . . . . .

395396 397 398 398 399 400 400 401 402

. . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

add port-channel .

no add port-channel

depends-on ethernet .

no depends-on ethernet

depends-on port-channel

no depends-on port-channel . show link-dependency.

. . . . . . . . . . . . . . . .

20 LLDP Commandsclear lldp statistics lldp med

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

405406 407 408 408 409 410 411

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

lldp med confignotification

lldp med faststartrepeatcount . lldp med transmit-tlv . lldp notification

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

lldp notification-interval .

12

Contents

lldp receive lldp timers

. . . . . . . . . . . . . . . . . . . . . . .

412 412 413 414 415 416 417 418 419 420 422 424 427 429

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

lldp transmit

lldp transmit-mgmt . lldp transmit-tlv show lldp .

. . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show lldp interface

show lldp local-device show lldp med

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show lldp med interface .

show lldp med local-device .

show lldp med remote-device . show lldp remote-device show lldp statistics

. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

21 Port Channel Commandsinterface port-channel .

. . . . . . . . . . . .

433434 435 436 437 438 439

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

interface range port-channel hashing-mode

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

no hashing-mode

show interfaces port-channel . show statistics port-channel

. . . . . . . . . . . . . .

Contents

13

22 Port Monitor Commandsshow monitor session

. . . . . . . . . . . .

443445

. . . . . . . . . . . . . . . . .

23 QoS Commandsclass

. . . . . . . . . . . . . . . . . . .

447449 450 451 452 453 453 454 455 456 457 458 459 459 460 461 462 463

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

class-map

class-map rename

classofservice dot1p-mapping.

classofservice ip-dscp-mapping classofservice trust conform-color

. . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

cos-queue min-bandwidth . cos-queue strict diffserv drop .

. . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

mark cos

mark ip-dscp .

mark ip-precedence match class-map . match cos

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

match destination-address mac .

14

Contents

match dstip . match dstip6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

464 465 465 466 467 468 469 469 470 471 472 473 473 474 475 476 477 478 479 480 482

match dstl4port match ethertype

match ip6flowlbl . match ip dscp

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

match ip precedence match ip tos

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

match protocol .

match source-address mac match srcip. match srcip6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

match srcl4port match vlan mirror .

. . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

police-simple policy-map . redirect .

. . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

service-policy

show class-map

show classofservice dot1p-mapping

Contents

15

show classofservice ip-dscp-mapping show classofservice trust show diffserv .

. . . . . . . .

483 487 488 489 490 490 491 494 495 496 498

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show diffserv service interface ethernet in .

show diffserv service interface port-channel in show diffserv service brief show interfaces cos-queue show policy-map .

. . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show policy-map interface show service-policy . traffic-shape

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

24 RADIUS Commandsacct-port auth-port deadtime key

. . . . . . . . . . . . . . . .

499500 501 502 503 503 504 505 505 506

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

msgauth name

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

primary priority

radius-server deadtime

16

Contents

radius-server host radius-server key

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

507 508 509 509 510 511 512 514 518 519 520

radius-server retransmit . radius-server source-ip radius-server timeout retransmit

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show radius-servers .

show radius-servers statistics source-ip . timeout . usage .

. . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . .

25 Spanning Tree Commands .exit (mst) .

. . . . . . . . . .

521523 524 525 526 526 539 540 541 542

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

instance (mst) name (mst)

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

revision (mst).

show spanning-tree

show spanning-tree summary . spanning-tree

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

spanning-tree auto-portfast . spanning-tree bpdu flooding

Contents

17

spanning-tree bpdu-protection spanning-tree cost .

. . . . . . . . . . . .

543 544 545 545 546 547 548 549 549 550 551 552 553 554 555 556 556 557 558 559 559

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

spanning-tree disable

spanning-tree forward-time . spanning-tree guard

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

spanning-tree loopguard . spanning-tree max-age

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

spanning-tree max-hops . spanning-tree mode

. . . . . . . . . . . . . . . . . . . . . . . . . . . .

spanning-tree mst 0 external-cost . spanning-tree mst configuration spanning-tree mst cost .

. . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . .

spanning-tree mst port-priority spanning-tree mst priority . spanning-tree portfast

. . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . .

spanning-tree portfast bpdufilter default spanning-tree portfast default . spanning-tree port-priority spanning-tree priority

. . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

spanning-tree tcnguard

spanning-tree transmit hold-count

18

Contents

26 Switchport Voice Commandsswitchport voice detect auto

. . . . . . . .

561564

. . . . . . . . . . . . . .

27 TACACS+ Commands .port .

. . . . . . . . . . . . . .

565566 567 568 569 569 570 571

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

priority

show tacacs

tacacs-server host . tacacs-server key

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

tacacs-server timeout timeout .

. . . . . . . . . . . . . . . . . . . . . . . . .

28 VLAN Commands .interface vlan

. . . . . . . . . . . . . . . . .

573575 576 577 578 579 580 581 582 582

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

interface range vlan mode dvlan-tunnel . name

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

protocol group

protocol vlan group

protocol vlan group all. show dvlan-tunnel .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show dvlan-tunnel interface

Contents

19

show interfaces switchport show port protocol .

. . . . . . . . . . . . . .

583 587 588 589 590 591 592 593

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show switchport protected show vlan

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show vlan association mac

show vlan association subnet . switchport access vlan

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

switchport forbidden vlan

switchport general acceptable-frame-type tagged-only 594 switchport general allowed vlan. . . . . . . . . . . . . . . .

594 595 596 597 598 599 600 601 601 602 603 604

switchport general ingress-filtering disable switchport general pvid switchport mode .

. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

switchport protected .

switchport protected name

switchport trunk allowed vlan. vlan .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

vlan association mac

vlan association subnet vlan database

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

vlan makestatic

20

Contents

vlan protocol group

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

604 605 606 607 607

vlan protocol group add protocol vlan protocol group name

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

vlan protocol group remove . vlan routing

. . . . . . . . . . . . . . . . . . . . . . .

29 Voice VLAN Commands .voice vlan (Interface)

. . . . . . . . . . . .

611612 613 614

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

voice vlan data priority show voice vlan

. . . . . . . . . . . . . . . . . . . . .

30 802.1x Commandsdot1x max-req

. . . . . . . . . . . . . . . . .

617619 620 621 622 623 624 624 625 626 627

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

dot1x max-users . dot1x port-control

dot1x re-authenticate

dot1x re-authentication

dot1x system-auth-control .

dot1x timeout guest-vlan-period dot1x timeout quiet-period

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

dot1x timeout re-authperiod . dot1x timeout server-timeout

Contents

21

dot1x timeout supp-timeout dot1x timeout tx-period show dot1x .

. . . . . . . . . . . . . .

628 629 630 633 635 637 639 640 641 641 644

. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show dot1x clients .

show dot1x ethernet . show dot1x statistics show dot1x users dot1x guest-vlan

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

dot1x unauth-vlan

show dot1x advanced

radius-server attribute 4 .

31 Layer 3 Commands .Introduction

. . . . . . . . . . . . . . . .

645645

. . . . . . . . . . . . . . . . . . . . . .

32 ARP Commandsarp cachesize

. . . . . . . . . . . . . . . . . . .

646647 648 649 650 651 652

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

arp dynamicrenew . arp purge .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

arp resptime arp retries

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

arp timeout .

22

Contents

clear arp-cache

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

652 653 654 654

clear arp-cache management . ip proxy-arp show arp .

. . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . .

33 DHCP and BOOTP Relay Commandsbootpdhcprelay maxhopcount . bootpdhcprelay minwaittime

. . .

657659 659 660 661

. . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . .

bootpdhcprelay cidridoptmode show bootpdhcprelay

. . . . . . . . . . . . . . . . . .

34 DHCPv6 Commandsdns-server

. . . . . . . . . . . . . . . .

663664 665 666 667 668 669 669 670 671 672

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

domain-name ipv6 dhcp pool

ipv6 dhcp relay .

ipv6 dhcp relay-agent-info-opt

ipv6 dhcp relay-agent-info-remote-id-subopt. ipv6 dhcp server

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

prefix-delegation service dhcpv6 . show ipv6 dhcp

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Contents

23

show ipv6 dhcp binding

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

673 674 676 676

show ipv6 dhcp interface show ipv6 dhcp pool .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ipv6 dhcp statistics

35 DVMRP Commandsip dvmrp metric .

. . . . . . . . . . . . . . . .

679680 681 682 683 683 684 685 685

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip dvmrp trapflags show ip dvmrp

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip dvmrp interface . show ip dvmrp neighbor . show ip dvmrp nexthop show ip dvmrp prune . show ip dvmrp route .

. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

36 IGMP Commands

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

687688 689 690 691 692 692

ip igmp last-member-query-count .

ip igmp last-member-query-interval . ip igmp query-interval

. . . . . . . . . . . . . . . . . . . . . . . . . . .

ip igmp query-max-response-time ip igmp robustness .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip igmp startup-query-count .

24

Contents

ip igmp startup-query-interval . ip igmp version . show ip igmp .

. . . . . . . . . . . . .

693 694 695 696 697 698 699

. . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip igmp groups.

show ip igmp interface

show ip igmp interface membership show ip igmp interface stats

. . . . . . . . . . . . . .

37 IGMP Proxy Commands .ip igmp-proxy reset-status

. . . . . . . . . . . .

701702 703 704 705 706 707

. . . . . . . . . . . . . . . . . . . . . .

ip igmp-proxy unsolicited-report-interval show ip igmp-proxy

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip igmp-proxy interface . show ip igmp-proxy groups

. . . . . . . . . . . . . . . . . . . . . . . . . .

show ip igmp-proxy groups detail

38 IP Helper Commands .

. . . . . . . . . . . . . . . . . . . . . . . . . . . .

709710 712 714 715 716

ip helper-address (global configuration)

ip helper-address (interface configuration). ip helper enable

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip helper-address

show ip helper statistics

Contents

25

39 IP Routing Commandsip address ip mtu .

. . . . . . . . . . . . . .

719720 721 722 723 724 725 726 727 728 728 731 732 734 735 736 738

. . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip netdirbcast. ip route

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip route default .

ip route distance . ip routing . routing

. . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip brief .

show ip interface show ip protocols show ip route .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip route preferences . show ip route summary show ip stats . vlan routing .

. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

40 IPv6 MLD Snooping Commands .

. . . . . . . . . .

739741 741

ipv6 mld snooping groupmembership-interval ipv6 mld snooping maxresponse

. . . . . . . . . . .

26

Contents

ipv6 mld snooping mcrtexpiretime ipv6 mld snooping (Global)

. . . . . . . . . . .

742 743 744 744 745 747

. . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 mld snooping (Interface) ipv6 mld snooping (VLAN) . show ipv6 mld snooping .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ipv6 mld snooping groups .

41 IPv6 Multicast Commands .

. . . . . . . . . . . . . . . . . . . .

749750 751 752 753 753 754 755 755 756 757 758 758 760 761

ipv6 pimsm (VLAN Interface config) . ipv6 pimsm bsr-border .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 pimsm bsr-candidate . ipv6 pimsm dr-priority

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 pimsm hello-interval

ipv6 pimsm join-prune-interval ipv6 pimsm register-threshold . ipv6 pimsm rp-address .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 pimsm rp-candidate ipv6 pimsm spt-threshold ipv6 pimsm ssm show ipv6 pimsm

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ipv6 pimsm bsr

show ipv6 pimsm interface

Contents

27

show ipv6 pimsm neighbor show ipv6 pimsm rphash .

. . . . . . . . . . . . . .

762 763 763

. . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ipv6 pimsm rp mapping

42 IPv6 Routing Commandsclear ipv6 statistics ipv6 address ipv6 enable .

. . . . . . . . . . . .

765767 768 769 770 771 772 772 773 774 774 775 776 777 777 778 779 780

. . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 forwarding ipv6 host

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 mld last-member-query-count

ipv6 mld last-member-query-interval ipv6 mld-proxy

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 mld-proxy reset-status

ipv6 mld-proxy unsolicit-rprt-interval . ipv6 mld query-interval

. . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 mld query-max-response-time ipv6 mld router ipv6 mtu .

. . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 nd dad attempts .

ipv6 nd managed-config-flag ipv6 nd ns-interval

. . . . . . . . . . . . . . . . . . .

28

Contents

ipv6 nd other-config-flag ipv6 nd prefix.

. . . . . . . . . . . . . . . .

780 781 783 783 784 785 786 786 787 788 789 790 791 792 793 795 799 801 803 804 806

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 nd ra-interval ipv6 nd ra-lifetime

ipv6 nd reachable-time ipv6 nd suppress-ra ipv6 pimdm .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 pimdm hello-interval ipv6 route .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 route distance. ipv6 unicast-routing ping ipv6

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ping ipv6 interface . show ipv6 brief .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ipv6 interface

show ipv6 mld groups

show ipv6 mld interface . show ipv6 mld-proxy.

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ipv6 mld-proxy groups

show ipv6 mld-proxy groups detail show ipv6 mld-proxy interface

. . . . . . . . . . . . .

Contents

29

show ipv6 mld traffic . show ipv6 neighbors . show ipv6 pimdm .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

808 809 810 811 812 813 814 815 816 820 821

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ipv6 pimdm interface show ipv6 pimdm neighbor show ipv6 route

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ipv6 route preferences show ipv6 route summary show ipv6 traffic show ipv6 vlan

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

traceroute ipv6 .

43 Loopback Interface Commands .show interfaces loopback .

. . . . . .

823824

. . . . . . . . . . . . . .

44 Multicast Commands .ip mroute

. . . . . . . . . . . . . .

827829 830 831 832 833 833

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip multicast .

ip multicast ttl-threshold . ip pimsm

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip pimsm bsr-border

ip pimsm bsr-candidate

30

Contents

ip pimsm dr-priority

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

834 835 836 836 837 838 839 839 840 841 842 843 844 845 846 848 849 850 851 852

ip pimsm hello-interval

ip pimsm join-prune-interval ip pimsm register-threshold . ip pimsm rp-address .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip pimsm rp-candidate . ip pimsm spt-threshold ip pimsm ssm.

. . . . . . . . . . . . . . . . . . . . . . . . . . . .

show bridge multicast address-table count show ip mcast

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip mcast boundary . show ip mcast interface . show ip mcast mroute .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip mcast mroute group

show ip mcast mroute source . show ip mcast mroute static show ip pimsm bsr .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip pimsm interface show ip pimsm rphash .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip pimsm rp mapping

Contents

31

45 OSPF Commandsarea nssa .

. . . . . . . . . . . . . . . . . .

855858 859 860 861 862 862 863 864 865 866 867 868 869 870 871 872 873 873 874 875

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

area nssa default-info-originate . area nssa no-redistribute area nssa no-summary .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

area nssa translator-role.

area nssa translator-stab-intv . area range area stub

. . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

area stub no-summary area virtual-link

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

area virtual-link authentication area virtual-link dead-interval. area virtual-link hello-interval

area virtual-link retransmit-interval . area virtual-link transmit-delay auto-cost

. . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

bandwidth

capability opaque clear ip ospf

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

default-information originate

32

Contents

default-metric distance ospf .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

876 877 878 879 879 880 881 882 883 884 884 885 886 887 888 889 889 890 891 893 893

distribute-list out enable

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

exit-overflow-interval . external-lsdb-limit . ip ospf area.

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip ospf authentication ip ospf cost .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip ospf dead-interval . ip ospf hello-interval. ip ospf mtu-ignore ip ospf network ip ospf priority

. . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip ospf retransmit-interval . ip ospf transmit-delay maximum-paths network area . nsf

. . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

nsf helper

nsf helper strict-lsa-checking .

Contents

33

nsf restart-interval .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

894 895 896 897 898 898 899 905 906 908 909 913 915 917 918 919 923 924 925 927 928

passive-interface default passive-interface redistribute . router-id

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

router ospf

show ip ospf

show ip ospf abr

show ip ospf area show ip ospf asbr

show ip ospf database .

show ip ospf database database-summary show ip ospf interface .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip ospf interface brief

show ip ospf interface stats . show ip ospf neighbor

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip ospf statistics . show ip ospf stub table

show ip ospf virtual-link .

show ip ospf virtual-link brief . timers spf .

. . . . . . . . . . . . . . . . . . . . . . .

34

Contents

46 OSPFv3 Commandsarea nssa .

. . . . . . . . . . . . . . . .

931934 935 936 937 938 939 940 941 942 942 943 944 945 946 947 948 948 949 950 951

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

area nssa default-info-originate area nssa no-redistribute area nssa no-summary .

. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

area nssa translator-role

area nssa translator-stab-intv . area range area stub .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

area stub no-summary . area virtual-link

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

area virtual-link dead-interval area virtual-link hello-interval

area virtual-link retransmit-interval area virtual-link transmit-delay . default-information originate default-metric distance ospf . enable

. . . . . . . . . . . .

. . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

exit-overflow-interval . external-lsdb-limit .

. . . . . . . . . . . . . . . . . . .

Contents

35

ipv6 ospf

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

952 952 953 954 955 955 956 957 958 959 960 960 961 962 963 964 965 966 966 967 968

ipv6 ospf areaid ipv6 ospf cost .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 ospf dead-interval . ipv6 ospf hello-interval ipv6 ospf mtu-ignore . ipv6 ospf network ipv6 ospf priority

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 ospf retransmit-interval . ipv6 ospf transmit-delay ipv6 router ospf . maximum-paths nsf

. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

nsf helper .

nsf helper strict-lsa-checking . nsf restart-interval . passive-interface

. . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

passive-interface default redistribute . router-id

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ipv6 ospf

36

Contents

show ipv6 ospf area show ipv6 ospf asbr

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

974 975 976 980 981 983 984 987 989 990 990 992

show ipv6 ospf database

show ipv6 ospf database database-summary . show ipv6 ospf interface

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ipv6 ospf interface brief . show ipv6 ospf interface stats. show ipv6 ospf neighbor . show ipv6 ospf range

. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ipv6 ospf stub table

show ipv6 ospf virtual-link

show ipv6 ospf virtual-link brief

47 PIM-DM Commands .show ip pimdm .

. . . . . . . . . . . . . . .

993994 995 996

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip pimdm interface show ip pimdm neighbor

48 PIM-SM Commands .ip pimsm spt-threshold ip pim-trapflags show ip pimsm .

. . . . . . . . . . . . . . .

997998 999 1000

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

Contents

37

show ip pimsm interface . show ip pimsm neighbor . show ip pimsm rphash .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1000 1002 1002

. . . . . . . . . . . . . . . .

49 Router Discovery Protocol Commands 1005ip irdp address. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1006 1007 1008 1009 1010 1011 1012

ip irdp holdtime

ip irdp maxadvertinterval ip irdp minadvertinterval . ip irdp multicast

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip irdp preference show ip irdp

. . . . . . . . . . . . . . . . . . . . . .

50 Routing Information Protocol Commands 1015default-information originate default-metric distance rip .. . . . . . . . . . . . .

1016 1017 1018 1018 1019 1020 1021 1021

. . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

distribute-list out . enable

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

hostroutesaccept . ip rip

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip rip authentication

38

Contents

ip rip receive version ip rip send version . redistribute . router rip .

. . . . . . . . . . . . . . . . .

1022 1023 1024 1025 1026 1027 1028 1029

. . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip rip .

show ip rip interface.

show ip rip interface brief . split-horizon

. . . . . . . . . . . . . . . . . . . . . .

51 Tunnel Interface Commandsshow interfaces tunnel tunnel destination

. . . . . . . .

10311032 1033 1034 1035

. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

tunnel mode ipv6ip . tunnel source

. . . . . . . . . . . . . . . . . . . . .

52 Virtual LAN Routing Commands

. . . . .

1037

53 Virtual Router Redundancy Protocol Commands 1039ip vrrp authentication ip vrrp ip. . . . . . . . . . . . . . . . .

1041 1042 1043

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip vrrp mode

Contents

39

ip vrrp preempt . ip vrrp priority

. . . . . . . . . . . . . . . . . . . .

1043 1044 1045 1046 1047 1048 1049 1050 1051

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip vrrp timers advertise ip vrrp track interface ip vrrp track ip route . show ip vrrp

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip vrrp interface

show ip vrrp interface brief show ip vrrp interface stats

54 Utility Commands .

. . . . . . . . . . . . . . . .

1053 10531055 1056 1057

55 Autoconfig Commands .boot host dhcp

. . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

boot host retry-count . show boot

. . . . . . . . . . . . . . . . . . . . . . .

56 Captive Portal Commandsauthentication timeout . captive-portal enable

. . . . . . . . . .

10591061 1061 1062 1063

. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

http port.

40

Contents

https port .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1063 1064 1065 1066 1067 1067 1068 1069 1069 1070 1071 1071 1072 1072 1073 1074 1074 1076 1077 1079 1080

show captive-portal .

show captive-portal status block

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

configuration . enable group .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

interface locale . name

. . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

protocol redirect .

redirect-url .

session-timeout verification .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

captive-portal client deauthenticate show captive-portal client status .

. . . . . . . . . . . . .

show captive-portal configuration client status show captive-portal interface client status

. . . . . .

show captive-portal interface configuration status clear captive-portal users .

. . . . . . . . . . . . . .

Contents

41

no user

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1080 1081 1082 1083 1084 1085 1085 1086 1088 1089 1090 1091 1092 1092

show captive-portal user user group user name

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

user password

user session-timeout .

show captive-portal configuration

show captive-portal configuration interface show captive-portal configuration locales show captive-portal configuration status . show trapflags captive-portal . user group

. . . . . . . . . . . .

. . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

user group moveusers user group name

. . . . . . . . . . . . . . . . . . . .

57 Clock Commandsshow clock .

. . . . . . . . . . . . . . . . .

10951095 1096 1097 1098 1099 1100

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show sntp configuration . show sntp status . sntp authenticate .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

sntp authentication-key

sntp broadcast client enable

42

Contents

sntp client poll timer . sntp server .

. . . . . . . . . . . . . . . . .

1100 1101 1102 1103 1104 1104 1105 1106 1107 1108

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

sntp trusted-key

sntp unicast client enable .

clock timezone hours-offset . no clock timezone

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

clock summer-time recurring clock summer-time date . no clock summer-time . show clock .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

58 Configuration and Image File Commands 1111clear config copy. . . . . . . . . . . . . . . . . . . . . .

1112 1113 1116 1117 1118 1118 1119 1120 1120 1122

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

delete backup-config delete backup-image delete startup-config filedescr

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

script apply. script delete script list .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

script validate

Contents

43

show backup-config . show bootvar . show dir

. . . . . . . . . . . . . . . . .

1123 1124 1125 1126 1127 1129

. . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show running-config . show startup-config update bootcode

. . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . .

59 Denial of Service Commands .dos-control icmp . dos-control l4port dos-control sipdip

. . . . . . .

11311132 1133 1134 1135 1135 1136 1137 1138 1138 1139 1140 1140

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

dos-control tcpflag . dos-control tcpfrag . ip icmp echo-reply .

ip icmp error-interval ip unreachables ip redirects .

. . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ipv6 icmp error-interval ipv6 unreachables show dos-control

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

44

Contents

60 Line Commandshistory

. . . . . . . . . . . . . . . . . .

11431144 1145 1146 1147 1148

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

history size . line .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show line . speed .

. . . . . . . . . . . . . . . . . . . . . . . . .

61 Management ACL Commandsmanagement access-class management access-list permit (management)

. . . . . . .

11491151 1152 1153 1155 1156

. . . . . . . . . . . . . .

. . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . .

show management access-class show management access-list

. . . . . . . . . . . .

62 Password Management Commandspasswords history . passwords lock-out

. .

11571158 1159 1160 1161

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

passwords min-length .

show passwords configuration

63 PHY Diagnostics Commandsshow copper-ports tdr .

. . . . . . . .

11631164

. . . . . . . . . . . . . . . .

Contents

45

show fiber-ports optical-transceiver test copper-port tdr .

. . . . . . . . .

1166 1167

. . . . . . . . . . . . . . . . . .

64 Power Over Ethernet Commands .power inline legacy

. . . .

11691170 1171 1172 1173 1173 1174 1175 1176

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

power inline powered-device . power inline priority . power inline traps

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

power inline usage-threshold . show poe-firmware-version . show power inline .

. . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show power inline ethernet .

65 RMON Commands

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

11791181 1183 1184 1186 1187 1188 1189 1195

rmon collection history rmon event

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show rmon alarm .

show rmon alarm-table

show rmon collection history show rmon events show rmon history

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show rmon statistics .

46

Contents

66 Serviceability Tracing Packet Commands 1199debug auto-voip debug clear. . . . . . . . . . . . . . . . . . . .

1201 1202 1202 1203 1204 1204 1205 1206 1207 1207 1208 1209 1210 1210 1211 1212 1213 1213 1214 1215

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

debug console debug dot1x

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

debug igmpsnooping. debug ip acl

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

debug ip dvmrp . debug ip igmp

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

debug ip mcache . debug ip pimdm debug ip pimsm debug ip vrrp .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

debug ipv6 mcache debug ipv6 mld .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

debug ipv6 pimdm debug ipv6 pimsm debug isdp

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

debug lacp .

debug mldsnooping debug ospf

. . . . . . . . . . . . . . . . . . . . . . .

Contents

47

debug ospfv3 debug ping debug rip

. . . . . . . . . . . . . . . . . . . . . .

1215 1216 1217 1217 1218 1219

. . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

debug sflow

debug spanning-tree . show debugging

. . . . . . . . . . . . . . . . . . . .

67 Sflow Commandssflow polling .

. . . . . . . . . . . . . . . . .

12211223 1224 1225 1226 1227 1228 1229 1230

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

sflow polling (Interface Mode) sflow sampling .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

sflow sampling (Interface Mode) show sflow agent

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show sflow destination show sflow polling .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show sflow sampling

68 SNMP Commandsshow snmp engineID . show snmp filters

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12331235 1236 1237 1239

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show snmp groups . show snmp users .

. . . . . . . . . . . . . . . . . . .

48

Contents

show snmp views show trapflags .

. . . . . . . . . . . . . . . . . . .

1240 1242 1244 1246 1247 1247 1249 1250 1251 1253 1254 1256 1257 1258 1260

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

snmp-server community .

snmp-server community-group snmp-server contact .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

snmp-server enable traps

snmp-server enable traps authentication . snmp-server engineID local . snmp-server filter

. . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

snmp-server group . snmp-server host

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

snmp-server location snmp-server user snmp-server view

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

snmp-server v3-host .

69 SSH Commands

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

12631264 1265 1266 1267 1268

crypto key generate rsa

crypto key pubkey-chain ssh ip ssh port

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip ssh pubkey-auth . ip ssh server

. . . . . . . . . . . . . . . . . . . . . .

Contents

49

key-string .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1268 1270 1271 1273 1274

show crypto key mypubkey

show crypto key pubkey-chain ssh show ip ssh . user-key

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . .

70 Syslog Commandsclear logging file . description . level

. . . . . . . . . . . . . . . .

12751276 1277 1278 1278 1279 1280 1281 1282 1282 1283 1284 1285 1285 1286 1288

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

logging cli-command logging

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

logging buffered logging console logging facility . logging file . logging on

. . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

logging snmp .

logging web-session . port

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show logging .

show logging file .

50

Contents

show syslog-servers .

. . . . . . . . . . . . . . . . .

1289

71 System Management Commandsbanner motd

. . . .

12911293 1294 1295 1296 1297 1297 1298 1299 1300 1302 1304 1305 1306 1306 1307 1308 1309 1310 1313

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

banner motd acknowledge clear checkpoint statistics cut-through mode hostname .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

initiate failover . member .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

movemanagement no standby ping .

. . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

reload

set description .

show boot-version .

show checkpoint statistics show cut-through mode show memory cpu show nsf

. . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show process cpu show sessions .

. . . . . . . . . . . . . . . . . . . .

Contents

51

show stack-port

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

1315 1316 1318 1320 1320 1323 1329 1331 1332 1335 1336 1337 1337 1338 1339 1340 1340 1343

show stack-port counters show stack-port diag show stack-standby

. . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show supported switchtype . show switch show system

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show system id .

show tech-support . show users .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show version . stack

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

stack-port standby .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

switch priority

switch renumber . telnet

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

traceroute

72 Telnet Server Commands .ip telnet port

. . . . . . . . . .

13471348 1349

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

show ip telnet

52

Contents

73 User Interface Commands .end

. . . . . . . . .

13511352 1353 1354

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

exit . quit .

74 Web Server Commands .country .

. . . . . . . . . . .

13551356 1357 1358 1360 1361 1361 1362 1363 1363 1364 1365 1366 1366 1367 1368

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

crypto certificate generate crypto certificate import . crypto certificate request duration

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip http port

ip http server .

ip https certificate . ip https port

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

ip https server key-generate . location

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .

organization-unit .

show crypto certificate mycertificate. show ip http

. . . . . . . . . . . . . . . . . . . . . .

Contents

53

show ip https . state

. . . . . . . . . . . . . . . . . . . . .

1369 1370

. . . . . . . . . . . . . . . . . . . . . . . . . .

54

Contents

Command GroupsIntroduction

1

The Command Line Interface (CLI) is a network management application operated through an ASCII terminal without the use of a Graphic User Interface (GUI) driven software application. By directly entering commands, the user has greater configuration flexibility. The CLI is a basic command-line interpreter similar to the UNIX C shell. A switch can be configured and maintained by entering commands from the CLI, which is based solely on textual input and output with commands being entered by a terminal keyboard and the output displayed as text via a terminal monitor. The CLI can be accessed from a console terminal connected to an EIA/TIA-232 port or through a Telnet session. This guide describes how the CLI is structured, describes the command syntax, and describes the command functionality. This guide also provides information for configuring the PowerConnect switch, details the procedures, and provides configuration examples. Basic installation configuration is described in the Users Guide and must be completed before using this document.

Command GroupsThe system commands can be broken down into three sets of functional groups, Layers 2, Layer 3, and Utility.Table 1-1. System Command Groups Description Configures connection security including authorization and passwords. Configures and displays ACL information.

Command Group Layer 2 Commands AAA ACL

Command Groups

55

Table 1-1.

System Command Groups (continued) Description Configures bridging address tables. Configures Cisco Discovery Protocol (CDP). Enables the Layer 2 DHCP Relay agent for an interface. Configures DHCP snooping and whether an interface is trusted for filtering.

Command Group Address Table CDP Interoperability DHCP l2 Relay DHCP Snooping

Dynamic ARP Inspection Configures for rejection of invalid and malicious ARP packets. Ethernet Configuration GVRP IGMP Snooping Configures all port configuration options for example ports, storm control, port speed and auto-negotiation. Configures and displays GVRP configuration and information. Configures IGMP snooping and displays IGMP configuration and IGMP information.

IGMP Snooping Querier Configures IGMP Snooping Querier and displays IGMP Snooping Querier information. IP Addressing IPv6 ACL IPv6 MLD Snooping IPv6 MLD Snooping Querier LACP Link Dependency LLDP Port Channel Port Monitor QoS Radius Spanning Tree Switchport Voice Configures and manages IP addresses on the switch. Configures and displays ACL information for IPv6. Configures IPv6 MLD Snooping. Configures IPv6 Snooping Querier and displays IPv6 Snooping Querier information. Configures and displays LACP information. Configures and displays link dependency information. Configures and displays LLDP information. Configures and displays Port channel information. Monitors activity on specific target ports. Configures and displays QoS information. Configures and displays RADIUS information. Configures and reports on Spanning Tree protocol. Configures the Auto VoIP feature.

56

Command Groups

Table 1-1.

System Command Groups (continued) Description Configures and displays TACACS+ information. Configures VLANs and displays VLAN information. Configures voice VLANs and displays voice VLAN information Configures and displays commands related to 802.1x security protocol. Manages Address Resolution Protocol functions. Manages DHCP/BOOTP operations on the system. Configures IPv6 DHCP functions. Configures DVMRP operations. Configures IGMP operations. Manages IGMP Proxy on the system. Configures relay of UDP packets. Configures IP routing and addressing. Manages IPv6 Multicasting on the system. Configures IPv6 routing and addressing. Manages Loopback configurations. Manages Multicasting on the system. Manages shortest path operations. Manages IPv6 shortest path operations. Configures PIM-DM operations. Configures PIM-SM operations. Manages router discovery operations. Configures RIP activities.

Command Group TACACS+ VLAN Voice VLAN 802.1x Layer 3 Commands ARP (IPv4) DHCP and BOOTP Relay (IPv4) DHCPv6 DVMRP (Mcast) IGMP (Mcast) IGMP Proxy (Mcast) IP Helper IP Routing (IPv4) IPv6 Multicast IPv6 Routing Loopback Interface (IPv6) Multicast (Mcast) OSPF (IPv4)_ OSPFv3 (IPv6) PIM-DM (Mcast) PIM-SM (Mcast) Router Discovery Protocol (IPv4) Routing Information Protocol (IPv4)

Command Groups

57

Table 1-1.

System Command Groups (continued) Description Managing tunneling operations. Controls virtual LAN routing. Manages router redundancy on the system.

Command Group Tunnel Interface (IPv6) Virtual LAN Routing (IPv4) Virtual Router Redundancy (IPv4) Utility Commands Auto Config Captive Portal Clock

Automatically configures switch when a configuration file is not found. Blocks clients from accessing network until user verification is established. Configures the system clock.

Configuration and Image Manages the switch configuration files. Files Denial of Service Line Management ACL Password Management PHY Diagnostics Power Over Ethernet (PoE) RMON Serviceability Tracing sFlow SNMP SSH Provides several Denial of Service options. Configures the console, SSH, and remote Telnet connection. Configures and displays management access-list information. Provides password management. Diagnoses and displays the interface status. Configures PoE and displays PoE information. Can be configured through the CLI and displays RMON information. Controls display of debug output to serial port or telnet console. Configures sFlow monitoring. Configures SNMP communities, traps and displays SNMP information. Configures SSH authentication.

58

Command Groups

Table 1-1.

System Command Groups (continued) Description Manages and displays syslog messages. Configures the switch clock, name and authorized users. Configures Telnet service on the switch and displays Telnet information. Describes user commands used for entering CLI commands. Configures web-based access to the switch.

Command Group Syslog System Management Telnet Server User Interface Web Server

Command Groups

59

Mode TypesThe tables on the following pages use these abbreviations for Command Mode names. 60 ARPA ARP ACL Configuration CC Crypto Configuration CP Captive Portal Configuration CPI Captive Portal Instance CMC Class-Map Configuration GC Global Configuration IC Interface Configuration IP IP Access List Configuration KC Key Chain KE Key L Logging LC Line Configuration MA Management Access-level MC MST Configuration ML MAC-List Configuration MT MAC-acl PE Privileged EXEC PM Policy Map Configuration PCGC Policy Map Global Configuration PCMC Policy Class Map Configuration R Radius RIP Router RIP Configuration RC Router Configuration ROSPF Router Open Shortest Path First ROSV3 Router Open Shortest Path First Version 3 SG Stack Global ConfigurationCommand Groups

SP SSH Public Key SK SSH Public Key-chain TC TACACS Configuration UE User EXEC VLAN VLAN Configuration v6ACL IPv6 Access List Configuration v6CMC v6DP IPv6 DHCP Pool Configuration

Layer 2 CommandsAAACommand aaa authentication dot1x Description Specifies one or more authentication, authorization and accounting (AAA) methods for use on interfaces running IEEE 802.1X. Defines authentication method lists for accessing higher privilege levels. Defines login authentication. Mode* GC

aaa authentication enable aaa authentication login aaa authorization network default radius enable authentication

GC GC

Enables the switch to accept VLAN assignment GC by the RADIUS server. Specifies the authentication method list when LC accessing a higher privilege level from a remote telnet or console. Sets a local password to control access to the normal level. Specifies authentication methods for http. Specifies authentication methods for https. Specifies the login authentication method list for a remote telnet or console. Specifies a password on a line. GC GC GC LC LC

enable password ip http authentication ip https authentication login authentication password

Command Groups

61

Command password show authentication methods show user accounts show users login-history username

Description Specifies a user password Shows information about authentication methods Displays information about the local user database Displays information about login histories of users Establishes a username-based authentication system.

Mode* UE PE PE PE GC

NOTE: *For the meaning of each Mode abbreviation, see "Mode Types" on page 60.

ACLCommand access-list deny|permit Description Creates an Access Control List (ACL) that is identified by the parameter accesslistnumber. Mode* GC

The deny command denies traffic if the ML conditions defined in the deny statement are matched. The permit command allows traffic if the conditions defined in the permit statement are matched. Attaches a specified access-control list to an interface. GC or IC

ip access-group ip access-group out mac access-group mac access-list extended mac access-list extended rename show ip access-lists

Applies an IP based egress ACL on an Ethernet IC interface or a group of interfaces. Attaches a specific MAC Access Control List (ACL) to an interface in a given direction. Creates the MAC Access Control List (ACL) identified by the name parameter. GC or IC GC

Renames the existing MAC Access Control List GC (ACL) name. Displays an Access Control List (ACL) and all PE of the rules that are defined for the ACL.

62

Command Groups

Command show mac access-list

Description Displays a MAC access list and all of the rules that are defined for the ACL.

Mode* PE

NOTE: *For the meaning of each Mode abbreviation, see "Mode Types" on page 60.

Address TableCommand bridge address bridge aging-time bridge multicast address bridge multicast filtering Description Mode*

Adds a static MAC-layer station source address IC to the bridge table. Sets the address table aging time. GC Registers MAC-layer Multicast addresses to the IC bridge table, and adds static ports to the group. Enables filtering of Multicast addresses. GC IC IC

bridge multicast forbidden Forbids adding a specific Multicast address to address specific ports. bridge multicast forbidden Forbids a port to be a forwarding-unregisteredforward-unregistered multicast-addresses port.

bridge multicast forward-all Enables forwarding of all Multicast packets on a IC port. bridge multicast forwardunregistered clear bridge port security port security max Enables the forwarding of unregistered multicast addresses Removes any learned entries from the forwarding database. Disables new address learning on an interface. IC PE IC

Configures the maximum addresses that can be IC learned on the port while the port is in port security mode. Displays dynamically created entries in the bridge-forwarding database. PE

show bridge address-table show bridge address-table count show bridge address-table static

Displays the number of addresses present in the PE Forwarding Database. Displays statically created entries in the bridge- PE forwarding database. Command Groups

63

Command show bridge multicast address-table show bridge multicast filtering show ports security show ports security addresses

Description Displays Multicast MAC address table information. Displays the Multicast filtering configuration. Displays the port-lock status. Displays current dynamic addresses in locked ports.

Mode* PE PE PE PE

NOTE: *For the meaning of each Mode abbreviation, see "Mode Types" on page 60.

CDP InteroperabilityCommand clear isdp counters clear isdp table isdp advertise-v2 isdp enable isdp holdtime isdp timer show isdp show isdp interface show isdp entry show isdp neighbors show isdp traffic Description Clears the ISDP counters. Clears entries in the ISDP table. Enables the sending of ISDP version 2 packets from the device. Enables ISDP on the switch. Mode* PE PE GC GC/IC

Configures the hold time for ISDP packets that GC the switch transmits. Sets period of time between sending new ISDP GC packets. Displays global ISDP settings. Displays ISDP settings for the specified interface. Displays ISDP entries. Displays the list of neighboring devices. Displays ISDP statistics. PE PE PE PE PE

NOTE: *For the meaning of each Mode abbreviation, see "Mode Types" on page 60.

64

Command Groups

DHCP l2 RelayCommand dhcp l2relay dhcp l2relay circuit-id dhcp l2relay remote-id dhcp l2relay vlan dhcp l2relay trust Description Enables the Layer 2 DHCP Relay agent for an interface. Enables user to set the DHCP Option 82 Circuit ID for a VLAN. Enables user to set the DHCP Option 82 Remote ID for a VLAN. Enables the L2 DHCP Relay agent for a set of VLANs. Configures an interface to trust a received DHCP Option 82. Mode* GC/IC GC GC GC IC

NOTE: *For the meaning of each Mode abbreviation, see "Mode Types" on page 60.

DHCP SnoopingCommand clear ip dhcp snooping binding clear ip dhcp snooping statistics ip dhcp snooping ip dhcp snooping binding Description Clears all DHCP Snooping entries. clears all DHCP Snooping statistics. Enables DHCP snooping globally or on a specific VLAN. Configures a static DHCP Snooping binding. Mode* PE PE GC/IC GC

ip dhcp snooping database Configures the persistent location of the DHCP GC snooping database. ip dhcp snooping database Configures the interval in seconds at which the GC write-delay DHCP Snooping database will be stored in persistent storage. ip dhcp snooping limit ip dhcp snooping loginvalid Controls the maximum rate of DHCP messages. Enables logging of DHCP messages filtered by the DHCP Snooping application. IC IC

Command Groups

65

Command ip dhcp snooping trust ip dhcp snooping verify mac-address show ip dhcp snooping show ip dhcp snooping binding show ip dhcp snooping database show ip dhcp snooping interfaces show ip dhcp snooping statistics

Description Enables the verification of the source MAC address with the client MAC address in the received DHCP message. Displays the DHCP snooping global and per port configuration. Displays the DHCP snooping binding entries. Displays the DHCP snooping configuration related to the database persistence. Displays the DHCP Snooping status of the interfaces. Displays the DHCP snooping filtration statistics.

Mode* GC

Configure a port as trusted for DHCP snooping. IC

PE PE PE PE PE

NOTE: *For the meaning of each Mode abbreviation, see "Mode Types" on page 60.

Dynamic ARP InspectionCommand arp access-list clear counters ip arp inspection ip arp inspection filter Description Creates an ARP ACL. Resets the statistics for Dynamic ARP Inspection on all VLANs. Mode* GC PE

Configures the ARP ACL to be used for a single GC VLAN or a range of VLANs to filter invalid ARP packets. Configures the rate limit and burst interval values for an interface. IC

ip arp inspection limit ip arp inspection trust ip arp inspection validate

Configures an interface as trusted for Dynamic IC ARP Inspection. Enables additional validation checks like source GC MAC address validation, destination MAC address validation or IP address validation on the received ARP packets.

66

Command Groups

Command ip arp inspection vlan permit ip host mac host

Description Enables Dynamic ARP Inspection on a single VLAN or a range of VLANs.

Mode* GC

Configures a rule for a valid IP address and ARPA MAC address combination used in ARP packet validation. Displays the configured ARP ACLs with the rules. PE

show arp access-list show ip arp inspection ethernet show ip arp inspection statistics

Displays the Dynamic ARP Inspection PE configuration on all the DAI enabled interfaces. Displays the statistics of the ARP packets processed by Dynamic ARP Inspection. PE PE

show ip arp inspection vlan Displays the Dynamic ARP Inspection configuration on all the VLANs in the given VLAN range.

NOTE: *For the meaning of each Mode abbreviation, see "Mode Types" on page 60.

Ethernet ConfigurationCommand clear counters description duplex Description Clears statistics on an interface. Adds a description to an interface. Configures the full/half duplex operation of a given Ethernet interface when not using autonegotiation. Enters the interface configuration mode to configure an Ethernet type interface. Enters the interface configuration mode to configure multiple Ethernet type interfaces. Enables jumbo frames on an interface by adjusting the maximum size of a packet or maximum transmission unit (MTU). Mode* PE IC IC

flowcontrol interface ethernet interface range ethernet mtu

Configures the flow control on a given interface. GC GC GC IC

Command Groups

67

Command negotiation

Description Enables auto-negotiation operation for the speed and duplex parameters of a given interface. Displays information about auto negotiation advertisement. Displays the configuration for all configured interfaces. Displays traffic seen by the physical interface.

Mode* IC

show interfaces advertise show interfaces configuration show interfaces counters

PE UE UE UE

show interfaces description Displays the description for all configured interfaces. show interfaces detail show interfaces status show statistics ethernet show storm-control shutdown speed storm-control broadcast storm-control multicast storm-control unicast

Displays the detail for all configured interfaces. UE Displays the status for all configured interfaces. UE Displays statistics for one port or for the entire switch. Displays the storm control configuration. Disables interfaces. Configures the speed of a given Ethernet interface when not using auto-negotiation. Enables Broadcast storm control.


Recommended