Dell PowerConnect M6348, PowerConnect M8024-K, PowerConnect M6220 Manual

0 (0)
Dell PowerConnect M6348, PowerConnect M8024-K, PowerConnect M6220 Manual

Dell PowerConnect

PCM6220, PCM6348, PCM8024,

PCM8024-k

CLI Reference Guide

Regulatory Model: PCM6220, PCM6348, PCM8024, PCM8024-k

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 PCM6220, PCM6348, PCM8024, PCM8024-k

2013 - March Rev. A04

Contents

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

77

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

77

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

77

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

81

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

83

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

118

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

120

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

147

2 Using the CLI . . . . . . . . . . . . . . . . . . . . . 169

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

169

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

169

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

179

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

192

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

200

Contents 3

3Layer 2 Switching Commands . . . . . . . . 241

4AAA Commands . . . . . . . . . . . . . . . . . . . 243

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

244

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

245

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

246

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

247

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

249

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

250

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

253

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

253

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

254

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

255

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

256

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

257

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

258

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

259

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

260

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

261

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

262

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

263

Contents 4

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

264

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

265

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

266

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

267

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

268

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

270

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

271

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

272

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

275

5 Administrative Profiles Commands . . . . 277

Overview . . . . . . . . . . . . . . . . . . . . . . . . . 277

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

admin-profile. . . . . . . . . . . . . . . . . . . . . . . 279

description (Administrative Profile Config) . . . . . . . 280

rule . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281

show admin-profiles. . . . . . . . . . . . . . . . . . . 282

show admin-profiles brief . . . . . . . . . . . . . . . . 283

show cli modes . . . . . . . . . . . . . . . . . . . . . 284

6 ACL Commands . . . . . . . . . . . . . . . . . . . 287

ACL Logging . . . . . . . . . . . . . . . . . . . . . . . 287

Contents 5

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

290

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

290

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

292

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

294

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

296

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

297

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

298

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

299

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

300

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

301

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

302

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

303

7 Address Table Commands . .

.

.

.

.

.

.

. . . 305

 

 

Commands in this Chapter. . . . . .

.

.

.

.

.

.

. . . .

306

 

 

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

.

.

.

.

.

.

. . . .

306

 

 

mac address-table aging-time . . .

.

.

.

.

.

.

. . . .

307

 

 

mac address-table multicast forbidden address . . . . 308

mac address-table static vlan . . . .

.

.

.

.

.

.

. . . .

309

 

 

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

.

.

.

.

.

.

. . . .

310

 

 

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

.

.

.

.

.

.

. . . .

311

 

 

show mac address-table multicast .

.

.

.

.

.

.

. . . .

312

 

 

 

 

 

 

 

 

 

Contents

 

 

6

 

 

 

 

 

 

 

 

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

313

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

315

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

316

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

317

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

318

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

319

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

320

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

321

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

323

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

.

.

. . .

325

 

 

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

.

.

. . . .

325

 

 

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

.

.

. . . .

326

 

 

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

.

.

. . . .

328

 

 

9 CDP Interoperability Commands .

.

.

. . .

331

 

 

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

.

.

. . . .

331

 

 

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

.

.

. . . .

331

 

 

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

.

.

. . . .

332

 

 

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

.

.

. . . .

332

 

 

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

.

.

. . . .

333

 

 

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

.

.

. . . .

334

 

 

 

 

 

Contents

 

7

 

 

 

 

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

335

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

335

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

336

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

338

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

339

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

341

10 DHCP Layer 2 Relay Commands

.

.

.

. . . 343

 

 

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

.

.

.

. . . .

343

 

 

dhcp l2relay (Global Configuration) . . . .

.

.

.

. . . .

343

 

 

dhcp l2relay (Interface Configuration) . .

.

.

.

. . . .

344

 

 

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

.

.

.

. . . .

345

 

 

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

.

.

.

. . . .

346

 

 

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

.

.

.

. . . .

346

 

 

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

.

.

.

. . . .

347

 

 

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

.

.

.

. . . .

348

 

 

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

.

.

.

. . . .

349

 

 

show dhcp l2relay stats interface. . . . .

.

.

.

. . . .

350

 

 

show dhcp l2relay subscription interface

.

.

.

. . . .

351

 

 

show dhcp l2relay agent-option vlan . . .

.

.

.

. . . .

351

 

 

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

.

.

.

. . . .

353

 

 

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

.

.

.

. . . .

354

 

 

 

 

 

 

Contents

 

 

8

 

 

 

 

 

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

355

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

356

11 DHCP Management Interface Commands 357

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

357

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

358

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

359

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

360

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

361

