Dell 8132, 8024, 8164 User Manual

0 (0)
Dell 8132, 8024, 8164 User Manual

Dell PowerConnect

8024/8132/8164 Series Systems

CLI Reference Guide

Regulatory Model: PC8024/PC8024F/

PC8132/PC8132F/PC8164/PC8164F

Notes

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

CAUTION: A CAUTION indicates potential damage to hardware or loss of data if instructions are not followed.

____________________

Information in this publication is subject to change without notice. © 2013 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. StrataXGS® is a registered trademark of Broadcom Corp. 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. Microsoft® and Windows®are registered trademarks of Microsoft Corporation in the United States and/or other countries.

Other trademarks and trade names may be used in this publication 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.

Regulatory Model PC8024/PC8024F/PC8132/PC8132F/PC8164/PC8164F

2013 - March Rev. A02

Contents

1 Command Groups . . . . . . . . . . . . . . . . . .

77

Introduction . . . . . . . . . . . . . . . . . . . . . . .

77

Command Groups . . . . . . . . . . . . . . . . . . . .

77

Mode Types . . . . . . . . . . . . . . . . . . . . . . .

81

Layer 2 Commands . . . . . . . . . . . . . . . . . . . .

83

Data Center Technology Commands. . . . . . . . . . .

117

Layer 3 Commands . . . . . . . . . . . . . . . . . . . .

119

Utility Commands . . . . . . . . . . . . . . . . . . . .

146

2 Using the CLI . . . . . . . . . . . . . . . . . . . . . 167

Introduction . . . . . . . . . . . . . . . . . . . . . . .

167

Entering and Editing CLI Commands. . . . . . . . . . .

167

CLI Command Modes . . . . . . . . . . . . . . . . . .

177

Starting the CLI. . . . . . . . . . . . . . . . . . . . . .

190

Using CLI Functions and Tools. . . . . . . . . . . . . .

198

Contents 3

3Layer 2 Switching Commands . . . . . . . . 235

4AAA Commands . . . . . . . . . . . . . . . . . . . 237

TACACS+ Accounting . . . . . . . . . . . . . . . . . .

238

Commands in this Chapter. . . . . . . . . . . . . . . .

239

aaa authentication dot1x default . . . . . . . . . . . .

240

aaa authentication enable. . . . . . . . . . . . . . . .

241

aaa authentication login. . . . . . . . . . . . . . . . .

243

aaa authorization . . . . . . . . . . . . . . . . . . . .

245

aaa authorization network default radius. . . . . . . .

247

aaa ias-user username . . . . . . . . . . . . . . . . .

248

aaa new-model . . . . . . . . . . . . . . . . . . . . .

249

clear (IAS) . . . . . . . . . . . . . . . . . . . . . . . .

250

authorization . . . . . . . . . . . . . . . . . . . . . . .

250

enable authentication . . . . . . . . . . . . . . . . . .

252

enable password . . . . . . . . . . . . . . . . . . . .

253

ip http authentication . . . . . . . . . . . . . . . . . .

254

ip https authentication. . . . . . . . . . . . . . . . . .

255

login authentication . . . . . . . . . . . . . . . . . . .

256

password (aaa IAS User Configuration). . . . . . . . .

257

password (Line Configuration) . . . . . . . . . . . . .

258

Contents 4

password (User EXEC) . . . . . . . . . . . . . . . . . .

259

show aaa ias-users . . . . . . . . . . . . . . . . . . .

260

show aaa statistics . . . . . . . . . . . . . . . . . . .

261

show authentication methods . . . . . . . . . . . . . .

262

show authorization methods . . . . . . . . . . . . . .

263

show users accounts . . . . . . . . . . . . . . . . . .

264

show users login-history . . . . . . . . . . . . . . . .

266

username. . . . . . . . . . . . . . . . . . . . . . . . .

267

username unlock . . . . . . . . . . . . . . . . . . . .

269

5 Administrative Profiles Commands . . . . 271

Overview . . . . . . . . . . . . . . . . . . . . . . . . . 271

Commands in this Chapter. . . . . . . . . . . . . . . . 272

admin-profile. . . . . . . . . . . . . . . . . . . . . . . 273

description (Administrative Profile Config) . . . . . . . 274

rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275

show admin-profiles. . . . . . . . . . . . . . . . . . . 276

show admin-profiles brief . . . . . . . . . . . . . . . . 277

show cli modes . . . . . . . . . . . . . . . . . . . . . 278

6 ACL Commands . . . . . . . . . . . . . . . . . . . 281

ACL Logging . . . . . . . . . . . . . . . . . . . . . . . 281

Contents 5

Commands in this Chapter. . . . . . . . . . . . . . . .

284

access-list . . . . . . . . . . . . . . . . . . . . . . . .

284

deny | permit (IP ACL) . . . . . . . . . . . . . . . . . .

286

deny | permit (Mac-Access-List-Configuration) . . . .

288

ip access-group . . . . . . . . . . . . . . . . . . . . .

290

mac access-group . . . . . . . . . . . . . . . . . . . .

291

mac access-list extended . . . . . . . . . . . . . . . .

292

mac access-list extended rename . . . . . . . . . . .

293

service-acl input . . . . . . . . . . . . . . . . . . . . .

294

show service-acl interface . . . . . . . . . . . . . . .

295

show ip access-lists. . . . . . . . . . . . . . . . . . .

296

show mac access-list . . . . . . . . . . . . . . . . . .

297

7 Address Table Commands . .

.

.

.

.

.

.

. . . 299

 

 

Commands in this Chapter. . . . . .

.

.

.

.

.

.

. . . .

300

 

 

clear mac address-table. . . . . . .

.

.

.

.

.

.

