Dell PC7048R-RA, PC7048R, PC7048, PC7048P, PC7024 User Manual

...
0 (0)
Dell PC7048R-RA, PC7048R, PC7048, PC7048P, PC7024 User Manual

Dell PowerConnect

7000 Series Systems

CLI Reference Guide

Regulatory Model: PC7024, PC7024F,

PC7024P, PC7048, PC7048P, PC7048R, and

PC7048R-RA

Regulatory Type: XXXXX

Notes

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

____________________

Information in this publication is subject to change without notice. © 2011 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 PC7024, PC7024F, PC7024P, PC7048, PC7048P, PC7048R, and PC7048R-RA

Regulatory Type: XXXXX

2011 - October P/N XXXXX Rev. A03

Contents

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

75

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

75

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

76

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

79

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

81

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

115

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

142

2 Using the CLI . . . . . . . . . . . . . . . . . . . . . 165

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

165

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

165

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

175

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

188

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

196

Contents 3

3Layer 2 Switching Commands . . . . . . . . 237

4AAA Commands . . . . . . . . . . . . . . . . . . . 239

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

240

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

240

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

242

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

243

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

245

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

246

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

247

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

247

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

248

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

249

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

250

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

251

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

252

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

253

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

254

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

255

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

256

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

257

4 Contents

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

258

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

260

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

261

username password encrypted . . . . . . . . . . . . .

262

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

264

5 ACL Commands . . . . . . . . . . . . . . . . . . .

267

ACL Logging . . . . . . . . . . . . . . . . . . . . . . .

267

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

270

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

270

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

272

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

274

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

276

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

277

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

278

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

279

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

280

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

281

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

282

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

283

Contents 5

6 Address Table Commands . . . . . . . .

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

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

mac address-table aging-time. . . . . . . . . .

mac address-table multicast filtering . . . . . .

mac address-table multicast forbidden address mac address-table multicast forbidden forward-unregistered . . . . . . . . . . . . . .

mac address-table multicast forward-all . . . .

mac address-table multicast forward-unregistered . . . . . . . . . . . . . .

mac address-table multicast static . . . . . . .

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

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

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

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

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

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

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

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

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

. . . 285

. . .

285

. . .

286

. . .

287

. . .

288

. . .

289

. . .

290

. . .

291

. . .

292

. . .

293

. . .

295

. . .

296

. . .

297

. . .

297

. . .

299

. . .

300

. . .

301

. . .

302

. . .

303

6 Contents

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

305

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

306

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

307

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

308

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

309

7 Auto-VoIP Commands . . . . . . . . .

.

.

. . .

311

 

 

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

.

.

. . . .

311

 

 

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

.

.

. . . .

312

 

 

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

.

.

. . . .

314

 

 

8 CDP Interoperability Commands .

.

.

. . .

317

 

 

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

.

.

. . . .

317

 

 

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

.

.

. . . .

317

 

 

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

.

.

. . . .

318

 

 

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

.

.

. . . .

318

 

 

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

.

.

. . . .

319

 

 

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

.

.

. . . .

320

 

 

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

.

.

. . . .

321

 

 

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

.

.

. . . .

321

 

 

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

.

.

. . . .

322

 

 

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

.

.

. . . .

324

 

 

 

 

 

Contents

 

7

 

 

 

 

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

325

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

327

9 DHCP Layer 2 Relay Commands . . . . . . . 329

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

329

dhcp l2relay (Global Configuration) . . . . . . . . . .

329

dhcp l2relay (Interface Configuration). . . . . . . . .

330

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

331

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

332

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

332

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

333

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

334

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

335

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

336

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

337

show dhcp l2relay agent-option vlan . . . . . . . . .

338

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

339

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

340

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

341

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

342

8 Contents

10DHCP Management Interface

Commands . . . . . . . . . . . . . . . . . . . . . . . 345

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

345

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

346

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

347

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

348

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

349

11 DHCP Snooping Commands . . .

.

.

.

.

. . . 353

 

 

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

.

.

.

.

. . . .

353

 

 

clear ip dhcp snooping binding . . . . .

.

.

.

.

. . . .

354

 

 

clear ip dhcp snooping statistics . . . .

.

.

.

.

. . . .

355

 

 

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

.

.

.

.

. . . .

355

 

 

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

.

.

.

.

. . . .

356

 

 

ip dhcp snooping database . . . . . . .

.

.

.

.

. . . .

357

 

 

ip dhcp snooping database write-delay

.

.

.

.

. . . .

358

 

 

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

.

.

.

.

. . . .

359

 

 

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

.

.

.

.

. . . .

360

 

 

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

.

.

.

.

. . . .

360

 

 

ip dhcp snooping verify mac-address . .

.

.

.

.

. . . .

361

 

 

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

.

.

.

.

. . . .

362

 

 

show ip dhcp snooping binding . . . . .

.

.

.

.

. . . .