12 DHCP Snooping Commands . . .

.

.

.

.

. . . 365

 

 

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

.

.

.

.

. . . .

366

 

 

clear ip dhcp snooping binding . . . . .

.

.

.

.

. . . .

366

 

 

clear ip dhcp snooping statistics . . . .

.

.

.

.

. . . .

367

 

 

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

.

.

.

.

. . . .

367

 

 

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

.

.

.

.

. . . .

368

 

 

ip dhcp snooping database . . . . . . .

.

.

.

.

. . . .

369

 

 

ip dhcp snooping database write-delay

.

.

.

.

. . . .

370

 

 

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

.

.

.

.

. . . .

371

 

 

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

.

.

.

.

. . . .

372

 

 

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

.

.

.

.

. . . .

373

 

 

ip dhcp snooping verify mac-address . .

.

.

.

.

. . . .

373

 

 

 

 

 

 

 

Contents

 

 

9

 

 

 

 

 

 

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

374

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

375

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

376

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

377

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

378

13 Dynamic ARP Inspection Commands . . 381

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

381

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

381

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

382

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

383

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

383

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

384

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

385

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

386

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

387

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

388

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

388

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

391

14 E-mail Alerting Commands . . . . . . . . . . 393

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

Contents 10

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

394

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

396

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

397

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

398

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

399

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

399

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

400

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

401

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

402

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

402

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

403

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

404

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

405

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

405

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

406

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

407

15 Ethernet Configuration Commands . . . . 409

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

410

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

410

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

411

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

412

Contents 11

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

413

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

414

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

415

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

416

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

417

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

419

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

421

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

424

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

425

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

427

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

428

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

432

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

434

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

435

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

435

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

437

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

438

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

439

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

440

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

441

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

442

Contents 12

Contents

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

443

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

443

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

444

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

445

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

446

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

447

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

448

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

449

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

450

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

450

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

451

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

452

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

454

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

454

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

455

show ethernet cfm maintenance-points remote . . . .

457

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

458

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

459

17 GVRP Commands . . . . . . . . . . . . . . . . . . 463

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

13

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

463

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

464

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

465

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

466

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

467

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

468

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

468

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

470

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

471

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

. 473

 

 

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

. .

474

 

 

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

. .

474

 

 

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

. .

476

 

 

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

. .

477

 

 

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

. .

478

 

 

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

. .

479

 

 

ip igmp snooping vlan groupmembership-interval .

. .

480

 

 

ip igmp snooping vlan last-member-query-interval

. .

481

 

 

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

. .

482

 

 

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

. .

483

 

 

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

. .

484

 

 

Contents

 

 

14

 

ip igmp snooping vlan mrouter . . . . . . . . . . . . . 484

19 IGMP Snooping Querier Commands . . .

487

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

487

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

487

ip igmp snooping querier election participate . . . . .

489

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

490

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

490

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

491

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

492

20 IP Addressing Commands .

.

.

.

.

.

.

.

. . . 495

 

 

Commands in this Chapter. . . . .

.

.

.

.

.

.

.

. . . .

495

 

 

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

.

.

.

.

.

.

.

. . . .

496

 

 

clear ip address-conflict-detect .

.

.

.

.

.

.

.

. . . .

496

 

 

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

.

.

.

.

.

.

.

. . . .

497

 

 

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

.

.

.

.

.

.

.

. . . .

498

 

 

ip address-conflict-detect run. . .

.

.

.

.

.

.

.

. . . .

499

 

 

ip address dhcp (Interface Config)

.

.

.

.

.

.

.

. . . .

500

 

 

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

.

.

.

.

.

.

.

. . . .

501

 

 

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

.

.

.

.

.

.

.

. . . .

502

 

 

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

.

.

.

.

.

.

.

. . . .

503

 

 

 

 

 

 

 

 

 

 

Contents

 

 

15

 

 

 

 

 

 

 

 

 

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

504

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

504

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

505

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

507

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

508

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

508

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

509

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

511

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

512

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

513

21 IPv6 Access List Commands . . . . . . . . . 515

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

515

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

516

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

518

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

519

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

520

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

521

22 IPv6 MLD Snooping Commands . . . . . . . 525

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

ipv6 mld snooping vlan groupmembership-interval . . 526

Contents 16

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

526

ipv6 mld snooping listener-message-suppression . . .

527

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

528

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

529

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

530

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

530

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

531

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

533

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

534

23 IPv6 MLD Snooping Querier Commands 537

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

537

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

538

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

538

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

539

ipv6 mld snooping querier election participate. . . . .

540

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

541

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

541

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

542

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

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

Contents 17

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

545

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

546

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

547

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