. . . .

300

 

 

mac address-table aging-time . . .

.

.

.

.

.

.

. . . .

301

 

 

mac address-table multicast forbidden address . . . . 302

mac address-table static vlan . . . .

.

.

.

.

.

.

. . . .

303

 

 

port security . . . . . . . . . . . . .

.

.

.

.

.

.

. . . .

304

 

 

port security max . . . . . . . . . .

.

.

.

.

.

.

. . . .

305

 

 

show mac address-table multicast .

.

.

.

.

.

.

. . . .

306

 

 

 

 

 

 

 

 

 

Contents

 

 

6

 

 

 

 

 

 

 

 

show mac address-table . . . . . . . . . . . . . . . .

307

show mac address-table address . . . . . . . . . . . .

309

show mac address-table count . . . . . . . . . . . . .

310

show mac address-table dynamic . . . . . . . . . . .

311

show mac address-table interface . . . . . . . . . . .

312

show mac address-table static . . . . . . . . . . . . .

313

show mac address-table vlan . . . . . . . . . . . . . .

314

show ports security . . . . . . . . . . . . . . . . . . .

315

show ports security addresses . . . . . . . . . . . . .

317

8 Auto-VoIP Commands . . . . . . . . .

.

.

. . .

319

 

 

Commands in this Chapter. . . . . . . . . .

.

.

. . . .

319

 

 

show switchport voice . . . . . . . . . . .

.

.

. . . .

320

 

 

switchport voice detect auto . . . . . . . .

.

.

. . . .

323

 

 

9 CDP Interoperability Commands .

.

.

. . .

325

 

 

Commands in this Chapter. . . . . . . . . .

.

.

. . . .

325

 

 

clear isdp counters . . . . . . . . . . . . .

.

.

. . . .

325

 

 

clear isdp table . . . . . . . . . . . . . . .

.

.

. . . .

326

 

 

isdp advertise-v2. . . . . . . . . . . . . . .

.

.

. . . .

326

 

 

isdp enable. . . . . . . . . . . . . . . . . .

.

.

. . . .

327

 

 

isdp holdtime. . . . . . . . . . . . . . . . .

.

.

. . . .

328

 

 

 

 

 

Contents

 

7

 

 

 

 

isdp timer . . . . . . . . . . . . . . . . . . . . . . . .

329

show isdp . . . . . . . . . . . . . . . . . . . . . . . .

329

show isdp entry . . . . . . . . . . . . . . . . . . . . .

330

show isdp interface . . . . . . . . . . . . . . . . . . .

332

show isdp neighbors. . . . . . . . . . . . . . . . . . .

333

show isdp traffic . . . . . . . . . . . . . . . . . . . . .

335

10 DHCP Layer 2 Relay Commands

.

.

.

. . . 337

 

 

Commands in this Chapter. . . . . . . . .

.

.

.

. . . .

337

 

 

dhcp l2relay (Global Configuration) . . . .

.

.

.

. . . .

337

 

 

dhcp l2relay (Interface Configuration) . .

.

.

.

. . . .

338

 

 

dhcp l2relay circuit-id . . . . . . . . . . .

.

.

.

. . . .

339

 

 

dhcp l2relay remote-id. . . . . . . . . . .

.

.

.

. . . .

340

 

 

dhcp l2relay trust . . . . . . . . . . . . .

.

.

.

. . . .

340

 

 

dhcp l2relay vlan. . . . . . . . . . . . . .

.

.

.

. . . .

341

 

 

show dhcp l2relay all . . . . . . . . . . .

.

.

.

. . . .

342

 

 

show dhcp l2relay interface. . . . . . . .

.

.

.

. . . .

343

 

 

show dhcp l2relay stats interface. . . . .

.

.

.

. . . .

344

 

 

show dhcp l2relay subscription interface

.

.

.

. . . .

345

 

 

show dhcp l2relay agent-option vlan . . .

.

.

.

. . . .

345

 

 

show dhcp l2relay vlan . . . . . . . . . .

.

.

.

. . . .

347

 

 

show dhcp l2relay circuit-id vlan . . . . .

.

.

.

. . . .

348

 

 

 

 

 

 

Contents

 

 

8

 

 

 

 

 

show dhcp l2relay remote-id vlan. . . . . . . . . . . .

349

clear dhcp l2relay statistics interface . . . . . . . . .

350

11 DHCP Management Interface Commands 351

Commands in this Chapter. . . . . . . . . . . . . . . .

351

release dhcp . . . . . . . . . . . . . . . . . . . . . . .

352

renew dhcp . . . . . . . . . . . . . . . . . . . . . . .

353

debug dhcp packet . . . . . . . . . . . . . . . . . . .

354

show dhcp lease. . . . . . . . . . . . . . . . . . . . .

355

12 DHCP Snooping Commands . . .

.

.

.

.

. . . 359

 

 

Commands in this Chapter. . . . . . . .

.

.

.

.

. . . .

360

 

 

clear ip dhcp snooping binding . . . . .

.

.

.

.

. . . .

360

 

 

clear ip dhcp snooping statistics . . . .

.

.

.

.

. . . .

361

 

 

ip dhcp snooping. . . . . . . . . . . . .

.

.

.

.

. . . .

361

 

 

ip dhcp snooping binding . . . . . . . .

.

.

.

.

. . . .

362

 

 

ip dhcp snooping database . . . . . . .

.

.

.

.

. . . .

363

 

 

ip dhcp snooping database write-delay

.

.

.

.

. . . .

364

 

 

ip dhcp snooping limit . . . . . . . . . .

.

.

.

.

. . . .

365

 

 

ip dhcp snooping log-invalid . . . . . .

.

.

.

.

. . . .

366

 

 