363

 

 

 

 

 

 

 

Contents

 

 

9

 

 

 

 

 

 

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

364

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

365

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

366

12 Dynamic ARP Inspection Commands . . . 369

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

369

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

369

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

370

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

371

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

371

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

372

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

373

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

374

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

375

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

376

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

376

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

379

13 Email Alerting Commands . . . . . . . . . . . 383

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

383

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

384

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

386

10 Contents

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

387

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

388

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

389

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

389

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

390

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

391

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

392

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

392

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

393

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

394

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

395

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

395

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

396

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

397

14 Ethernet Configuration Commands . . . . 399

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

400

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

400

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

401

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

402

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

403

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

403

Contents 11

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

404

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

406

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

407

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

408

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

409

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

413

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

414

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

417

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

418

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

423

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

425

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

426

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

427

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

428

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

429

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

430

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

431

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

432

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

432

15 Ethernet CFM Commands . . . . . . . . . . . . 435

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

12 Contents

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

436

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

437

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

438

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

439

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

440

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

441

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

442

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

442

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

443

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

444

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

446

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

446

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

447

show ethernet cfm maintenance-points remote . . . .

448

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

450

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

451

16 Green Ethernet Commands .

. . .

.

.

.

. . . 455

 

 

Energy-Detect Mode . . . . . . . . .

. . .

.

.

.

. . . .

455

 

 

Energy Efficient Ethernet . . . . . .

. . .

.

.

.

. . . .

455

 

 

Commands in this Chapter. . . . . .

. . .

.

.

.

. . . .

455

 

 

green-mode energy-detect . . . . .

. . .

.

.

.

. . . .

456

 

 

 

 

 

 

 

Contents

 

 

13

 

 

 

 

 

 

green-mode eee . . . . . . . . . . . . . . . . . . . .

457

clear green-mode statistics . . . . . . . . . . . . . .

458

green-mode eee-lpi-history . . . . . . . . . . . . . .

458

show green-mode interface-id . . . . . . . . . . . .

460

show green-mode . . . . . . . . . . . . . . . . . . .

464

show green-mode eee-lpi-history interface . . . . .

465

17 GVRP Commands . . . . . . . . . . . . . . . . . . 469

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

469

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

469

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

470

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

471

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

472

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

473

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

474

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

474

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

476

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

477

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

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

480

ip igmp snooping (global) . . . . . . . . . . . . . . .

480

14 Contents

Contents

ip igmp snooping (interface). . . . . . . . . . . . . . .

481

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

482

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

482

ip igmp snooping mrouter-time-out . . . . . . . . . . .

483

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

484

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

485

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

486

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

487

ip igmp snooping (VLAN) . . . . . . . . . . . . . . . .

487

ip igmp snooping fast-leave . . . . . . . . . . . . . . .

488

ip igmp snooping groupmembership-interval. . . . . .

489

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

490

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

491

19 IGMP Snooping Querier Commands . . . 493

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

493

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

493

ip igmp snooping querier election participate . . . . .

495

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

496

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

497

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

497

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

498

15

20 IP Addressing Commands . . . . . . . . . . .

501

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

501

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

502

clear ip address-conflict-detect. . . . . . . . . . . .

502

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

503

ip address-conflict-detect run . . . . . . . . . . . . .

504

ip address dhcp (Interface Config) . . . . . . . . . .

505

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

506

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

508

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

508

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

509

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

510

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

511

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

512

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

514

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

515

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

515

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

516

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

517

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

518

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

519

16 Contents

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

520

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

521

21 IPv6 Access List Commands . . . . . .

. . .

523

 

 

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

. . . .

523

 

 

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

. . . .

524

 

 

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

. . . .

526

 

 

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

. . . .

527

 

 

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

. . . .

528

 

 

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

. . . .

529

 

 

22 IPv6 MLD Snooping Commands . . . .

. . .

533

 

 

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

. . . .

533

 

 

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

. . . .

534

 

 

ipv6 mld snooping groupmembership-interval .

. . . .

535

 

 

ipv6 mld snooping maxresponse . . . . . . . .

. . . .

535

 

 

ipv6 mld snooping mcrtexpiretime . . . . . . .

. . . .

536

 

 

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

. . . .

537

 

 

ipv6 mld snooping (Interface) . . . . . . . . . .

. . . .

538

 

 

ipv6 mld snooping (VLAN) . . . . . . . . . . . .

. . . .

539

 

 

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

. . . .

540

 

 

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

. . . .

541

 

 

 

Contents

 

17

 

 

23IPv6 MLD Snooping Querier

Commands . . . . . . . . . . . . . . . . . . . . . . . 545

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

545

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

546

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

546

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

547

ipv6 mld snooping querier election participate . . . .

548

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

548

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

549

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

550

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

553

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

553

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

553

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

554

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

555

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

555

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

556

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

556

25 iSCSI Optimization Commands . . . . . . . .

559

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