547

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

548

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

548

25 iSCSI Optimization Commands

. .

.

.

. . .

551

 

 

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

. .

.

.

. . . .

552

 

 

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

. .

.

.

. . . .

552

 

 

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

. .

.

.

. . . .

553

 

 

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

. .

.

.

. . . .

555

 

 

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

. .

.

.

. . . .

556

 

 

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

. .

.

.

. . . .

558

 

 

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

. .

.

.

. . . .

559

 

 

26 Link Dependency Commands .

. .

.

.

. . .

563

 

 

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

. .

.

.

. . . .

563

 

 

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

. .

.

.

. . . .

563

 

 

link-dependency group . . . . . . . . .

. .

.

.

. . . .

564

 

 

add gigabitethernet . . . . . . . . . . .

. .

.

.

. . . .

565

 

 

add tengigabitethernet . . . . . . . . .

. .

.

.

. . . .

565

 

 

 

 

 

 

Contents

 

18

 

 

 

 

 

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

.

.

.

.

.

. .

.

.

. . . .

566

 

 

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

.

.

.

.

.

. .

.

.

. . . .

567

 

 

show link-dependency . . . .

.

.

.

.

.

. .

.

.

. . . .

568

 

 

27 LLDP Commands . . . . . .

.

.

.

.

.

. .

.

.

. . . 571

 

 

Commands in this Chapter. . .

.

.

.

.

.

. .

.

.

. . . .

572

 

 

clear lldp remote-data . . . . .

.

.

.

.

.

. .

.

.

. . . .

572

 

 

clear lldp statistics . . . . . .

.

.

.

.

.

. .

.

.

. . . .

573

 

 

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

.

.

.

.

.

. .

.

.

. . . .

574

 

 

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

.

.

.

.

.

. .

.

.

. . . .

574

 

 

lldp med confignotification . .

.

.

.

.

.

. .

.

.

. . . .

575

 

 

lldp med faststartrepeatcount .

.

.

.

.

.

. .

.

.

. . . .

576

 

 

lldp med transmit-tlv. . . . . .

.

.

.

.

.

. .

.

.

. . . .

576

 

 

lldp notification . . . . . . . .

.

.

.

.

.

. .

.

.

. . . .

577

 

 

lldp notification-interval. . . .

.

.

.

.

.

. .

.

.

. . . .

578

 

 

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

.

.

.

.

.

. .

.

.

. . . .

579

 

 

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

.

.

.

.

.

. .

.

.

. . . .

579

 

 

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

.

.

.

.

.

. .

.

.

. . . .

581

 

 

lldp transmit-mgmt. . . . . . .

.

.

.

.

.

. .

.

.

. . . .

581

 

 

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

.

.

.

.

.

. .

.

.

. . . .

582

 

 

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

.

.

.

.

.

. .

.

.

. . . .

583

 

 

show lldp interface . . . . . .

.

.

.

.

.

. .

.

.

. . . .

584

 

 

 

 

 

 

 

 

 

 

 

Contents

 

 

19

 

 

 

 

 

 

 

 

 

 

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

585

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

586

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

587

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

588

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

591

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

594

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

595

28 Multicast VLAN Registration Commands 599

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

600

 

 

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

600

 

 

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

601

 

 

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

602

 

 

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

602

 

 

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

604

 

 

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

604

 

 

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

605

 

 

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

607

 

 

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

608

 

 

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

609

 

 

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

611

 

 

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

612

 

 

Contents

 

 

20

 

29 Port Aggregator Commands . . . . . . . . .

615

add interface . . . . . . . . . . . . . . . . . . . . . . .

615

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

616

lacp auto . . . . . . . . . . . . . . . . . . . . . . . . .

617

lacp off . . . . . . . . . . . . . . . . . . . . . . . . . .

618

lacp static . . . . . . . . . . . . . . . . . . . . . . . .

618

minimum active uplinks . . . . . . . . . . . . . . . . .

619

mtu disable. . . . . . . . . . . . . . . . . . . . . . . .

620

negotiation . . . . . . . . . . . . . . . . . . . . . . . .

621

no lacp . . . . . . . . . . . . . . . . . . . . . . . . . .

621

port-aggregator group . . . . . . . . . . . . . . . . . .

622

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

623

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

624

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

624

30 Port Channel Commands . . . . . . . . . . . .

627

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

627

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

628

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

628

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

629

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

629

Contents 21

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

630

Manual Aggregation of LAGs . . . . . . . . . . . . . .

630

Manual Aggregation of LAGs . . . . . . . . . . . . . .

631

Flexible Assignment of Ports to LAGs . . . . . . . . . .