ip dhcp snooping trust . . . . . . . . . .

.

.

.

.

. . . .

367

 

 

ip dhcp snooping verify mac-address . .

.

.

.

.

. . . .

367

 

 

 

 

 

 

 

Contents

 

 

9

 

 

 

 

 

 

show ip dhcp snooping . . . . . . . . . . . . . . . . .

368

show ip dhcp snooping binding . . . . . . . . . . . . .

369

show ip dhcp snooping database . . . . . . . . . . . .

370

show ip dhcp snooping interfaces . . . . . . . . . . .

371

show ip dhcp snooping statistics . . . . . . . . . . . .

372

13 Dynamic ARP Inspection Commands . . 375

Commands in this Chapter. . . . . . . . . . . . . . . .

375

arp access-list . . . . . . . . . . . . . . . . . . . . . .

375

clear ip arp inspection statistics . . . . . . . . . . . .

376

ip arp inspection filter . . . . . . . . . . . . . . . . . .

377

ip arp inspection limit . . . . . . . . . . . . . . . . . .

377

ip arp inspection trust . . . . . . . . . . . . . . . . . .

378

ip arp inspection validate . . . . . . . . . . . . . . . .

379

ip arp inspection vlan . . . . . . . . . . . . . . . . . .

380

permit ip host mac host . . . . . . . . . . . . . . . . .

381

show arp access-list . . . . . . . . . . . . . . . . . .

382

show ip arp inspection . . . . . . . . . . . . . . . . .

382

show ip arp inspection vlan . . . . . . . . . . . . . . .

385

14 E-mail Alerting Commands . . . . . . . . . . 387

Commands in this Chapter. . . . . . . . . . . . . . . . 387

Contents 10

logging email . . . . . . . . . . . . . . . . . . . . . .

388

logging email urgent. . . . . . . . . . . . . . . . . . .

390

logging traps . . . . . . . . . . . . . . . . . . . . . . .

391

logging email message-type to-addr . . . . . . . . . .

392

logging email from-addr . . . . . . . . . . . . . . . . .

393

logging email message-type subject . . . . . . . . . .

393

logging email logtime . . . . . . . . . . . . . . . . . .

394

logging email test message-type . . . . . . . . . . . .

395

show logging email statistics . . . . . . . . . . . . . .

396

clear logging email statistics . . . . . . . . . . . . . .

396

security. . . . . . . . . . . . . . . . . . . . . . . . . .

397

mail-server ip-address | hostname . . . . . . . . . . .

398

port (Mail Server Configuration Mode) . . . . . . . . .

399

username (Mail Server Configuration Mode) . . . . . .

399

password (Mail Server Configuration Mode) . . . . . .

400

show mail-server . . . . . . . . . . . . . . . . . . . .

401

15 Ethernet Configuration Commands . . . . 403

Commands in this Chapter. . . . . . . . . . . . . . . .

404

clear counters . . . . . . . . . . . . . . . . . . . . . .

404

description . . . . . . . . . . . . . . . . . . . . . . . .

405

duplex . . . . . . . . . . . . . . . . . . . . . . . . . .

406

Contents 11

flowcontrol. . . . . . . . . . . . . . . . . . . . . . . .

407

interface . . . . . . . . . . . . . . . . . . . . . . . . .

408

interface range. . . . . . . . . . . . . . . . . . . . . .

409

mtu . . . . . . . . . . . . . . . . . . . . . . . . . . . .

410

show interfaces advertise . . . . . . . . . . . . . . . .

411

show interfaces configuration . . . . . . . . . . . . .

413

show interfaces counters . . . . . . . . . . . . . . . .

415

show interfaces description. . . . . . . . . . . . . . .

418

show interfaces detail. . . . . . . . . . . . . . . . . .

419

show interfaces status . . . . . . . . . . . . . . . . .

421

show statistics. . . . . . . . . . . . . . . . . . . . . .

423

show statistics switchport . . . . . . . . . . . . . . .

426

show storm-control . . . . . . . . . . . . . . . . . . .

428

shutdown. . . . . . . . . . . . . . . . . . . . . . . . .

429

speed . . . . . . . . . . . . . . . . . . . . . . . . . . .

429

storm-control broadcast . . . . . . . . . . . . . . . . .

431

storm-control multicast . . . . . . . . . . . . . . . . .

432

storm-control unicast . . . . . . . . . . . . . . . . . .

433

switchport protected . . . . . . . . . . . . . . . . . .

434

switchport protected name . . . . . . . . . . . . . . .

435

show switchport protected . . . . . . . . . . . . . . .

436

Contents 12

Contents

16 Ethernet CFM Commands . . . . . . . . . . .

437

Commands in this Chapter. . . . . . . . . . . . . . . .

437

ethernet cfm domain . . . . . . . . . . . . . . . . . . .

438

service . . . . . . . . . . . . . . . . . . . . . . . . . .

439

ethernet cfm cc level . . . . . . . . . . . . . . . . . .

440

ethernet cfm mep level . . . . . . . . . . . . . . . . .

441

ethernet cfm mep enable . . . . . . . . . . . . . . . .

442

ethernet cfm mep active . . . . . . . . . . . . . . . . .

443

ethernet cfm mep archive-hold-time . . . . . . . . . .

444

ethernet cfm mip level . . . . . . . . . . . . . . . . . .

444

ping ethernet cfm . . . . . . . . . . . . . . . . . . . .

445

traceroute ethernet cfm . . . . . . . . . . . . . . . . .

446

show ethernet cfm errors . . . . . . . . . . . . . . . .

448

show ethernet cfm domain . . . . . . . . . . . . . . .

448

show ethernet cfm maintenance-points local . . . . .

449