560

18 Contents

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

560

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

561

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

563

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

564

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

566

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

567

26 Link Dependency Commands

. . .

.

.

. . .

571

 

 

Commands in this Chapter. . . . . . .

. . .

.

.

. . . .

571

 

 

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

. . .

.

.

. . . .

571

 

 

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

. . .

.

.

. . . .

572

 

 

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

. . .

.

.

. . . .

573

 

 

add tengigabitethernet . . . . . . . .

. . .

.

.

. . . .

573

 

 

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

. . .

.

.

. . . .

574

 

 

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

. . .

.

.

. . . .

575

 

 

show link-dependency . . . . . . . .

. . .

.

.

. . . .

576

 

 

27 LLDP Commands . . . . . . . . . .

. . .

.

.

. . .

579

 

 

Commands in this Chapter. . . . . . .

. . .

.

.

. . . .

580

 

 

clear lldp remote-data . . . . . . . . .

. . .

.

.

. . . .

580

 

 

clear lldp statistics . . . . . . . . . .

. . .

.

.

. . . .

581

 

 

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

. . .

.

.

. . . .

582

 

 

 

 

 

 

Contents

 

19

 

 

 

 

 

lldp med confignotification . . . . . . . . . . . . . .

582

lldp med faststartrepeatcount . . . . . . . . . . . . .

583

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

584

lldp notification . . . . . . . . . . . . . . . . . . . .

585

lldp notification-interval . . . . . . . . . . . . . . . .

585

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

586

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

587

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

588

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

589

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

589

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

590

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

591

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

592

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

594

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

595

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

596

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

598

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

602

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

603

20 Contents

28Multicast VLAN Registration

Commands . . . . . . . . . . . . . . . . . . . . . . . 607

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

608

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

608

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

609

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

610

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

610

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

612

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

612

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

613

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

615

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

616

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

618

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

619

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

621

29 Port Channel Commands . . . . . . . . . . . . 623

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

623

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

624

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

624

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

624

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

625

Contents 21

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

626

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

627

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

627

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

627

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

627

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

628

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

629

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

629

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

630

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

631

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

632

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

633

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

633

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

634

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

635

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

637

30 Port Monitor Commands . . . . . . . . . . . .

641

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

641

monitor session . . . . . . . . . . . . . . . . . . . .

642

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

643

22 Contents

31 QoS Commands . . . . . . . . . . . . . . . . . . .

645

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

645

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

646

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

646

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

646

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

647

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

648

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

649

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

649

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

650

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

651

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

652

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

653

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

653

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

654

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

655

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

656

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

657

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

658

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

659

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

660

Contents 23

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

660

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

661

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

662

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

663

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

664

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

665

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

666

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

666

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

667

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

668

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

669

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

670

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

670

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

671

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

672

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

673

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

674

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

674

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

675

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

676

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

677

24 Contents

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

678

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

679

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

680

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

681

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

683

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

684

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

687

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

688

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

689

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

690

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

691

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

692

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

694

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

695

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

696

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

697

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

698

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

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

aaa accounting network default start-stop group

radius. . . . . . . . . . . . . . . . . . . . . . . . . . . 705

Contents 25

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

705

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

706

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

707

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

708

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

708

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

709

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

710

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

711

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

712

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

713

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

714

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

715

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

715

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

716

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

717

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

718

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

721

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

725

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

726

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

727

26 Contents

33 Spanning Tree Commands . . . . . . . . . . . 729

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

730

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

731

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

731

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

732

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

734

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

735

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

735

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

739

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

741

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

742

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

742

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

743

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

744

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

745

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

746

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

747

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

747

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

748

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

749

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

750

Contents 27

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

750

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

751

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

752

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

753

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

754

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

755

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

756

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

757

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

758

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

758

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

759

34 TACACS+ Commands . . . . . . . . . . . . . . . 761

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

762

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

762

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

763

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

763

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

764

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

765

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

766

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

767

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

767

28 Contents

35 VLAN Commands . . . . . . . . . . . . . . . . . . 769

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

769

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

770

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

770

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

771

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

771

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

771

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

772

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

773

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

774

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

775

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

776

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

777

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

778

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

779

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

780

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

781

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

782

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

786

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

787

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

788

Contents 29

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

789

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

790

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

791

switchport general acceptable-frame-type

 

tagged-only. . . . . . . . . . . . . . . . . . . . . . .

792

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

792

switchport general ingress-filtering disable . . . . .

793

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

794

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

795

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

796

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

798

vlan (Global Config) . . . . . . . . . . . . . . . . . .

799

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

800

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

800

vlan database . . . . . . . . . . . . . . . . . . . . .

801

vlan makestatic . . . . . . . . . . . . . . . . . . . .

802

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

803

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

804

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

805

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

805

vlan routing. . . . . . . . . . . . . . . . . . . . . . .

806

30 Contents

Loading...
+ 1700 hidden pages