631

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

631

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

631

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

632

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

633

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

634

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

635

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

636

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

636

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

637

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

638

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

639

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

640

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

642

31 Port Monitor Commands . . . . . . . . . . . . 647

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

monitor session . . . . . . . . . . . . . . . . . . . . . 648

show monitor session . . . . . . . . . . . . . . . . . . 649

Contents 22

32 QoS Commands . . . . . . . . . . . . . . . . . . .

651

Access Control Lists . . . . . . . . . . . . . . . . . . .

651

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

652

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

652

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

652

Queue Mapping . . . . . . . . . . . . . . . . . . . . .

653

PCM6220 Limitations. . . . . . . . . . . . . . . . . . .

654

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

654

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

655

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

656

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

657

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

657

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

658

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

659

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

663

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

664

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

666

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

667

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

669

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

670

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

670

Contents 23

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

671

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

672

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

673

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

673

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

675

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

675

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

676

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

677

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

678

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

678

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

679

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

680

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

681

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

682

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

683

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

683

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

684

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

685

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

686

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

687

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

687

Contents 24

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

688

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

689

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

691

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

692

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

695

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

695

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

696

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

697

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

699

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

700

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

703

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

704

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

705

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

706

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

707

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

708

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

710

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

711

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

711

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

713

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

714

Contents 25

33 RADIUS Commands . . . . . . . . . . . . . . . . 717

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

720

aaa accounting dot1x default start-stop . . . . . . . .

721

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

723

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

724

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

725

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

725

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

726

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

727

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

728

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

728

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

730

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

730

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

731

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

732

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

733

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

734

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

735

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

736

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

736

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

737

Contents 26

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

738

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

740

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

741

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

745

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

746

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

746

34 Spanning Tree Commands . . . .

. .

.

.

. . . 749

 

 

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

. .

.

.

. . . .

750

 

 

clear spanning-tree detected-protocols

. .

.

.

. . . .

751

 

 

exit (mst) . . . . . . . . . . . . . . . . .

. .

.

.

. . . .

752

 

 

instance (mst) . . . . . . . . . . . . . .

. .

.

.

. . . .

752

 

 

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

. .

.

.

. . . .

754

 

 

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

. .

.

.

. . . .

755

 

 

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

. .

.

.

. . . .

755

 

 

show spanning-tree summary . . . . . .

. .

.

.

. . . .

759

 

 

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

. .

.

.

. . . .

760

 

 

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

. .

.

.

. . . .

761

 

 

spanning-tree bpdu flooding . . . . . .

. .

.

.

. . . .

762

 

 

spanning-tree bpdu-protection . . . . .

. .

.

.

. . . .

762

 

 

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

. .

.

.

. . . .

763

 

 

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

. .

.

.

. . . .

765

 

 

 

 

 

 

Contents

 

 

27

 

 

 

 

 

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

765

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

766

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

767

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

768

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

769

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

769

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

770

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

771

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

772

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

773

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

774

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

775

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

776

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

777

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

777

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

778

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

779

35 TACACS+ Commands . . . . . . . . . . . . . . . 781

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

781

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

782

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

782

Contents 28

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

783

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

784

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

785

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

786

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

787

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

787

36 UDLD Commands . . . . . . . . . . . . . . . . . . 789

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

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

790

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

790

UDLD in Aggressive-mode. . . . . . . . . . . . . . . .

790

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

791

udld enable (Global Config) . . . . . . . . . . . . . . .

791

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

792

udld message time . . . . . . . . . . . . . . . . . . . .

793

udld timeout interval. . . . . . . . . . . . . . . . . . .

793

udld enable (Interface Config). . . . . . . . . . . . . .

794

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

795

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

796

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

797

Contents 29

37 VLAN Commands . . . . . . . . . . . . . . . . . . 799

Double VLAN Mode . . . . . . . . . . . . . . . . . . .

799

Independent VLAN Learning. . . . . . . . . . . . . . .

800

Protocol Based VLANs. . . . . . . . . . . . . . . . . .

800

IP Subnet Based VLANs . . . . . . . . . . . . . . . . .

801

MAC-Based VLANs . . . . . . . . . . . . . . . . . . .

801

Private VLAN Commands . . . . . . . . . . . . . . . .

801

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

804

dvlan-tunnel ethertype. . . . . . . . . . . . . . . . . .

805

interface vlan . . . . . . . . . . . . . . . . . . . . . .

806

interface range vlan . . . . . . . . . . . . . . . . . . .

807

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

808

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

809

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

810

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

811

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

812

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

813

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

814

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

815

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

819

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

820

Contents 30

Loading...
+ 1806 hidden pages