show ethernet cfm maintenance-points remote . . . .

451

show ethernet cfm statistics . . . . . . . . . . . . . .

452

debug cfm . . . . . . . . . . . . . . . . . . . . . . . .

453

17 GVRP Commands . . . . . . . . . . . . . . . . . . 457

Commands in this Chapter. . . . . . . . . . . . . . . . 457

13

clear gvrp statistics . . . . . . . . . . . . . . . . . . .

457

garp timer . . . . . . . . . . . . . . . . . . . . . . . .

458

gvrp enable (global) . . . . . . . . . . . . . . . . . . .

459

gvrp enable (interface) . . . . . . . . . . . . . . . . .

460

gvrp registration-forbid . . . . . . . . . . . . . . . . .

461

gvrp vlan-creation-forbid . . . . . . . . . . . . . . . .

462

show gvrp configuration. . . . . . . . . . . . . . . . .

463

show gvrp error-statistics . . . . . . . . . . . . . . . .

464

show gvrp statistics . . . . . . . . . . . . . . . . . . .

465

18 IGMP Snooping Commands . . . . . . . . .

. 467

 

 

Commands in this Chapter. . . . . . . . . . . . . .

. .

468

 

 

ip igmp snooping. . . . . . . . . . . . . . . . . . .

. .

468

 

 

show ip igmp snooping . . . . . . . . . . . . . . .

. .

470

 

 

show ip igmp snooping groups . . . . . . . . . . .

. .

471

 

 

show ip igmp snooping mrouter. . . . . . . . . . .

. .

472

 

 

ip igmp snooping vlan immediate-leave . . . . . .

. .

473

 

 

ip igmp snooping vlan groupmembership-interval .

. .

474

 

 

ip igmp snooping vlan last-member-query-interval

. .

475

 

 

ip igmp snooping vlan mcrtrexpiretime . . . . . . .

. .

476

 

 

ip igmp snooping report-suppression . . . . . . . .

. .

477

 

 

ip igmp snooping unregistered floodall . . . . . . .

. .

478

 

 

Contents

 

 

14

 

ip igmp snooping vlan mrouter . . . . . . . . . . . . . 478

19 IGMP Snooping Querier Commands . . .

481

Commands in this Chapter. . . . . . . . . . . . . . . .

481

ip igmp snooping querier . . . . . . . . . . . . . . . .

481

ip igmp snooping querier election participate . . . . .

483

ip igmp snooping querier query-interval . . . . . . . .

484

ip igmp snooping querier timer expiry . . . . . . . . .

484

ip igmp snooping querier version . . . . . . . . . . . .

485

show ip igmp snooping querier . . . . . . . . . . . . .

486

20 IP Addressing Commands .

.

.

.

.

.

.

.

. . . 489

 

 

Commands in this Chapter. . . . .

.

.

.

.

.

.

.

. . . .

489

 

 

clear host . . . . . . . . . . . . .

.

.

.

.

.

.

.

. . . .

490

 

 

clear ip address-conflict-detect .

.

.

.

.

.

.

.

. . . .

490

 

 

interface out-of-band . . . . . . .

.

.

.

.

.

.

.

. . . .

491

 

 

ip address (Out-of-Band) . . . . .

.

.

.

.

.

.

.

. . . .

492

 

 

ip address-conflict-detect run. . .

.

.

.

.

.

.

.

. . . .

493

 

 

ip address dhcp (Interface Config)

.

.

.

.

.

.

.

. . . .

494

 

 

ip default-gateway. . . . . . . . .

.

.

.

.

.

.

.

. . . .

495

 

 

ip domain-lookup . . . . . . . . .

.

.

.

.

.

.

.

. . . .

496

 

 

ip domain-name . . . . . . . . . .

.

.

.

.

.

.

.

. . . .

497

 

 

 

 

 

 

 

 

 

 

Contents

 

 

15

 

 

 

 

 

 

 

 

 

ip host . . . . . . . . . . . . . . . . . . . . . . . . . .

498

ip name-server . . . . . . . . . . . . . . . . . . . . . .

498

ipv6 address (Interface Config) . . . . . . . . . . . . .

499

ipv6 address (OOB Port) . . . . . . . . . . . . . . . . .

501

ipv6 address dhcp . . . . . . . . . . . . . . . . . . . .

502

ipv6 enable (Interface Config) . . . . . . . . . . . . . .

503

ipv6 enable (OOB Config) . . . . . . . . . . . . . . . .

504

ipv6 gateway (OOB Config) . . . . . . . . . . . . . . .

504

show hosts . . . . . . . . . . . . . . . . . . . . . . . .

505

show ip address-conflict . . . . . . . . . . . . . . . .

506

show ip helper-address . . . . . . . . . . . . . . . . .

507

show ipv6 dhcp interface out-of-band statistics . . . .

508

show ipv6 interface out-of-band . . . . . . . . . . . .

509

21 IPv6 Access List Commands . . . . . . . . . 511

Commands in this Chapter. . . . . . . . . . . . . . . .

511

deny | permit (IPv6 ACL) . . . . . . . . . . . . . . . . .

512

ipv6 access-list . . . . . . . . . . . . . . . . . . . . .

514

ipv6 access-list rename . . . . . . . . . . . . . . . . .

515

ipv6 traffic-filter . . . . . . . . . . . . . . . . . . . . .

516

show ipv6 access-lists . . . . . . . . . . . . . . . . .

517

Contents 16

22 IPv6 MLD Snooping Commands . . . . . . . 521

Commands in this Chapter. . . . . . . . . . . . . . . .

521

ipv6 mld snooping vlan groupmembership-interval . .

522

ipv6 mld snooping vlan immediate-leave . . . . . . . .

