Dell™ PowerConnect™ 5316M
CLI Reference Guide
www.dell.com | support.dell.com
Notes, Notices, and Cautions
NOTE: A NOTE indicates important information that helps you make better use of your devices.
NOTICE: A NOTICE indicates either potential damage to hardware or loss of data and tells you how to
avoid the problem.
CAUTION: A CAUTION indicates a potential for property damage, personal injury, or death.
____________________
Information in this document is subject to change without notice.
© 2006 Dell Inc. All rights reserved.
Reproduction 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.
Other trademarks and trade names may be used in this document to refer to either the entities claiming the marks and names or
their products. Dell Inc. disclaims any proprietary interest in trademarks and trade names other than its own.
September 2006 Rev. A01
Contents
1 Command Groups
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
Command Groups
AAA Commands
Address Table Commands
Clock Commands
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
. . . . . . . . . . . . . . . . . . . . . . . . . . . 3
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4
Configuration and Image Files Commands
Ethernet Configuration Commands
GVRP Commands
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7
IGMP Snooping Commands
IP Addressing
LACP Commands
Line Commands
LLDP Commands
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10
Management ACL Commands
PHY Diagnostics Commands
Port Channel Commands
Port Monitor Commands
. . . . . . . . . . . . . . . . . . . . . . . . . . . 12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
. . . . . . . . . . . . . . . . . . . . . . 6
. . . . . . . . . . . . . . . . . . . . . . . . . . 8
. . . . . . . . . . . . . . . . . . . . . . . . . 11
. . . . . . . . . . . . . . . . . . . . . . . . . . 11
. . . . . . . . . . . . . . . . . . . 5
QoS Commands
Radius Commands
RMON Commands
SNMP Commands
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
Spanning Tree Commands
SSH Commands
Syslog Commands
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
. . . . . . . . . . . . . . . . . . . . . . . . . . . 15
Contents 3
System Management Commands . . . . . . . . . . . . . . . . . . . . . . . 19
TACACS Commands
User Interface Commands
VLAN Commands
Web Server Commands
802.1x Commands
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19
. . . . . . . . . . . . . . . . . . . . . . . . . . . 20
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
2 Command Modes
GC (Global Configuration) Mode . . . . . . . . . . . . . . . . . . . . . . . . 25
IC (Interface Configuration) Mode
LC (Line Configuration) Mode
MA (Management Access-level) Mode
PE (Privileged EXEC) Mode
SP (SSH Public Key) Mode
UE (User EXEC) Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
VC (VLAN Configuration) Mode
. . . . . . . . . . . . . . . . . . . . . . . 28
. . . . . . . . . . . . . . . . . . . . . . . . . 30
. . . . . . . . . . . . . . . . . . . . 31
. . . . . . . . . . . . . . . . . . . . . . . . . . 31
. . . . . . . . . . . . . . . . . . . . . . . . . . 33
. . . . . . . . . . . . . . . . . . . . . . . . 34
3 Using the CLI
4 Contents
CLI Command Modes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Introduction
User EXEC Mode
Privileged EXEC Mode
Global Configuration Mode
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
. . . . . . . . . . . . . . . . . . . . . . . . . . 38
. . . . . . . . . . . . . . . . . . . . . . . . 39
Interface Configuration Mode and Specific Configuration Modes. . . . . 40
Starting the CLI
Editing Features
Terminal Command Buffer
Negating the Effect of Commands
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42
. . . . . . . . . . . . . . . . . . . . . . . . 43
. . . . . . . . . . . . . . . . . . . . 43
Command Completion . . . . . . . . . . . . . . . . . . . . . . . . . . 44
Keyboard Shortcuts
. . . . . . . . . . . . . . . . . . . . . . . . . . . 44
CLI Command Conventions . . . . . . . . . . . . . . . . . . . . . . . . 44
4 AAA Commands
aaa authentication login. . . . . . . . . . . . . . . . . . . . . . . . . . . . 47
aaa authentication enable
login authentication
enable authentication
ip http authentication
ip https authentication
show authentication methods
password
enable password
username
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 54
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
show users accounts
. . . . . . . . . . . . . . . . . . . . . . . . . . . 48
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 49
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 51
. . . . . . . . . . . . . . . . . . . . . . . . . 52
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55
5 Address Table Commands
bridge address . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57
bridge multicast filtering
bridge multicast address
bridge multicast forbidden address
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 58
. . . . . . . . . . . . . . . . . . . . . . . . . . . 58
. . . . . . . . . . . . . . . . . . . . . . 60
bridge multicast forward-all
. . . . . . . . . . . . . . . . . . . . . . . . . . 61
bridge multicast forbidden forward-all
bridge aging-time
clear bridge
port security
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63
port security routed secure-address
show bridge address-table
. . . . . . . . . . . . . . . . . . . . . . . . . . 65
. . . . . . . . . . . . . . . . . . . . . 61
. . . . . . . . . . . . . . . . . . . . . 64
Contents 5
show bridge address-table static . . . . . . . . . . . . . . . . . . . . . . . 66
show bridge address-table count
show bridge multicast address-table
show bridge multicast filtering
show ports security
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 70
. . . . . . . . . . . . . . . . . . . . . . . 67
. . . . . . . . . . . . . . . . . . . . . 68
. . . . . . . . . . . . . . . . . . . . . . . . 70
6 Clock
clock set . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
clock source
clock timezone
clock summer-time
sntp authentication-key
sntp authenticate
sntp trusted-key
sntp client poll timer
sntp broadcast client enable
sntp anycast client enable
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 74
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 75
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 76
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 77
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 78
. . . . . . . . . . . . . . . . . . . . . . . . . 79
. . . . . . . . . . . . . . . . . . . . . . . . . . . 80
7 Configuration and Image Files
6 Contents
sntp client enable (interface)
sntp unicast client enable
sntp unicast client poll
sntp server
show clock
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83
show sntp configuration
show sntp status
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86
. . . . . . . . . . . . . . . . . . . . . . . . . 80
. . . . . . . . . . . . . . . . . . . . . . . . . . . 81
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 82
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 85
delete startup-config . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
copy. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 89
boot system
show running-config
show startup-config
show backup-config
show bootvar
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 93
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 94
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 96
8 Ethernet Configuration Commands
interface ethernet . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
interface range ethernet
shutdown
description
speed
duplex
negotiation
flowcontrol
mdix
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 102
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
. . . . . . . . . . . . . . . . . . . . . . . . . . . 99
back-pressure
port jumbo-frame
clear counters
set interface active
show interfaces configuration
show interfaces status
show interfaces description
show interfaces counters
show ports jumbo-frame
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 105
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
. . . . . . . . . . . . . . . . . . . . . . . . 107
. . . . . . . . . . . . . . . . . . . . . . . . . . . 109
. . . . . . . . . . . . . . . . . . . . . . . . . 111
. . . . . . . . . . . . . . . . . . . . . . . . . . 112
. . . . . . . . . . . . . . . . . . . . . . . . . . 115
port storm-control include-multicast
. . . . . . . . . . . . . . . . . . . . 116
Contents 7
port storm-control broadcast enable . . . . . . . . . . . . . . . . . . . . 117
port storm-control broadcast rate
show ports storm-control
nic-redundancy
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
show nic-redundancy
. . . . . . . . . . . . . . . . . . . . . . . . . . 118
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 119
. . . . . . . . . . . . . . . . . . . . . . 117
9 GVRP Commands
gvrp enable (global) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 121
gvrp enable (interface)
garp timer
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 122
gvrp vlan-creation-forbid
gvrp registration-forbid
clear gvrp statistics
show gvrp configuration
show gvrp statistics
show gvrp error-statistics
. . . . . . . . . . . . . . . . . . . . . . . . . . . 121
. . . . . . . . . . . . . . . . . . . . . . . . . . 123
. . . . . . . . . . . . . . . . . . . . . . . . . . . 124
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 124
. . . . . . . . . . . . . . . . . . . . . . . . . . . 125
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 126
. . . . . . . . . . . . . . . . . . . . . . . . . . 127
10 IGMP Snooping Commands
8 Contents
ip igmp snooping (Global) . . . . . . . . . . . . . . . . . . . . . . . . . . 129
ip igmp snooping
ip igmp snooping mrouter learn-pim-dvmrp
ip igmp snooping host-time-out
ip igmp snooping mrouter-time-out
ip igmp snooping leave-time-out
show ip igmp snooping mrouter
show ip igmp snooping interface
show ip igmp snooping groups
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 129
. . . . . . . . . . . . . . . . . 130
. . . . . . . . . . . . . . . . . . . . . . . 130
. . . . . . . . . . . . . . . . . . . . . 131
. . . . . . . . . . . . . . . . . . . . . . . 132
. . . . . . . . . . . . . . . . . . . . . . . 133
. . . . . . . . . . . . . . . . . . . . . . 133
. . . . . . . . . . . . . . . . . . . . . . . 134
11 IP Addressing Commands
clear host dhcp . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
ip address
ip address dhcp
ip default-gateway
show ip interface
arp
arp timeout
clear arp-cache
show arp
ip domain-lookup
ip domain-name
ip name-server
ip host
clear host
show hosts
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 138
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 139
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 140
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 141
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 142
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 143
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 144
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 145
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 146
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 147
12 LACP Commands
lacp system-priority . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
lacp port-priority
lacp timeout
show lacp ethernet
show lacp port-channel
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 150
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 151
. . . . . . . . . . . . . . . . . . . . . . . . . . . 153
13 Line Commands
line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
exec-timeout
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 155
Contents 9
show line . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 156
14 LLDP Commands
lldp enable (global) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
lldp enable (interface)
lldp timer
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 160
lldp hold-multiplier
lldp reinit-delay
lldp tx-delay
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
lldp optional-tlv
lldp management-address
clear lldp rx
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 164
show lldp configuration
show lldp local
show lldp neighbors
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 159
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 161
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 162
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163
. . . . . . . . . . . . . . . . . . . . . . . . . . 164
. . . . . . . . . . . . . . . . . . . . . . . . . . . 165
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 166
15 Management ACL
management access-list . . . . . . . . . . . . . . . . . . . . . . . . . . 169
permit (management)
deny (management)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 170
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 171
16 PHY Diagnostics Commands
10 Contents
management access-class
show management access-list
show management access-class
. . . . . . . . . . . . . . . . . . . . . . . . . 172
. . . . . . . . . . . . . . . . . . . . . . . 173
. . . . . . . . . . . . . . . . . . . . . . 173
test copper-port tdr . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
show copper-ports tdr
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 175
show copper-ports cable-length. . . . . . . . . . . . . . . . . . . . . . . 176
17 Port Channel Commands
interface port-channel . . . . . . . . . . . . . . . . . . . . . . . . . . . 179
interface range port-channel
channel-group
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 180
port channel load balance
show interfaces port-channel
. . . . . . . . . . . . . . . . . . . . . . . . 179
. . . . . . . . . . . . . . . . . . . . . . . . . . 181
. . . . . . . . . . . . . . . . . . . . . . . . 181
18 Port Monitor Commands
port monitor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 183
show ports monitor
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 184
19 QoS Commands
qos . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
show qos
wrr-queue cos-map
wrr-queue bandwidth
priority-queue out num-of-queues
show qos interface
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 187
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 188
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 189
. . . . . . . . . . . . . . . . . . . . . . 190
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 190
qos map dscp-queue
qos trust (Global)
qos trust (Interface)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
qos cos
show qos map
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 192
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 193
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 194
Contents 11
20 Radius Commands
radius-server host. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 197
radius-server key
radius-server retransmit
radius-server source-ip
radius-server timeout
radius-server deadtime
show radius-servers
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 198
. . . . . . . . . . . . . . . . . . . . . . . . . . . 199
. . . . . . . . . . . . . . . . . . . . . . . . . . . 199
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 200
. . . . . . . . . . . . . . . . . . . . . . . . . . . 201
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
21 RMON Commands
show rmon statistics . . . . . . . . . . . . . . . . . . . . . . . . . . . . 203
rmon collection history
show rmon collection history
show rmon history
rmon alarm
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 210
show rmon alarm-table
show rmon alarm
rmon event
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 214
. . . . . . . . . . . . . . . . . . . . . . . . . . . 205
. . . . . . . . . . . . . . . . . . . . . . . . 206
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 207
. . . . . . . . . . . . . . . . . . . . . . . . . . . 211
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 212
22 SNMP Commands
12 Contents
show rmon events
show rmon log
rmon table-size
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 215
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 216
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 217
snmp-server community. . . . . . . . . . . . . . . . . . . . . . . . . . . 219
snmp-server view
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . snmp-server filter
snmp-server contact
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 220
221
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 222
snmp-server location . . . . . . . . . . . . . . . . . . . . . . . . . . . . 223
snmp-server enable traps
. . . . . . . . . . . . . . . . . . . . . . . . . . 223
snmp-server trap authentication
snmp-server host
snmp-server set
snmp-server group
snmp-server user
snmp-server v3-host
snmp-server engineID local
show snmp engineid
show snmp
show snmp views
show snmp groups
show snmp filters
show snmp users
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 224
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 226
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 228
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 229
. . . . . . . . . . . . . . . . . . . . . . . . . 230
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 232
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 233
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 234
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 235
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 236
23 Spanning-Tree Commands
. . . . . . . . . . . . . . . . . . . . . . 224
spanning-tree . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
spanning-tree mode
spanning-tree forward-time
spanning-tree hello-time
spanning-tree max-age
spanning-tree priority
spanning-tree disable
spanning-tree cost
spanning-tree port-priority
spanning-tree portfast
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 239
. . . . . . . . . . . . . . . . . . . . . . . . . 240
. . . . . . . . . . . . . . . . . . . . . . . . . . 241
. . . . . . . . . . . . . . . . . . . . . . . . . . . 241
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 242
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
. . . . . . . . . . . . . . . . . . . . . . . . . 244
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 244
Contents 13
spanning-tree link-type . . . . . . . . . . . . . . . . . . . . . . . . . . . 245
spanning-tree pathcost method
spanning-tree bpdu
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 246
. . . . . . . . . . . . . . . . . . . . . . . 246
clear spanning-tree detected-protocols
show spanning-tree
spanning-tree mst priority
spanning-tree mst max-hops
spanning-tree mst port-priority
spanning-tree mst cost
spanning-tree mst configuration
instance (mst)
name (mst)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
revision (mst)
show (mst)
exit (mst)
abort (mst)
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 260
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 261
spanning-tree mst mstp-rstp
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 248
. . . . . . . . . . . . . . . . . . . . . . . . . . 255
. . . . . . . . . . . . . . . . . . . . . . . . 255
. . . . . . . . . . . . . . . . . . . . . . . 256
. . . . . . . . . . . . . . . . . . . . . . . . . . . 257
. . . . . . . . . . . . . . . . . . . . . . . 257
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 258
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 259
. . . . . . . . . . . . . . . . . . . . . . . . 262
. . . . . . . . . . . . . . . . . . . 247
24 SSH Commands
14 Contents
spanning-tree guard root
. . . . . . . . . . . . . . . . . . . . . . . . . . 263
ip ssh server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
ip ssh port
crypto key generate dsa
crypto key generate rsa
ip ssh pubkey-auth
crypto key pubkey-chain ssh
user-key
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 265
. . . . . . . . . . . . . . . . . . . . . . . . . . . 266
. . . . . . . . . . . . . . . . . . . . . . . . . . . 266
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 267
. . . . . . . . . . . . . . . . . . . . . . . . 268
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 268
key-string . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 269
show ip ssh
show crypto key mypubkey
show crypto key pubkey-chain ssh
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 270
. . . . . . . . . . . . . . . . . . . . . . . . . 271
. . . . . . . . . . . . . . . . . . . . . 272
25 Syslog Commands
logging on . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 275
logging
logging console
logging buffered
logging buffered size
clear logging
logging file
clear logging file
show logging
show logging file
show syslog-servers
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 276
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 277
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 278
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 279
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 280
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 281
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 282
26 System Management
ping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 285
traceroute
telnet
resume
reload
hostname
show users
show sessions
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 286
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 289
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 292
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 293
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 294
Contents 15
show system . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
show version
asset-tag
show system id
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 296
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 297
27 TACACS Commands
tacacs-server host . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 299
tacacs-server key
tacacs-server timeout
tacacs-server source-ip
show tacacs
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 300
. . . . . . . . . . . . . . . . . . . . . . . . . . . 301
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 302
28 User Interface
enable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
disable
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 303
login
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
configure
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 304
16 Contents
exit(configuration)
exit(EXEC)
end
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
help
history
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 307
history size
debug-mode
show history
show privilege
terminal history
terminal history size
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 305
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 306
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 308
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 310
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 311
29 VLAN Commands
vlan database . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 313
vlan
interface vlan
interface range vlan
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 315
name
switchport mode
switchport access vlan
switchport customer vlan
switchport trunk allowed vlan
switchport trunk native vlan
switchport general allowed vlan
switchport general pvid
switchport general ingress-filtering disable
switchport general acceptable-frame-type tagged-only
switchport forbidden vlan
map protocol protocols-group
switchport general map protocols-group vlan
show vlan
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 314
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 316
. . . . . . . . . . . . . . . . . . . . . . . . . . . 317
. . . . . . . . . . . . . . . . . . . . . . . . . . 317
. . . . . . . . . . . . . . . . . . . . . . . . 318
. . . . . . . . . . . . . . . . . . . . . . . . . 319
. . . . . . . . . . . . . . . . . . . . . . . 319
. . . . . . . . . . . . . . . . . . . . . . . . . . . 320
. . . . . . . . . . . . . . . . . 321
. . . . . . . . . . . 321
. . . . . . . . . . . . . . . . . . . . . . . . . . 322
. . . . . . . . . . . . . . . . . . . . . . . . 323
. . . . . . . . . . . . . . . . 324
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 324
show vlan protocols-groups
show interfaces switchport
. . . . . . . . . . . . . . . . . . . . . . . . . 325
. . . . . . . . . . . . . . . . . . . . . . . . . 326
30 Web Server
ip http server . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
ip http port
ip https server
ip https port
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 329
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 330
Contents 17
crypto certificate generate . . . . . . . . . . . . . . . . . . . . . . . . . 331
crypto certificate request
crypto certificate import
ip https certificate
show crypto certificate mycertificate
show ip http
show ip https
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 337
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 338
. . . . . . . . . . . . . . . . . . . . . . . . . . 332
. . . . . . . . . . . . . . . . . . . . . . . . . . . 333
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 335
. . . . . . . . . . . . . . . . . . . . 336
31 802.1x Commands
aaa authentication dot1x . . . . . . . . . . . . . . . . . . . . . . . . . . 341
dot1x system-auth-control
dot1x port-control
dot1x re-authentication
dot1x timeout re-authperiod
dot1x re-authenticate
dot1x timeout quiet-period
dot1x timeout tx-period
. . . . . . . . . . . . . . . . . . . . . . . . . . 342
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 342
. . . . . . . . . . . . . . . . . . . . . . . . . . . 343
. . . . . . . . . . . . . . . . . . . . . . . . . 344
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 344
. . . . . . . . . . . . . . . . . . . . . . . . . . 345
. . . . . . . . . . . . . . . . . . . . . . . . . . . 346
18 Contents
dot1x max-req
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 347
dot1x timeout supp-timeout
dot1x timeout server-timeout
show dot1x
show dot1x users
show dot1x statistics
ADVANCED FEATURES
dot1x auth-not-req
dot1x multiple-hosts
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 349
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 351
. . . . . . . . . . . . . . . . . . . . . . . . . . . . 352
. . . . . . . . . . . . . . . . . . . . . . . . . . . 354
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 354
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 355
dot1x single-host-violation
. . . . . . . . . . . . . . . . . . . . . . . . . 347
. . . . . . . . . . . . . . . . . . . . . . . . 348
. . . . . . . . . . . . . . . . . . . . . . . . . 355
show dot1x advanced . . . . . . . . . . . . . . . . . . . . . . . . . . . . 356
Contents 19
20 Contents
Command Groups
Introduction
The Command Language Interface (CLI) is a network management application operated through
an ASCII terminal without the use of a Graphic User Interface (GUI) driven software application.
By directly entering commands, you have greater configuration flexibility. The CLI is a basic
command-line interpreter similar to the UNIX C shell.
An Ethernet Switch Module can be configured and maintained by entering commands from the
CLI, which is based solely on textual input and output with commands being entered from a
terminal keyboard and the output displayed as text via a terminal monitor. The CLI can be
accessed from a VT100 terminal connected to the console port of the Ethernet Switch Module or
through a Telnet connection from a remote host.
This guide describes how the Command Line Interface (CLI) is structured, describes the
command syntax, and describes the command functionality.
This guide also provides information for configuring the PowerConnect Ethernet Switch Module,
details the procedures and provides configuration examples. Basic installation configuration is
described in the
Command Groups
User’s Guide
and must be completed before using this document.
1
The system commands can be broken down into the functional groups shown below.
Command Group Description
AAA Configures connection security including authorization and
passwords.
Address Table Configures bridging address tables.
Configuration and Image Files Manages the Ethernet Switch Module configuration files.
Clock Configures clock commands on the Ethernet Switch Module.
Ethernet Configuration Configures all port configuration options for, example ports, storm
control, and auto-negotiation.
GVRP Configures and displays GVRP configuration and information.
IGMP Snooping Configures IGMP snooping and displays IGMP configuration and
IGMP information.
IP Configures and manages IP addresses on the device.
LACP Configures and displays LACP information.
Line Configures the console and remote Telnet connection.
LLDP Configures and displays LLDP information.
Command Groups 1
Management ACL Configures and displays management access-list information.
PHY Diagnostics Diagnoses and displays the interface status.
Port Channel Configures and displays Port Channel information.
Port Monitor Monitors activity on specific target ports.
QoS Configures and displays QoS information.
RADIUS Configures and displays RADIUS information.
RMON Displays RMON statistics.
SNMP Configures SNMP communities, traps and displays SNMP
information.
Spanning Tree
SSH Configures SSH authentication.
Syslog Commands Manages and displays syslog messages.
System Management Configures the Ethernet Switch Module clock, name and
TACACS
User Interface Describes user commands used for entering CLI commands.
VLAN Configures VLANs and displays VLAN information.
Web Server Configures Web based access to the Ethernet Switch Module.
802.1x
Configures and reports on Spanning Tree protocol
authorized users.
Configures TACACS+ commands
Configures commands related to 802.1x security protocol.
2 Command Groups
AAA Commands
Command Group Description Access Mode
aaa authentication login Defines login authentication. Global
Configuration
aaa authentication enable Defines authentication method lists for accessing higher
privilege levels.
login authentication Specifies the login authentication method list for a
remote telnet or console.
enable authentication Specifies the authentication method list when accessing
a higher privilege level from a remote telnet or console.
ip http authentication Specifies authentication methods for http. Global
ip https authentication Specifies authentication methods for https. Global
show authentication
methods
password Specifies a password on a line. Line
enable password Sets a local password to control access to normal and
username Establishes a username-based authentication system. Global
show users accounts Displays information about the local user database. Privileged EXEC
Displays information about the authentication methods. Privileged EXEC
privilege levels.
Global
Configuration
Line
Configuration
Line
Configuration
Configuration
Configuration
Configuration
Global
Configuration
Configuration
Address Table Commands
Command Group Description Access Mode
bridge address Adds a static MAC-layer station source address to
the bridge table.
bridge multicast filtering Enables filtering of multicast addresses. Global
bridge multicast address Registers MAC-layer multicast addresses to the
bridge table, and adds static ports to the group.
bridge multicast
forbidden address
bridge multicast forwardall
Forbids adding a specific multicast address to
specific ports.
Enables forwarding of all multicast frames on a port. Interface (VLAN)
Interface (VLAN)
Configuration
Configuration
Interface (VLAN)
Configuration
Interface (VLAN)
Configuration
Configuration
Command Groups 3
bridge multicast
forbidden forward-all
bridge aging-time Sets the address table aging time. Global
clear bridge Removes any learned entries from the forwarding
port security Disables new address learning/forwarding on an
port security routed
secure-address
show bridge address-table Displays all entries in the bridge-forwarding
show bridge address-table
static
show bridge address-table
count
show bridge multicast
address-table
show bridge multicast
filtering
show ports security Displays the port-lock status. Privileged EXEC
Enables forbidding forwarding of all multicast
frames to a port.
database.
interface.
Adds MAC-layer secure addresses to a routed port. Interface
database.
Displays statically created entries in the bridgeforwarding database
Displays the number of addresses present in all
VLANs or at a specific VLAN.
Displays all entries in the bridge-forwarding
database.
Displays the multicast filtering configuration. Privileged EXEC
.
Interface (VLAN)
Configuration
Configuration
Privileged EXEC
Interface
Configuration
Configuration
Privileged EXEC
Privileged EXEC
Privileged EXEC
Privileged EXEC
Clock Commands
Command Group Description Access Mode
clock set Manually sets the system clock Privileged EXEC
clock source Configures an external time source for the system
clock timezone Sets the time zone for display purposes Global
clock summer-time Configures the system to automatically switch to
sntp authentication-key Defines an authentication key for Simple Network
sntp authenticate Grants authentication for received Network Time
4 Command Groups
clock.
summer time (daylight saving time).
Time Protocol (SNTP).
Protocol (NTP) traffic from servers.
Global
Configuration
Configuration
Global
Configuration
Global
Configuration
Global
Configuration
sntp trusted-key Authenticates the identity of a system to which
Simple Network Time Protocol (SNTP) will
synchronize.
sntp client poll timer Sets the polling time for the Simple Network Time
Protocol (SNTP) client.
sntp broadcast client
enable
sntp anycast client enable Enables anycast clients Global
sntp client enable
(interface)
sntp unicast client enable Enables the Ethernet Switch Module to use the
sntp unicast client poll Enables polling for the Simple Network Time
sntp server Configures the Ethernet Switch Module to use the
show clock Displays the time and date from the system clock. User EXEC
show sntp configuration Shows the configuration of the Simple Network
show sntp status Shows the status of the Simple Network Time
Enables the Simple Network Time Protocol (SNTP)
broadcast clients.
Enables the Simple Network Time Protocol (SNTP)
client on an interface.
Simple Network Time Protocol (SNTP) to request
and accept Network Time Protocol (NTP) traffic
from servers.
Protocol (SNTP) predefined unicast clients.
Simple Network Time Protocol (SNTP) to request
and accept Network Time Protocol (NTP) traffic
from a server.
Time Protocol (SNTP).
Protocol (SNTP).
Global
Configuration
Global
Configuration
Global
Configuration
Configuration
Interface
Configuration
Global
Configuration
Global
Configuration
Global
Configuration
Privileged EXEC
Privileged EXEC
Configuration and Image Files Commands
Command Group Description Access Mode
delete startup-config Deletes the startup-config file. Privileged EXEC
copy Copies files from a source to a destination. Privileged EXEC
boot system Specifies the system image that the Ethernet Switch
Module loads at startup.
show running-config Displays the contents of the currently running
configuration file.
show startup-config Displays the startup configuration file contents. Privileged EXEC
show backup-config Displays the backup configuration file contents. Privileged EXEC
Privileged EXEC
Privileged EXEC
Command Groups 5
show bootvar Displays the active system image file that the
Ethernet Switch Module loads at startup.
Privileged EXEC
Ethernet Configuration Commands
Command Group Description Access Mode
interface ethernet Enters the interface configuration mode to
configure an Ethernet type interface.
interface range ethernet Enters the interface configuration mode to
configure multiple Ethernet type interfaces.
shutdown Disables interfaces. Interface
description Adds a description to an interface. Interface
duplex Configures the full/half duplex operation of a given
Ethernet interface when not using auto-negotiation.
speed Configures the speed of a given Ethernet interface
when not using auto-negotiation.
negotiation Enables auto-negotiation operation for the speed
and duplex parameters of a given interface.
flowcontrol Configures the Flow Control on a given interface. Interface
mdix Enables automatic crossover on a given interface. Interface
back-pressure Enables Back Pressure on a given interface. Interface
port jumbo-frame Enables jumbo frames for the Ethernet Switch
Module.
clear counters Clears statistics on an interface. User EXEC
set interface active Reactivates an interface that was suspended by the
system.
show interfaces
configuration
show interfaces status Displays the status for all interfaces. User EXEC
Displays the configuration for all interfaces. User EXEC
Global
Configuration
Global
Configuration
Configuration
Configuration
Interface
Configuration
Interface
Configuration
Interface
Configuration
Configuration
Configuration
Configuration
Global
Configuration
Privileged User
EXEC
6 Command Groups
show interfaces
description
show interfaces counters Displays traffic seen by the physical interface. User EXEC
show ports jumbo-frame Displays the jumbo frames configuration. User EXEC
port storm-control
include-multicast
port storm-control
broadcast enable
port storm-control
broadcast rate
show ports storm-control Displays the storm control configuration. Privileged User
Displays the description for all interfaces. User EXEC
Enables the Ethernet Switch Module to count
multicast packets with broadcast packets.
Enables broadcast storm control. Interface
Configures the maximum broadcast rate. Global
Global
Configuration
Configuration
Configuration
EXEC
GVRP Commands
Command Group Description Mode
gvrp enable (global) Enables GVRP globally. Global
Configuration
gvrp enable (interface) Enables GVRP on an interface. Interface
Configuration
garp timer Adjusts the GARP application join, leave, and
leaveall GARP timer values.
gvrp vlan-creation-forbid Enables or disables dynamic VLAN creation. Interface
gvrp registration-forbid De-registers all VLANs, and prevents dynamic
VLAN registration on the port.
clear gvrp statistics Clears all the GVRP statistics information. Privileged EXEC
show gvrp configuration Displays GVRP configuration information. User EXEC
show gvrp statistics Displays GVRP statistics. User EXEC
show gvrp error-statistics Displays GVRP error statistics. User EXEC
Interface
Configuration
Configuration
Interface
Configuration
Command Groups 7
IGMP Snooping Commands
Command Group Description Access Mode
ip igmp snooping
(Global)
ip igmp snooping Enables Internet Group Management Protocol
ip igmp snooping
mrouter learn-pim-dvmrp
ip igmp snooping hosttime-out
ip igmp snooping
mrouter-time-out
ip igmp snooping leavetime-out
show ip igmp snooping
mrouter
show ip igmp snooping
interface
show ip igmp snooping
groups
Enables Internet Group Management Protocol
(IGMP) snooping.
(IGMP) snooping on a specific VLAN.
Enables automatic learning of multicast switch ports
in the context of a specific VLAN.
Configures the host-time-out. Interface (VLAN)
Configures the mrouter-time-out. Interface (VLAN)
Configures the leave-time-out. Interface (VLAN)
Displays information on dynamically learned
multicast router interfaces.
Displays IGMP snooping configuration. User EXEC
Displays multicast groups learned by IGMP
snooping.
Global
Configuration
Interface (VLAN)
Interface (VLAN)
User EXEC
User EXEC
IP Addressing
Command Group Description Access Mode
ip address
ip address dhcp Acquires an IP address on an interface from the
ip default-gateway
show ip interface Displays the usability status of interfaces configured
arp Adds a permanent entry in the ARP cache. Global
arp timeout Configures how long an entry remains in the ARP
8 Command Groups
Sets an IP address
DHCP server.
Defines a default gateway (router)
for IP.
cache
Interface
Configuration
Interface
Configuration
Global
Configuration
Privileged EXEC
Configuration
Global
Configuration
clear arp-cache Deletes all dynamic entries from the ARP cache. Privileged EXEC
show arp Displays entries in the ARP table. Privileged EXEC
ip domain-lookup Enables the IP Domain Naming System (DNS)-based
host name-to-address translation.
ip domain-name Defines a default domain name, that the software
uses to complete unqualified host names.
ip name-server Sets the available name servers.
ip host Defines static host name-to-address mapping in the
host cache.
clear host
Deletes entries from the host name-to-address
Global
Configuration
Global
Configuration
Global
Configuration
Global
Configuration
Privileged EXEC
cache
show hosts Displays the default domain name, a list of name
server hosts, the static and cached list of host names
and addresses.
Privileged EXEC
LACP Commands
Command Group Description Access Mode
lacp system-priority Configures the system LACP priority. Global
Configuration
lacp port-priority Configures the priority value for physical ports. Interface
Configuration
lacp timeout Assigns an administrative LACP timeout. Interface
Configuration
show lacp ethernet Displays LACP information for Ethernet ports. Privileged EXEC
show lacp port-channel
Displays LACP information for a port-channel.
Privileged EXEC
Line Commands
Command Group Description Access Mode
line Identifies a specific line for configuration and enters
the line configuration command mode.
exec-timeout Configures the interval that the system waits until
user input is detected.
show line Displays line parameters. User EXEC
Global
Configuration
Line
Configuration
Command Groups 9
LLDP Commands
Command Group Description Access Mode
lldp enable (global) Enables Link Layer Discovery Protocol. Global
Configuration
lldp enable (interface) Enables Link Layer Discovery Protocol (LLDP) on an
interface.
lldp timer Specifies how often the software sends Link Layer
Discovery Protocol (LLDP) updates.
lldp hold-multiplier Specifies the amount of time the receiving device should
hold a Link Layer Discovery Protocol packet before
discarding it.
lldp reinit-delay Specifies the minimum time an LLDP port will wait
before reinitializing LLDP transmission.
lldp tx-delay Specifies the delay between successive LLDP frame
transmissions initiated by value/status changes in the
LLDP local systems MIB.
Interface
Configuration
(Ethernet)
Global
Configuration
Global
Configuration
Global
Configuration
Global
Configuration
lldp optional-tlv Specifies which optional TLVs from the basic set should
be transmitted.
lldp managementaddress
clear lldp rx Restarts the LLDP RX state machine and clears the
show lldp
configuration
show lldp local Displays the Link Layer Discovery Protocol (LLDP)
show lldp neighbors Displays information about discovered neighboring
Specifies the management address that would be
advertised from an interface.
neighbors table.
Displays the Link Layer Discovery Protocol (LLDP)
configuration.
information that is advertised from a specific port.
devices using Link Layer Discovery Protocol (LLDP).
Interface
Configuration
(Ethernet)
Interface
Configuration
(Ethernet)
Privileged
EXEC
Privileged
EXEC
Privileged
EXEC
Privileged
EXEC
10 Command Groups