522

ipv6 mld snooping listener-message-suppression . . .

523

ipv6 mld snooping vlan last-listener-query-interval . .

524

ipv6 mld snooping vlan mcrtexpiretime. . . . . . . . .

525

ipv6 mld snooping vlan mrouter . . . . . . . . . . . . .

526

ipv6 mld snooping (Global) . . . . . . . . . . . . . . .

526

show ipv6 mld snooping . . . . . . . . . . . . . . . . .

527

show ipv6 mld snooping groups. . . . . . . . . . . . .

529

show ipv6 mld snooping mrouter . . . . . . . . . . . .

530

23 IPv6 MLD Snooping Querier Commands 533

Commands in this Chapter. . . . . . . . . . . . . . . .

533

ipv6 mld snooping querier . . . . . . . . . . . . . . . .

534

ipv6 mld snooping querier (VLAN mode) . . . . . . . .

534

ipv6 mld snooping querier address . . . . . . . . . . .

535

ipv6 mld snooping querier election participate. . . . .

536

ipv6 mld snooping querier query-interval. . . . . . . .

537

ipv6 mld snooping querier timer expiry . . . . . . . . .

537

Contents 17

show ipv6 mld snooping querier . . . . . . . . . . . . 538

24 IP Source Guard Commands . . . . . . . . .

541

Commands in this Chapter. . . . . . . . . . . . . . . .

541

ip verify source . . . . . . . . . . . . . . . . . . . . .

541

ip verify source port-security . . . . . . . . . . . . . .

542

ip verify binding . . . . . . . . . . . . . . . . . . . . .

543

show ip verify interface . . . . . . . . . . . . . . . . .

543

show ip verify source interface . . . . . . . . . . . . .

544

show ip source binding . . . . . . . . . . . . . . . . .

544

25 iSCSI Optimization Commands . . . . . . .

547

Commands in this Chapter. . . . . . . . . . . . . . . .

548

iscsi aging time . . . . . . . . . . . . . . . . . . . . .

548

iscsi cos . . . . . . . . . . . . . . . . . . . . . . . . .

549

iscsi enable . . . . . . . . . . . . . . . . . . . . . . .

551

iscsi target port . . . . . . . . . . . . . . . . . . . . .

552

show iscsi . . . . . . . . . . . . . . . . . . . . . . . .

554

show iscsi sessions . . . . . . . . . . . . . . . . . . .

555

26 Link Dependency Commands . . . . . . . . 559

Commands in this Chapter. . . . . . . . . . . . . . . . 559

Contents 18

action. . . . . . . . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

559

 

 

link-dependency group . . . .

.

.

.

.

.

. .

.

.

. . . .

560

 

 

add gigabitethernet . . . . . .

.

.

.

.

.

. .

.

.

. . . .

561

 

 

add tengigabitethernet . . . .

.

.

.

.

.

. .

.

.

. . . .

561

 

 

add port-channel. . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

562

 

 

depends-on. . . . . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

563

 

 

show link-dependency . . . .

.

.

.

.

.

. .

.

.

. . . .

564

 

 

27 LLDP Commands . . . . . .

.

.

.

.

.

. .

.

.

. . . 567

 

 

Commands in this Chapter. . .

.

.

.

.

.

. .

.

.

. . . .

568

 

 

clear lldp remote-data . . . . .

.

.

.

.

.

. .

.

.

. . . .

568

 

 

clear lldp statistics . . . . . .

.

.

.

.

.

. .

.

.

. . . .

569

 

 

dcb enable . . . . . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

570

 

 

lldp med . . . . . . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

570

 

 

lldp med confignotification . .

.

.

.

.

.

. .

.

.

. . . .

571

 

 

lldp med faststartrepeatcount .

.

.

.

.

.

. .

.

.

. . . .

572

 

 

lldp med transmit-tlv. . . . . .

.

.

.

.

.

. .

.

.

. . . .

572

 

 

lldp notification . . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

573

 

 

lldp notification-interval. . . .

.

.

.

.

.

. .

.

.

. . . .

574

 

 

lldp receive . . . . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

575

 

 

lldp timers . . . . . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

575

 

 

lldp transmit . . . . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

577

 

 

 

 

 

 

 

 

 

 

 

Contents

 

 

19

 

 

 

 

 

 

 

 

 

 

lldp transmit-mgmt. . . . . . . . . . . . . . . . . . . .

577

lldp transmit-tlv . . . . . . . . . . . . . . . . . . . . .

578

show lldp. . . . . . . . . . . . . . . . . . . . . . . . .

579

show lldp interface . . . . . . . . . . . . . . . . . . .

580

show lldp local-device . . . . . . . . . . . . . . . . .

581

show lldp med . . . . . . . . . . . . . . . . . . . . . .

582

show lldp med interface. . . . . . . . . . . . . . . . .

583

show lldp med local-device detail . . . . . . . . . . .

584

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

587

show lldp remote-device . . . . . . . . . . . . . . . .

590

show lldp statistics . . . . . . . . . . . . . . . . . . .

591

28 Multicast VLAN Registration Commands 595

Commands in this Chapter. . . . . . . . . . . . . . . .

596

 

 

mvr . . . . . . . . . . . . . . . . . . . . . . . . . . . .

596

 

 

mvr group . . . . . . . . . . . . . . . . . . . . . . . .

597

 

 

mvr mode . . . . . . . . . . . . . . . . . . . . . . . . .

598

 

 

mvr querytime . . . . . . . . . . . . . . . . . . . . . .

598

 

 

mvr vlan . . . . . . . . . . . . . . . . . . . . . . . . .

600

 

 

mvr immediate . . . . . . . . . . . . . . . . . . . . . .

600

 

 

mvr type . . . . . . . . . . . . . . . . . . . . . . . . .

601

 

 

mvr vlan group . . . . . . . . . . . . . . . . . . . . . .

603

 

 

Contents

 

 

20

 

show mvr . . . . . . . . . . . . . . . . . . . . . . . . .

604

show mvr members . . . . . . . . . . . . . . . . . . .

605

show mvr interface . . . . . . . . . . . . . . . . . . .

607

show mvr traffic . . . . . . . . . . . . . . . . . . . . .

608

29 Port Channel Commands . . . . . .

.

.

.

. . . 611

 

 

Static LAGS . . . . . . . . . . . . . . . .

.

.

.

. . . .

611

 

 

VLANs and LAGs . . . . . . . . . . . . . .

.

.

.

. . . .

612

 

 

LAG Thresholds . . . . . . . . . . . . . .

.

.

.

. . . .

612

 

 

Port Channels . . . . . . . . . . . . . . .

.

.

.

. . . .

613

 

 

LAG Hashing . . . . . . . . . . . . . . . .

.

.

.

. . . .

613

 

 

Enhanced LAG Hashing . . . . . . . . . .

.

.

.

. . . .

614

 

 

Manual Aggregation of LAGs . . . . . . .

.

.

.

. . . .

614

 

 

Manual Aggregation of LAGs . . . . . . .

.

.

.

. . . .

615

 

 

Flexible Assignment of Ports to LAGs . . .

.

.

.

. . . .

615

 

 

Commands in this Chapter. . . . . . . . .

.

.

.

. . . .

615

 

 

channel-group . . . . . . . . . . . . . . .

.

.

.

. . . .

615

 

 

interface port-channel. . . . . . . . . . .

.

.

.

. . . .

616

 

 

interface range port-channel . . . . . . .

.

.

.

. . . .

617

 

 

hashing-mode . . . . . . . . . . . . . . .

.

.

.

. . . .

618

 

 

lacp port-priority. . . . . . . . . . . . . .

.

.

.

. . . .

619

 

 

lacp system-priority . . . . . . . . . . . .

.

.

.

. . . .

620

 

 

 

 

 

 

Contents

 

 

21

 

 

 

 

 

lacp timeout . . . . . . . . . . . . . . . . . . . . . . .

620

port-channel local-preference . . . . . . . . . . . . .

621

port-channel min-links . . . . . . . . . . . . . . . . .

622

show interfaces port-channel . . . . . . . . . . . . . .

623

show lacp . . . . . . . . . . . . . . . . . . . . . . . .

624

show statistics port-channel . . . . . . . . . . . . . .

626

30 Port Monitor Commands .

.

.

.

. . .

.

.

. . .

631

 

 

Commands in this Chapter. . . .

.

.

.

. . .

.

.

. . . .

631

 

 

monitor session . . . . . . . . .

.

.

.

. . .

.

.

. . . .

632

 

 

show monitor session . . . . . .

.

.

.

. . .

.

.

. . . .

633

 

 

31 QoS Commands . . . . . . . .

.

.

.

. . .

.

.

. . .

635

 

 

Access Control Lists . . . . . . .

.

.

.

. . .

.

.

. . . .

635

 

 

Layer 2 ACLs . . . . . . . . . . .

.

.

.

. . .

.

.

. . . .

636

 

 

Layer 3/4 IPv4 ACLs . . . . . . .

.

.

.

. . .

.

.

. . . .

636

 

 

Class of Service (CoS) . . . . . .

.

.

.

. . .

.

.

. . . .

636

 

 

Queue Mapping . . . . . . . . .

.

.

.

. . .

.

.

. . . .

637

 

 

Commands in this Chapter. . . .

.

.

.

. . .

.

.

. . . .

638

 

 

assign-queue. . . . . . . . . . .

.

.

.

. . .

.

.

. . . .

639

 

 

class . . . . . . . . . . . . . . .

.

.

.

. . .

.

.

. . . .

639

 

 

class-map . . . . . . . . . . . .

.

.

.

. . .

.

.

. . . .

640

 

 

 

 

 

 

 

 

 

Contents

 

22

 

 

 

 

 

 

 

 

class-map rename . . . . . . . . . . . . . . . . . . . .

641

classofservice dot1p-mapping . . . . . . . . . . . . .

642

classofservice ip-dscp-mapping . . . . . . . . . . . .

643

classofservice trust . . . . . . . . . . . . . . . . . . .

646

conform-color . . . . . . . . . . . . . . . . . . . . . .

647

cos-queue min-bandwidth . . . . . . . . . . . . . . .

649

cos-queue random-detect . . . . . . . . . . . . . . . .

650

cos-queue strict . . . . . . . . . . . . . . . . . . . . .

652

diffserv . . . . . . . . . . . . . . . . . . . . . . . . . .

653

drop. . . . . . . . . . . . . . . . . . . . . . . . . . . .

654

mark cos . . . . . . . . . . . . . . . . . . . . . . . . .

654

mark ip-dscp . . . . . . . . . . . . . . . . . . . . . . .

655

mark ip-precedence . . . . . . . . . . . . . . . . . . .

656

match class-map. . . . . . . . . . . . . . . . . . . . .

657

match cos . . . . . . . . . . . . . . . . . . . . . . . .

658

match destination-address mac. . . . . . . . . . . . .

659

match dstip. . . . . . . . . . . . . . . . . . . . . . . .

660

match dstip6 . . . . . . . . . . . . . . . . . . . . . . .

660

match dstl4port . . . . . . . . . . . . . . . . . . . . .

661

match ethertype . . . . . . . . . . . . . . . . . . . . .

662

match ip6flowlbl . . . . . . . . . . . . . . . . . . . . .

663

Contents 23

match ip dscp . . . . . . . . . . . . . . . . . . . . . .

663

match ip precedence . . . . . . . . . . . . . . . . . .

664

match ip tos . . . . . . . . . . . . . . . . . . . . . . .

665

match protocol . . . . . . . . . . . . . . . . . . . . . .

666

match source-address mac . . . . . . . . . . . . . . .

667

match srcip. . . . . . . . . . . . . . . . . . . . . . . .

668

match srcip6 . . . . . . . . . . . . . . . . . . . . . . .

668

match srcl4port . . . . . . . . . . . . . . . . . . . . .

669

match vlan . . . . . . . . . . . . . . . . . . . . . . . .

670

mirror. . . . . . . . . . . . . . . . . . . . . . . . . . .

671

police-simple . . . . . . . . . . . . . . . . . . . . . .

671

police-two-rate . . . . . . . . . . . . . . . . . . . . .

673

policy-map . . . . . . . . . . . . . . . . . . . . . . . .

674

random-detect queue-parms . . . . . . . . . . . . . .

675

random-detect exponential-weighting-constant . . . .

678

redirect. . . . . . . . . . . . . . . . . . . . . . . . . .

678

service-policy . . . . . . . . . . . . . . . . . . . . . .

679

show class-map . . . . . . . . . . . . . . . . . . . . .

680

show classofservice dot1p-mapping . . . . . . . . . .

682

show classofservice ip-dscp-mapping . . . . . . . . .

683

show classofservice trust . . . . . . . . . . . . . . . .

686

Contents 24

show diffserv. . . . . . . . . . . . . . . . . . . . . . .

687

show diffserv service interface . . . . . . . . . . . . .

688

show diffserv service interface port-channel . . . . .

689

show diffserv service brief . . . . . . . . . . . . . . .

690

show interfaces cos-queue . . . . . . . . . . . . . . .

691

show interfaces random-detect . . . . . . . . . . . . .

693

show policy-map . . . . . . . . . . . . . . . . . . . .

694

show policy-map interface . . . . . . . . . . . . . . .

695

show service-policy . . . . . . . . . . . . . . . . . . .

696

traffic-shape . . . . . . . . . . . . . . . . . . . . . . .

697

32 RADIUS Commands . . . . . . . . .

. .

.

.

. . . 699

 

 

Commands in this Chapter. . . . . . . .

. .

.

.

. . . .

702

 

 

aaa accounting dot1x default start-stop

. .

.

.

. . . .

703

 

 

accounting . . . . . . . . . . . . . . . .

. .

.

.

. . . .

705

 

 

acct-port . . . . . . . . . . . . . . . . .

. .

.

.

. . . .

706

 

 

auth-port . . . . . . . . . . . . . . . . .

. .

.

.

. . . .

707

 

 

deadtime . . . . . . . . . . . . . . . . .

. .

.

.

. . . .

707

 

 

debug aaa accounting . . . . . . . . . .

. .

.

.

. . . .

708

 

 

key . . . . . . . . . . . . . . . . . . . .

. .

.

.

. . . .

709

 

 

msgauth . . . . . . . . . . . . . . . . .

. .

.

.

. . . .

710

 

 

name (RADIUS server) . . . . . . . . . .

. .

.

.

. . . .

710

 

 

 

 

 

 

Contents

 

 

25

 

 

 

 

 

primary . . . . . . . . . . . . . . . . . . . . . . . . . .

712

priority . . . . . . . . . . . . . . . . . . . . . . . . . .

712

radius-server attribute 4 . . . . . . . . . . . . . . . . .

713

radius-server deadtime . . . . . . . . . . . . . . . . .

714

radius-server host . . . . . . . . . . . . . . . . . . . .

715

radius-server key . . . . . . . . . . . . . . . . . . . .

716

radius-server retransmit. . . . . . . . . . . . . . . . .

717

radius-server source-ip . . . . . . . . . . . . . . . . .

718

radius-server timeout . . . . . . . . . . . . . . . . . .

718

retransmit . . . . . . . . . . . . . . . . . . . . . . . .

719

show aaa servers . . . . . . . . . . . . . . . . . . . .

720

show accounting methods . . . . . . . . . . . . . . .

722

show radius statistics . . . . . . . . . . . . . . . . . .

723

source-ip . . . . . . . . . . . . . . . . . . . . . . . . .

727

timeout . . . . . . . . . . . . . . . . . . . . . . . . . .

728

usage . . . . . . . . . . . . . . . . . . . . . . . . . . .

728

33 Spanning Tree Commands . . . . . . . . . . . 731

Commands in this Chapter. . . . . . . . . . . . . . . . 732

clear spanning-tree detected-protocols . . . . . . . . 733

exit (mst) . . . . . . . . . . . . . . . . . . . . . . . . . 734 instance (mst) . . . . . . . . . . . . . . . . . . . . . . 734

Contents 26

name (mst) . . . . . . . . . . . . . . . . . . . . . . . .

736

revision (mst). . . . . . . . . . . . . . . . . . . . . . .

737

show spanning-tree . . . . . . . . . . . . . . . . . . .

737

show spanning-tree summary . . . . . . . . . . . . . .

741

spanning-tree . . . . . . . . . . . . . . . . . . . . . .

743

spanning-tree auto-portfast . . . . . . . . . . . . . . .

743

spanning-tree bpdu flooding . . . . . . . . . . . . . .

744

spanning-tree bpdu-protection . . . . . . . . . . . . .

745

spanning-tree cost . . . . . . . . . . . . . . . . . . . .

746

spanning-tree disable . . . . . . . . . . . . . . . . . .

747

spanning-tree forward-time . . . . . . . . . . . . . . .

747

spanning-tree guard . . . . . . . . . . . . . . . . . . .

748

spanning-tree loopguard . . . . . . . . . . . . . . . .

749

spanning-tree max-age . . . . . . . . . . . . . . . . .

750

spanning-tree max-hops. . . . . . . . . . . . . . . . .

751

spanning-tree mode . . . . . . . . . . . . . . . . . . .

751

spanning-tree mst configuration . . . . . . . . . . . .

752

spanning-tree mst cost . . . . . . . . . . . . . . . . .

753

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

754

spanning-tree mst priority . . . . . . . . . . . . . . . .

755

spanning-tree portfast . . . . . . . . . . . . . . . . . .

756

Contents 27

spanning-tree portfast bpdufilter default . . . . . . . .

757

spanning-tree portfast default. . . . . . . . . . . . . .

758

spanning-tree port-priority . . . . . . . . . . . . . . .

759

spanning-tree priority . . . . . . . . . . . . . . . . . .

759

spanning-tree tcnguard . . . . . . . . . . . . . . . . .

760

spanning-tree transmit hold-count . . . . . . . . . . .

761

34 TACACS+ Commands . . . . . . . . . . . . . . . 763

Commands in this Chapter. . . . . . . . . . . . . . . .

763

key . . . . . . . . . . . . . . . . . . . . . . . . . . . .

764

port . . . . . . . . . . . . . . . . . . . . . . . . . . . .

764

priority . . . . . . . . . . . . . . . . . . . . . . . . . .

765

show tacacs . . . . . . . . . . . . . . . . . . . . . . .

766

tacacs-server host . . . . . . . . . . . . . . . . . . . .

767

tacacs-server key . . . . . . . . . . . . . . . . . . . .

768

tacacs-server timeout . . . . . . . . . . . . . . . . . .

769

timeout . . . . . . . . . . . . . . . . . . . . . . . . . .

769

35 UDLD Commands . . . . . . . . . . . . . . . . . . 771

Detecting Unidirectional Links on a Device Port . . . . 771

Processing UDLD Traffic from Neighbors . . . . . . . . 772

UDLD in Normal-mode . . . . . . . . . . . . . . . . . . 772

Contents 28

UDLD in Aggressive-mode. . .

.

.

.

.

.

. .

.

.

. . . .

772

 

 

Commands in this Chapter. . .

.

.

.

.

.

. .

.

.

. . . .

773

 

 

udld enable (Global Config) . .

.

.

.

.

.

. .

.

.

. . . .

773

 

 

udld reset . . . . . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

774

 

 

udld message time . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

775

 

 

udld timeout interval. . . . . .

.

.

.

.

.

. .

.

.

. . . .

775

 

 

udld enable (Interface Config).

.

.

.

.

.

. .

.

.

. . . .

776

 

 

udld port . . . . . . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

777

 

 

show udld . . . . . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

778

 

 

debug udld . . . . . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

779

 

 

36 VLAN Commands . . . . . .

.

.

.

.

.

. .

.

.

. . . 781

 

 

Double VLAN Mode . . . . . .

.

.

.

.

.

. .

.

.

. . . .

781

 

 

Independent VLAN Learning. .

.

.

.

.

.

. .

.

.

. . . .

782

 

 

Protocol Based VLANs. . . . .

.

.

.

.

.

. .

.

.

. . . .

782

 

 

IP Subnet Based VLANs . . . .

.

.

.

.

.

. .

.

.

. . . .

783

 

 

MAC-Based VLANs . . . . . .

.

.

.

.

.

. .

.

.

. . . .

783

 

 

Private VLAN Commands . . .

.

.

.

.

.

. .

.

.

. . . .

783

 

 

Commands in this Chapter. . .

.

.

.

.

.

. .

.

.

. . . .

786

 

 

dvlan-tunnel ethertype. . . . .

.

.

.

.

.

. .

.

.

. . . .

787

 

 

interface vlan . . . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

788

 

 

interface range vlan . . . . . .

.

.

.

.

.

. .

.

.

. . . .

789

 

 

 

 

 

 

 

 

 

 

 

Contents

 

 

29

 

 

 

 

 

 

 

 

 

 

mode dvlan-tunnel . . . . . . . . . . . . . . . . . . . .

790

name (VLAN Configuration) . . . . . . . . . . . . . . .

791

protocol group . . . . . . . . . . . . . . . . . . . . . .

792

protocol vlan group . . . . . . . . . . . . . . . . . . .

793

protocol vlan group all. . . . . . . . . . . . . . . . . .

794

show dvlan-tunnel . . . . . . . . . . . . . . . . . . . .

795

show dvlan-tunnel interface . . . . . . . . . . . . . .

796

show interfaces switchport . . . . . . . . . . . . . . .

797

show port protocol. . . . . . . . . . . . . . . . . . . .

801

show vlan . . . . . . . . . . . . . . . . . . . . . . . .

802

show vlan association mac . . . . . . . . . . . . . . .

803

show vlan association subnet. . . . . . . . . . . . . .

804

switchport access vlan . . . . . . . . . . . . . . . . .

805

switchport general forbidden vlan . . . . . . . . . . .

806

switchport general acceptable-frame-type tagged-only

807

switchport general allowed vlan . . . . . . . . . . . .

808

switchport general ingress-filtering disable . . . . . .

809

switchport general pvid . . . . . . . . . . . . . . . . .

810

switchport mode . . . . . . . . . . . . . . . . . . . . .

811

switchport trunk . . . . . . . . . . . . . . . . . . . . .

812

vlan . . . . . . . . . . . . . . . . . . . . . . . . . . . .

814

Contents 30

Loading...
+ 1788 hidden pages