M4500 Intelligent Fully Managed Switches€¦ · M4500 Intelligent Fully Managed Switches Model...

929
M4500 Intelligent Fully Managed Switches Software Version 7.0.0 Model M4500-32C Model M4500-48XF8C April 2020 202-12041-02 NETGEAR, Inc. 350 E. Plumeria Drive San Jose, CA 95134, USA

Transcript of M4500 Intelligent Fully Managed Switches€¦ · M4500 Intelligent Fully Managed Switches Model...

  • M4500 Intelligent Fully Managed Switches Software Version 7.0.0

    Model M4500-32C

    Model M4500-48XF8C

    April 2020 202-12041-02

    NETGEAR, Inc. 350 E. Plumeria Drive San Jose, CA 95134, USA

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 2

    Support and Community

    Visit netgear.com/support to get your questions answered and access the latest downloads. You can also check out our NETGEAR Community for helpful advice at community.netgear.com.

    Regulatory and Legal

    Si ce produit est vendu au Canada, vous pouvez accéder à ce document en français canadien à https://www.netgear.com/support/download/. (If this product is sold in Canada, you can access this document in Canadian French at https://www.netgear.com/support/download/.) For regulatory compliance information including the EU Declaration of Conformity, visit https://www.netgear.com/about/regulatory/. See the regulatory compliance document before connecting the power supply. For NETGEAR’s Privacy Policy, visit https://www.netgear.com/about/privacy-policy. By using this device, you are agreeing to NETGEAR’s Terms and Conditions at https://www.netgear.com/about/terms-and-conditions. If you do not agree, return the device to your place of purchase within your return period.

    Trademarks

    © NETGEAR, Inc., NETGEAR, and the NETGEAR Logo are trademarks of NETGEAR, Inc. Any non-NETGEAR trademarks are used for reference purposes only.

    Revision History

    Publication Part Number

    Publish Date Comments

    202-12041-02 April 2020 We made multiple changes and corrections.

    202-12041-01 September 2019 First publication.

    https://www.netgear.com/support/https://community.netgear.com/https://www.netgear.com/support/download/https://www.netgear.com/support/download/https://www.netgear.com/about/regulatory/https://www.netgear.com/about/privacy-policyhttps://www.netgear.com/about/terms-and-conditions

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 3

    CONTENTS

    1. INTRODUCTION .................................................................................................................. 49

    1.1. Product Overview ......................................................................................... 49

    1.1.1. Simplicity .......................................................................................................... 49

    1.1.2. High Availability ................................................................................................ 49

    1.1.3. High-Performance L2/L3 Access Deployments ................................................. 49

    1.1.4. Advance IPv4 and IPv6 Routing ......................................................................... 50

    1.1.5. Data Center Application .................................................................................... 50

    1.2. Features ........................................................................................................ 50

    1.3. Management Options ................................................................................... 52

    1.4. Command Line Console Interface Through The Serial Port or Telnet ............. 52

    1.5. SNMP-Based Management ........................................................................... 53

    2. QUICK STARTUP ................................................................................................................. 56

    2.1. Quick-Start the Switch .................................................................................. 56

    2.2. Methods to Access the Switch CLI ................................................................. 57

    2.2.1. Switch CLI Access Using a Console .................................................................... 57

    2.2.2. Switch CLI Access Using SSH Standard Port 22 .................................................. 58

    2.2.3. Switch CLI Access Using SSH Special Port 1234 ................................................. 58

    2.2.4. Switch CLI Access Using Telnet Special Port 1223 ............................................. 59

    2.2.5. Limitations for a Guest User Login .................................................................... 59

    2.2.6. Limitations for SNMP Login ............................................................................... 59

    2.3. System Information Setup ............................................................................ 60

    2.3.1. Quick Startup Software Version Information .................................................... 60

    2.3.2. Quick Startup Physical Port Data ...................................................................... 60

    2.3.3. Quick Startup User Account Management ....................................................... 60

    2.3.4. Quick Startup IP Address .................................................................................. 61

    2.3.5. Quick Startup Downloading from TFTP Server .................................................. 62

    2.3.6. Quick Startup Factory Defaults ......................................................................... 62

    3. CONSOLE AND TELNET ADMINISTRATION INTERFACE ........................................................ 63

    3.1. Local Console Management .......................................................................... 63

    3.2. Setup Your Switch Using Console Access ....................................................... 63

    3.3. Setup Your Switch Using Telnet Access ......................................................... 64

    3.3.1. Accessing the Switch CLI through the Network ................................................ 64

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 4

    3.3.2. Using the Service Port or Network Interface for Remote Management ........... 65

    3.3.2.1. Configuing Service Port Information ................................................................. 66

    3.3.2.2. Configuing the In-Band Network Interface ........................................................ 66

    4. COMMAND LINE INTERFACE STRUCTURE AND MODE-BASED CLI ....................................... 68

    4.1. CLI Command Format .................................................................................... 68

    4.2. CLI Mode-based Topology ............................................................................. 69

    4.2.1. Parameters ....................................................................................................... 69

    4.2.2. Values ............................................................................................................... 69

    4.2.3. Conventions ...................................................................................................... 70

    4.2.4. Annotations ...................................................................................................... 70

    5. SWITCHING COMMANDS ................................................................................................... 72

    5.1. System Information and Statistics Commands .............................................. 72

    5.1.1. show arp ........................................................................................................... 72

    5.1.2. show calendar ................................................................................................... 72

    5.1.3. show process cpu .............................................................................................. 73

    5.1.4. show process cpu threshold ............................................................................. 74

    5.1.5. show eventlog................................................................................................... 74

    5.1.6. show running-config ......................................................................................... 75

    5.1.7. show sysinfo ..................................................................................................... 76

    5.1.8. show system ..................................................................................................... 78

    5.1.9. show tech-support ............................................................................................ 78

    5.1.10. show hardware ................................................................................................. 79

    5.1.11. show version ..................................................................................................... 80

    5.1.12. show logingsessin ............................................................................................. 81

    5.1.13. show command filter ........................................................................................ 81

    5.1.14. show transceiver device ................................................................................... 83

    5.1.15. show transceiver interface ............................................................................... 83

    5.1.16. show process memory ...................................................................................... 84

    5.2. Device Configuration Commands .................................................................. 86

    5.2.1. Interface commands ......................................................................................... 86

    5.2.1.1. show interface status ........................................................................................ 86

    5.2.1.1.1. ...... show interface status ................................................................................................................... 86

    5.2.1.1.2. ...... show interface status ................................................................................................ 87

    5.2.1.1.3. ...... show interface status err-disabled ............................................................................................... 88

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 5

    5.2.1.1.4. ...... show interface status loopback ....................................................................................... 88

    5.2.1.1.5. ...... show interface status port-channel ................................................................................. 89

    5.2.1.1.6. ...... show interface status tunnel .............................................................................................. 90

    5.2.1.1.7. ...... show interface status vlan ........................................................................................... 90

    5.2.1.2. show interface counters .................................................................................... 91

    5.2.1.2.1. ...... show interface counters ............................................................................................................... 92

    5.2.1.2.2. ...... show interface counters detailed ................................................................................................. 93

    5.2.1.2.3. ...... show interface counters detailed switchport ............................................................................... 97

    5.2.1.3. show interface dampening ............................................................................... 98

    5.2.1.4. show interface loopback ................................................................................... 99

    5.2.1.5. show interface port-channel ........................................................................... 100

    5.2.1.6. show interface port-mode ............................................................................... 101

    5.2.1.7. show interface priority flow control ................................................................ 102

    5.2.1.8. show interface switch ..................................................................................... 103

    5.2.1.9. show interface switchport ............................................................................... 104

    5.2.1.10. show interface tunnel ..................................................................................... 105

    5.2.1.11. show interface description .............................................................................. 106

    5.2.1.12. show interface fec ........................................................................................... 107

    5.2.1.13. Interface configruaton commands .................................................................. 107

    5.2.1.13.1. ..... interface ..................................................................................................................................... 107

    5.2.1.13.2. ..... description .................................................................................................................................. 108

    5.2.1.13.3. ..... flowcontrol ................................................................................................................................. 109

    5.2.1.13.4. ..... mtu ............................................................................................................................................. 109

    5.2.1.13.5. ..... port-mode .................................................................................................................................. 110

    5.2.1.13.6. ..... shutdown ................................................................................................................................... 111

    5.2.1.13.7. ..... shutdown all ............................................................................................................................... 111

    5.2.1.13.8. ..... fec ............................................................................................................................................... 111

    5.2.1.14. show port status all......................................................................................... 112

    5.2.2. L2 MAC Address and Multicast Forwarding Database Tables ......................... 112

    5.2.2.1. show mac-addr-table ...................................................................................... 112

    5.2.2.2. show mac-addr-table count ............................................................................ 113

    5.2.2.3. show mac-addr-table interface ....................................................................... 113

    5.2.2.4. show mac-address-table igmpsnooping ......................................................... 114

    5.2.2.5. show mac-address-table multicast ................................................................. 114

    5.2.2.6. show mac-address-table status ...................................................................... 115

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 6

    5.2.2.7. show mac-addr-table agetime ........................................................................ 115

    5.2.2.8. mac-addr-table aging-time ............................................................................. 115

    5.2.3. VLAN Commands ............................................................................................ 116

    5.2.3.1. vlan database ................................................................................................. 116

    5.2.3.2. vlan ................................................................................................................. 116

    5.2.3.3. vlan makestatic ............................................................................................... 117

    5.2.3.4. vlan name ....................................................................................................... 117

    5.2.3.5. switchport acceptable-frame-types ................................................................ 117

    5.2.3.6. switchport acceptbale-frame-type all ............................................................. 118

    5.2.3.7. switchport ingress-filtering ............................................................................. 118

    5.2.3.8. switchport ingress-filtering all ........................................................................ 119

    5.2.3.9. switchport native vlan ..................................................................................... 119

    5.2.3.10. switchport native vlan all ................................................................................ 120

    5.2.3.11. switchport allowed vlan .................................................................................. 120

    5.2.3.12. switchport allowed vlan all ............................................................................. 121

    5.2.3.13. switchport tagging .......................................................................................... 121

    5.2.3.14. switchport tagging all ..................................................................................... 121

    5.2.3.15. show vlan ........................................................................................................ 122

    5.2.3.16. show vlan id .................................................................................................... 122

    5.2.3.17. show vlan internal usage ................................................................................ 123

    5.2.3.18. show interface switchport ............................................................................... 124

    5.2.4. Private VLAN Commands ................................................................................ 124

    5.2.4.1. switchport private-vlan ................................................................................... 125

    5.2.4.2. switchport mode private-vlan ......................................................................... 125

    5.2.4.3. private-vlan ..................................................................................................... 126

    5.2.5. Switch Ports .................................................................................................... 126

    5.2.5.1. switchport mode ............................................................................................. 126

    5.2.5.2. switchport trunk allowed vlan......................................................................... 127

    5.2.5.3. switchport trunk native vlan ........................................................................... 128

    5.2.5.4. switchport access vlan .................................................................................... 128

    5.2.5.5. show interfaces switchport ............................................................................. 129

    5.2.6. Double VLAN Commands ................................................................................ 129

    5.2.6.1. dvlan-tunnel ethertype ................................................................................... 129

    5.2.6.2. dot1q-tunnel ethertype ................................................................................... 130

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 7

    5.2.6.3. mode dot1q-tunnel ......................................................................................... 130

    5.2.6.4. mode dvlan-tunnel .......................................................................................... 131

    5.2.6.5. show dot1q-tunnel .......................................................................................... 131

    5.2.6.6. show dvlan-tunnel .......................................................................................... 132

    5.2.7. IGMP snooping commands ............................................................................. 133

    5.2.7.1. ip igmp snooping ............................................................................................ 133

    5.2.7.2. clear igmp snooping ........................................................................................ 134

    5.2.7.3. ip igmp snooping interfacemode .................................................................... 134

    5.2.7.4. ip igmp snooping interfacemode all ................................................................ 134

    5.2.7.5. ip igmp snooping fast-leave ............................................................................ 135

    5.2.7.6. ip igmp snooping groupmembershipinterval .................................................. 135

    5.2.7.7. ip igmp snooping mcrtrexpiretime .................................................................. 136

    5.2.7.8. ip igmp snooping mrouter ............................................................................... 136

    5.2.7.9. set igmp .......................................................................................................... 137

    5.2.7.10. set igmp fast-leave .......................................................................................... 137

    5.2.7.11. set igmp groupmembership-interval ............................................................... 138

    5.2.7.12. set igmp maxresponse .................................................................................... 138

    5.2.7.13. set igmp mcrtrexpiretime ................................................................................ 139

    5.2.7.14. set igmp report-suppression ........................................................................... 139

    5.2.7.15. set snoop-vlan-block ....................................................................................... 140

    5.2.7.16. ip igmp snooping static ................................................................................... 140

    5.2.7.17. ip igmp snooping router-alert-check ............................................................... 141

    5.2.7.18. show ip igmp snooping ................................................................................... 141

    5.2.7.19. show ip igmp snooping mrouter interface ...................................................... 143

    5.2.7.20. show ip igmp snooping mrouter vlan .............................................................. 143

    5.2.7.21. show ip igmp snooping static .......................................................................... 143

    5.2.7.22. show mac-address-table igmpsnooping ......................................................... 144

    5.2.7.23. show ip igmp snooping ssm entries ................................................................ 144

    5.2.7.24. show ip igmp snooping ssm groups ................................................................ 145

    5.2.7.25. show ip igmp snooping ssm stats .................................................................... 145

    5.2.7.26. ip igmp snooping maxresponse ....................................................................... 145

    5.2.8. IGMP snooping querier commands ................................................................ 146

    5.2.8.1. ip igmp snooping querier ................................................................................ 146

    5.2.8.2. ip igmp snooping querier address ................................................................... 146

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 8

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

    5.2.8.4. ip igmp snooping querier querier-expiry-interval ............................................ 147

    5.2.8.5. ip igmp snooping querier version .................................................................... 148

    5.2.8.6. ip igmp snooping querier vlan ......................................................................... 148

    5.2.8.7. ip igmp snooping querier vlan address ........................................................... 149

    5.2.8.8. ip igmp snooping querier vlan election participate ......................................... 149

    5.2.8.9. show ip igmp snooping querier ....................................................................... 150

    5.2.8.10. show ip igmp snooping querier vlan ............................................................... 150

    5.2.8.11. show ip igmp snooping querier detail ............................................................. 151

    5.2.9. MLD Snooping Commands .............................................................................. 152

    5.2.9.1. show ipv6 mld snooping .................................................................................. 152

    5.2.9.2. show ipv6 mld snooping mrouter interface ..................................................... 153

    5.2.9.3. show ipv6 mld snooping mrouter vlan ............................................................ 153

    5.2.9.4. show ipv6 mld snooping static ........................................................................ 154

    5.2.9.5. show mac-address-table mldsnooping ........................................................... 154

    5.2.9.6. show ipv6 mld snooping ssm entries ............................................................... 154

    5.2.9.7. show ipv6 mld snooping ssm groups ............................................................... 155

    5.2.9.8. show ipv6 mld snooping ssm stats .................................................................. 155

    5.2.9.9. ipv6 mld snooping ........................................................................................... 156

    5.2.9.10. clear mld snooping .......................................................................................... 156

    5.2.9.11. ipv6 mld snooping interfacemode ................................................................... 156

    5.2.9.12. ipv6 mld snooping interfacemode all .............................................................. 157

    5.2.9.13. ipv6 mld snooping fast-leave .......................................................................... 157

    5.2.9.14. ipv6 mld snooping groupmembershipinterval ................................................. 158

    5.2.9.15. ipv6 mld snooping mcrtrexpiretime ................................................................ 158

    5.2.9.16. ipv6 mld snooping mrouter ............................................................................. 159

    5.2.9.17. ipv6 mld snooping static ................................................................................. 159

    5.2.9.18. set mld ............................................................................................................ 160

    5.2.9.19. set mld fast-leave ............................................................................................ 160

    5.2.9.20. set mld groupmembership-interval ................................................................. 161

    5.2.9.21. set mld maxresponse ...................................................................................... 161

    5.2.9.22. set mld mcrtrexpiretime .................................................................................. 162

    5.2.10. MLD Snooping Querier Commands ................................................................. 162

    5.2.10.1. show ipv6 mld snooing querier ....................................................................... 162

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 9

    5.2.10.2. show ipv6 mld snooping querier vlan .............................................................. 163

    5.2.10.3. show ipv6 mld snooping querier detail ........................................................... 164

    5.2.10.4. ipv6 mld snooping querier............................................................................... 164

    5.2.10.5. ipv6 mld snooping querier address ................................................................. 165

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

    5.2.10.7. ipv6 mld snooping querier querier-expiry-interval .......................................... 166

    5.2.10.8. ipv6 mld snooping querier vlan ....................................................................... 166

    5.2.10.9. ipv6 mld snooping querier vlan address .......................................................... 167

    5.2.10.10. ipv6 mld snooping querier vlan election participate ....................................... 167

    5.2.11. Port-Channel/LAG (802.3ad) Commands ........................................................ 168

    5.2.11.1. show interface port-channel brief ................................................................... 168

    5.2.11.2. show interface port-channel ........................................................................... 169

    5.2.11.3. show interface port-channel system priority ................................................... 173

    5.2.11.4. show lacp actor ............................................................................................... 173

    5.2.11.5. show lacp interface ......................................................................................... 174

    5.2.11.6. interface port-channel .................................................................................... 174

    5.2.11.7. staticcapability ................................................................................................ 174

    5.2.11.8. port-channel linktrap ...................................................................................... 175

    5.2.11.9. port-channel load-balance .............................................................................. 175

    5.2.11.10. load-balance ................................................................................................... 176

    5.2.11.11. port-channel system priority ........................................................................... 177

    5.2.11.12. lacp ................................................................................................................. 177

    5.2.11.13. lacp all ............................................................................................................ 178

    5.2.11.14. lacp admin key ................................................................................................ 178

    5.2.11.15. lacp actor admin key ....................................................................................... 179

    5.2.11.16. lacp actor admin state .................................................................................... 179

    5.2.11.17. lacp actor port priority .................................................................................... 180

    5.2.11.18. min-links ......................................................................................................... 180

    5.2.11.19. lacp fallback .................................................................................................... 181

    5.2.11.20. lacp fallback timeout ...................................................................................... 181

    5.2.11.21. channel-group ................................................................................................. 182

    5.2.11.22. delete-channel-group ...................................................................................... 183

    5.2.12. Storm Control ................................................................................................. 183

    5.2.12.1. show storm-control ......................................................................................... 183

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 10

    5.2.12.2. storm-control Configuration ........................................................................... 185

    5.2.12.3. storm-control broadcast ................................................................................. 185

    5.2.12.4. storm-control broadcast action ...................................................................... 186

    5.2.12.5. storm-control broadcast rate .......................................................................... 187

    5.2.12.6. storm-control broadcast level ......................................................................... 187

    5.2.12.7. storm-control multicast .................................................................................. 188

    5.2.12.8. storm-control multicast action ........................................................................ 188

    5.2.12.9. storm-control multicast level .......................................................................... 189

    5.2.12.10. storm-control multicast rate ........................................................................... 190

    5.2.12.11. storm-control unicast ...................................................................................... 190

    5.2.12.12. storm-control unicast action ........................................................................... 191

    5.2.12.13. storm-control unicast level ............................................................................. 192

    5.2.12.14. storm-control unicast rate .............................................................................. 192

    5.2.13. Port Mirror Commands ................................................................................... 193

    5.2.13.1. show port-mirror session ................................................................................ 193

    5.2.13.2. port-monitor session source ............................................................................ 194

    5.2.13.3. port-monitor session destination .................................................................... 195

    5.2.13.4. port-monitor session filter .............................................................................. 196

    5.2.13.5. port-monitor session mode ............................................................................. 197

    5.2.13.6. no port-monitor session .................................................................................. 198

    5.2.13.7. no port-monitor .............................................................................................. 198

    5.2.14. Link State ........................................................................................................ 198

    5.2.14.1. show link state ................................................................................................ 198

    5.2.14.2. link state group action .................................................................................... 199

    5.2.14.3. link state group ............................................................................................... 199

    5.2.15. Port-backup Commands ................................................................................. 200

    5.2.15.1. show port-backup ........................................................................................... 200

    5.2.15.2. port-backup .................................................................................................... 200

    5.2.15.3. port-backup group .......................................................................................... 201

    5.2.15.4. port-backup group active ................................................................................ 201

    5.2.15.5. port-backup group backup .............................................................................. 202

    5.2.15.6. port-backup group enable .............................................................................. 202

    5.2.15.7. port-backup group mac-move-update ............................................................ 202

    5.2.15.8. port-backup group failback-time .................................................................... 203

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 11

    5.3. Provisioning (IEEE 802.1p) Commands ........................................................ 204

    5.3.1. switchport priority all ..................................................................................... 204

    5.3.2. switchport priority .......................................................................................... 204

    5.4. Management Commands ............................................................................ 205

    5.4.1. Network Commands ....................................................................................... 205

    5.4.1.1. show ip interface............................................................................................. 205

    5.4.1.2. show ip filter ................................................................................................... 205

    5.4.1.3. mtu ................................................................................................................. 206

    5.4.1.4. interface vlan .................................................................................................. 206

    5.4.1.5. ip address ........................................................................................................ 206

    5.4.1.6. ip default-gateway .......................................................................................... 207

    5.4.1.7. ip address dhcp ............................................................................................... 208

    5.4.1.8. ip filter ............................................................................................................ 208

    5.4.1.9. ip filter {ipv4|ipv6}[] ............................................... 209

    5.4.2. Serial Interface Commands ............................................................................. 209

    5.4.2.1. show line console ............................................................................................ 209

    5.4.2.2. line console ..................................................................................................... 210

    5.4.2.3. baudrate ......................................................................................................... 210

    5.4.2.4. exec-timeout ................................................................................................... 211

    5.4.2.5. password-threshold ........................................................................................ 211

    5.4.2.6. silent-time ....................................................................................................... 212

    5.4.2.7. terminal length ............................................................................................... 212

    5.4.3. Telnet Session Commands .............................................................................. 213

    5.4.3.1. telnet .............................................................................................................. 213

    5.4.3.2. show line vty ................................................................................................... 213

    5.4.3.3. line vty ............................................................................................................ 214

    5.4.3.4. exec-timeout ................................................................................................... 214

    5.4.3.5. password-threshold ........................................................................................ 215

    5.4.3.6. maxsessions .................................................................................................... 215

    5.4.3.7. server enable .................................................................................................. 216

    5.4.3.8. sessions ........................................................................................................... 216

    5.4.3.9. telnet sessions ................................................................................................. 217

    5.4.3.10. telnet maxsessions .......................................................................................... 217

    5.4.3.11. telnet exec-timeout ......................................................................................... 218

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 12

    5.4.3.12. show telnet ..................................................................................................... 218

    5.4.4. SNMP Server Commands ................................................................................ 219

    5.4.4.1. show snmp ...................................................................................................... 219

    5.4.4.2. snmp-server sysname ..................................................................................... 220

    5.4.4.3. snmp-server location ...................................................................................... 221

    5.4.4.4. snmp-server contact ....................................................................................... 221

    5.4.4.5. snmp-server community ................................................................................. 221

    5.4.4.6. snmp-server community-group ....................................................................... 222

    5.4.4.7. show snmp engineid ....................................................................................... 223

    5.4.4.8. snmp-server engineid ...................................................................................... 223

    5.4.4.9. show snmp filters ............................................................................................ 224

    5.4.4.10. snmp-server filter ............................................................................................ 224

    5.4.4.11. show snmp user .............................................................................................. 225

    5.4.4.12. snmp-server user............................................................................................. 226

    5.4.4.13. show snmp group ............................................................................................ 227

    5.4.4.14. snmp-server group .......................................................................................... 228

    5.4.4.15. show snmp views ............................................................................................ 229

    5.4.4.16. snmp-server view ............................................................................................ 230

    5.4.5. SNMP Trap Commands ................................................................................... 230

    5.4.5.1. snmp-server host traps ............................................................... 230

    5.4.5.2. show trapflags ................................................................................................ 231

    5.4.5.3. snmp trap link-status all ................................................................................. 233

    5.4.5.4. snmp-server enable traps acl-trapflags .......................................................... 233

    5.4.5.5. snmp-server enable traps authentication ....................................................... 234

    5.4.5.6. snmp-server enable traps bgp state-changes limited ..................................... 234

    5.4.5.7. snmp-server enable traps fan ......................................................................... 235

    5.4.5.8. snmp-server enable traps linkmode ................................................................ 235

    5.4.5.9. snmp-server enable traps multiusers .............................................................. 236

    5.4.5.10. snmp-server enable traps ospf ........................................................................ 236

    5.4.5.11. snmp-server enable traps ospfv3 .................................................................... 237

    5.4.5.12. snmp-server enable traps pim ......................................................................... 237

    5.4.5.13. snmp-server enable traps powersupply .......................................................... 238

    5.4.5.14. snmp-server enable traps stpmode ................................................................. 238

    5.4.5.15. snmp-server enable traps temperature........................................................... 238

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 13

    5.4.5.16. snmp-server enable traps transceiver ............................................................. 239

    5.4.5.17. snmp-server enable traps violation ................................................................. 239

    5.4.5.18. show snmp source-interface ........................................................................... 240

    5.4.5.19. snmptrap source-interface .............................................................................. 240

    5.4.6. SNMP Inform Commands ............................................................................... 241

    5.4.6.1. snmp-server host informs ........................................................... 241

    5.4.7. Secure Shell (SSH) Commands ........................................................................ 242

    5.4.7.1. show ip ssh ...................................................................................................... 242

    5.4.7.2. show ip ssh user-public-key current-user ........................................................ 243

    5.4.7.3. show ip ssh user-public-key who-has-key ........................................................ 243

    5.4.7.4. ip ssh ............................................................................................................... 244

    5.4.7.5. ip ssh maxsessions .......................................................................................... 244

    5.4.7.6. ip ssh port ....................................................................................................... 245

    5.4.7.7. ip ssh timeout ................................................................................................. 245

    5.4.7.8. ip ssh user-password-auth .............................................................................. 245

    5.4.7.9. ip ssh user-public-key-auth ............................................................................. 246

    5.4.8. Management Security Commands .................................................................. 246

    5.4.8.1. crypto key generation {RSA|DSA} ................................................................... 246

    5.4.8.2. crypto certificate generation........................................................................... 247

    5.4.9. DHCP Client Commands .................................................................................. 247

    5.4.9.1. dhcp client vendor-id-option ........................................................................... 247

    5.4.9.2. dhcp client vendor-id-option-string ................................................................. 247

    5.4.9.3. Show dhcp client vendor-id-option .................................................................. 248

    5.4.9.4. Show dhcp lease ............................................................................................. 248

    5.4.10. sfFlow Commands ........................................................................................... 249

    5.4.10.1. show sflow agent ............................................................................................ 249

    5.4.10.2. show sflow pollers ........................................................................................... 250

    5.4.10.3. show sflow receivers ....................................................................................... 250

    5.4.10.4. show sflow samplers ....................................................................................... 251

    5.4.10.5. show sflow source-interface ........................................................................... 251

    5.4.10.6. sflow receiver maximum datagram ................................................................ 252

    5.4.10.7. sflow receiver owner ....................................................................................... 252

    5.4.10.8. sflow receiver ip .............................................................................................. 253

    5.4.10.9. sflow receiver port .......................................................................................... 253

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 14

    5.4.10.10. sflow poller interval ........................................................................................ 254

    5.4.10.11. sflow sampler index ........................................................................................ 254

    5.4.10.12. sflow poller index ............................................................................................ 255

    5.4.10.13. sflow source-interface ..................................................................................... 255

    5.4.10.14. sflow sampler rate .......................................................................................... 256

    5.4.10.15. sflow sampler maxheadersize ......................................................................... 257

    5.4.11. Service Port Commands .................................................................................. 257

    5.4.11.1. show serviceport ............................................................................................. 257

    5.4.11.2. show serviceport ipv6 dhcp statistics .............................................................. 258

    5.4.11.3. show serviceport ipv6 neighbors ..................................................................... 260

    5.4.11.4. serviceport ip .................................................................................................. 261

    5.4.11.5. serviceport protocol ........................................................................................ 261

    5.4.11.6. serviceport ipv6 enable ................................................................................... 262

    5.4.11.7. serviceport ipv6 address ................................................................................. 262

    5.4.11.8. serviceport ipv6 gateway ................................................................................ 263

    5.4.12. Time Range Commands .................................................................................. 263

    5.4.12.1. show time-range ............................................................................................. 263

    5.4.12.2. time-range ...................................................................................................... 264

    5.4.12.3. time-range ........................................................................................ 264

    5.4.12.4. absolute .......................................................................................................... 265

    5.4.12.5. periodic ........................................................................................................... 266

    5.4.13. Command Scheduler Commands .................................................................... 266

    5.4.13.1. kron occurrence .............................................................................................. 266

    5.4.13.2. policy-list ........................................................................................... 267

    5.4.13.3. kron policy-list ................................................................................................. 268

    5.4.13.4. cli … ................................................................................... 268

    5.4.14. Switch Database Management Template Commands .................................... 269

    5.4.14.1. show sdm prefer ............................................................................................. 269

    5.4.14.2. sdm prefer ....................................................................................................... 270

    5.5. Spanning Tree Protocol Commands............................................................. 272

    5.5.1. show spanning-tree ........................................................................................ 272

    5.5.2. show spanning-tree interface ......................................................................... 273

    5.5.3. show spanning-tree vlan ................................................................................. 273

    5.5.4. show spanning-tree mst detailed ................................................................... 274

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 15

    5.5.5. show spanning-tree mst summary .................................................................. 274

    5.5.6. show spanning-tree mst port detailed ............................................................ 275

    5.5.7. show spanning-tree mst port summary .......................................................... 276

    5.5.8. show spanning-tree summary ........................................................................ 277

    5.5.9. show spanning-tree brief ................................................................................ 277

    5.5.10. spanning-tree .................................................................................................. 278

    5.5.11. spanning-tree bpdu-forwarding ...................................................................... 278

    5.5.12. spanning-tree protocol-migration .................................................................. 279

    5.5.13. spanning-tree configuration name ................................................................. 279

    5.5.14. spanning-tree configuration revision .............................................................. 279

    5.5.15. spanning-tree mode ....................................................................................... 280

    5.5.16. spanning-tree forward-time ........................................................................... 280

    5.5.17. spanning-tree max-age ................................................................................... 281

    5.5.18. spanning-tree forward-time max-age ............................................................. 281

    5.5.19. spanning-tree max-hops ................................................................................. 282

    5.5.20. spanning-tree hold-count ............................................................................... 282

    5.5.21. spanning-tree mst instance ............................................................................ 283

    5.5.22. spanning-tree mst priority .............................................................................. 283

    5.5.23. spanning-tree mst vlan ................................................................................... 284

    5.5.24. spanning-tree mst ........................................................................................... 284

    5.5.25. spanning-tree port mode ................................................................................ 285

    5.5.26. spanning-tree port model all .......................................................................... 286

    5.5.27. spaning-tree auot-edge .................................................................................. 286

    5.5.28. spanning-tree cost .......................................................................................... 287

    5.5.29. spanning-tree edgeport .................................................................................. 287

    5.5.30. spanning-tree edgeport bpduguard ................................................................ 288

    5.5.31. spanning-tree bpduguard ............................................................................... 288

    5.5.32. spanning-tree guard ....................................................................................... 289

    5.5.33. spanning-tree tcnguard .................................................................................. 289

    5.6. System Log Commands ............................................................................... 291

    5.6.1. show logging ................................................................................................... 291

    5.6.2. show logging buffered .................................................................................... 291

    5.6.3. logging buffered .............................................................................................. 293

    5.6.4. logging buffered severity level ........................................................................ 293

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 16

    5.6.5. logging buffered wrap ..................................................................................... 293

    5.6.6. clear logging buffered ..................................................................................... 294

    5.6.7. show logging traplogs ..................................................................................... 294

    5.6.8. show logging hosts.......................................................................................... 295

    5.6.9. logging host .................................................................................................... 295

    5.6.10. logging host remove ....................................................................................... 296

    5.6.11. logging host reconfigure ................................................................................. 296

    5.6.12. logging syslog .................................................................................................. 297

    5.6.13. logging syslog port .......................................................................................... 297

    5.6.14. logging syslog facility ...................................................................................... 297

    5.6.15. logging syslog source-interface ....................................................................... 298

    5.6.16. logging console ............................................................................................... 298

    5.6.17. logging console severity level ......................................................................... 298

    5.6.18. logging monitor .............................................................................................. 299

    5.6.19. logging monitory severity level ....................................................................... 299

    5.6.20. show logging cli-command-log ....................................................................... 299

    5.6.21. logging cli-command ....................................................................................... 300

    5.6.22. clear cli-command-log .................................................................................... 300

    5.7. Email Alert and Mail Server Commands ...................................................... 301

    5.7.1. show logging email config ............................................................................... 301

    5.7.2. show logging email statistics .......................................................................... 302

    5.7.3. show mail-server config .................................................................................. 302

    5.7.4. logging email ................................................................................................... 303

    5.7.5. logging email urgent and non-urgent ............................................................. 303

    5.7.6. logging email logtime ...................................................................................... 304

    5.7.7. logging email message-type and subject ........................................................ 304

    5.7.8. logging email message-type and to-addr ........................................................ 304

    5.7.9. logging email from-addr ................................................................................. 305

    5.7.10. mail-server configuration................................................................................ 305

    5.7.11. mail-server security ........................................................................................ 306

    5.7.12. mail-server port .............................................................................................. 306

    5.7.13. mail-server username ..................................................................................... 307

    5.7.14. mail-server password ...................................................................................... 307

    5.7.15. clear logging email statistics ........................................................................... 308

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 17

    5.8. Script Management Commands .................................................................. 309

    5.8.1. script apply ..................................................................................................... 309

    5.8.2. script delete .................................................................................................... 309

    5.8.3. script list ......................................................................................................... 309

    5.8.4. script show ...................................................................................................... 310

    5.8.5. script validate ................................................................................................. 312

    5.9. User Account Management Commands ...................................................... 314

    5.9.1. show users ...................................................................................................... 314

    5.9.2. show users accounts ....................................................................................... 314

    5.9.3. show passwords configuration ....................................................................... 316

    5.9.4. show passwords result .................................................................................... 318

    5.9.5. username ........................................................................................................ 318

    5.9.6. username unlock ........................................................................ 319

    5.9.7. passwords aging ............................................................................................. 320

    5.9.8. passwords history ........................................................................................... 320

    5.9.9. passwords lock-out ......................................................................................... 321

    5.9.10. passwords min-length ..................................................................................... 321

    5.9.11. passwords strength-check .............................................................................. 322

    5.9.12. passwords strength maximum ........................................................................ 322

    5.9.13. passwords strength minimum ........................................................................ 323

    5.9.14. passwords strength exclude-keyword ............................................................ 323

    5.10. Port-based Network Access Control Commands .......................................... 325

    5.10.1. show authentication methods ........................................................................ 325

    5.10.2. show dot1x ..................................................................................................... 326

    5.10.3. show dot1x authentication-history ................................................................. 331

    5.10.4. show dot1x clients .......................................................................................... 332

    5.10.5. show dot1x users ............................................................................................ 333

    5.10.6. aaa authentication dot1x default.................................................................... 333

    5.10.7. clear dot1x statistics ....................................................................................... 334

    5.10.8. clear dot1x authentication-history ................................................................. 334

    5.10.9. clear RADIUS statistics .................................................................................... 334

    5.10.10. dot1x eapolflood ............................................................................................. 334

    5.10.11. dot1x dynamic-vlan enable ............................................................................. 335

    5.10.12. dot1x guest-vlan ............................................................................................. 335

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 18

    5.10.13. dot1x initialize ................................................................................................ 336

    5.10.14. dot1x mac-auth-bypass .................................................................................. 336

    5.10.15. dot1x max-req ................................................................................................ 337

    5.10.16. dot1x max-users ............................................................................................. 337

    5.10.17. dot1x port-control .......................................................................................... 338

    5.10.18. dot1x port-control all ...................................................................................... 338

    5.10.19. dot1x re-authenticate ..................................................................................... 339

    5.10.20. dot1x re-authentication .................................................................................. 339

    5.10.21. dot1x system-auth-control ............................................................................. 339

    5.10.22. dot1x timeout ................................................................................................. 340

    5.10.23. dot1x unauthenticated-vlan ........................................................................... 341

    5.10.24. dot1x user ....................................................................................................... 342

    5.11. AAA Commands .......................................................................................... 343

    5.11.1. show accounting ............................................................................................. 343

    5.11.2. show accounting methods .............................................................................. 343

    5.11.3. aaa authentication login ................................................................................. 344

    5.11.4. aaa accounting ................................................................................................ 345

    5.11.5. accounting ...................................................................................................... 347

    5.12. RADIUS Commands ..................................................................................... 348

    5.12.1. show radius ..................................................................................................... 348

    5.12.2. show radius accounting .................................................................................. 349

    5.12.3. show radius servers ........................................................................................ 352

    5.12.4. show radius statistics ...................................................................................... 356

    5.12.5. show radius source-interface .......................................................................... 357

    5.12.6. authentication network radius ....................................................................... 358

    5.12.7. clear radius dynamic-author statistics ............................................................ 358

    5.12.8. radius accounting mode ................................................................................. 359

    5.12.9. radius server attribute 4 ................................................................................. 359

    5.12.10. radius server attribute 95 ............................................................................... 360

    5.12.11. radius server attribute mschapv2 ................................................................... 360

    5.12.12. radius server deadtime ................................................................................... 361

    5.12.13. radius server host ........................................................................................... 361

    5.12.14. radius server host link-local ............................................................................ 363

    5.12.15. radius server key ............................................................................................. 364

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 19

    5.12.16. radius server primary ...................................................................................... 364

    5.12.17. radius server retransmit ................................................................................. 364

    5.12.18. radius server timeout ..................................................................................... 365

    5.12.19. radius source-interface ................................................................................... 365

    5.13. TACACS+ Commands ................................................................................... 367

    5.13.1. show tacacs .................................................................................................... 367

    5.13.2. show tacacs source-interface ......................................................................... 368

    5.13.3. tacacs-server host ........................................................................................... 368

    5.13.4. tacacs-server host link-local ............................................................................ 368

    5.13.5. tacacs-server key ............................................................................................ 369

    5.13.6. tacacs-server keystring ................................................................................... 369

    5.13.7. tacacs-server timeout ..................................................................................... 370

    5.13.8. key .................................................................................................................. 370

    5.13.9. keystring ......................................................................................................... 371

    5.13.10. port ................................................................................................................. 371

    5.13.11. priority ............................................................................................................ 371

    5.13.12. timeout ........................................................................................................... 371

    5.13.13. tacacs-server source-interface ........................................................................ 372

    5.14. Security Commands .................................................................................... 373

    5.14.1. show port-security .......................................................................................... 373

    5.14.2. show port-security dynamic ........................................................................... 374

    5.14.3. show port-security static ................................................................................ 374

    5.14.4. show port-security violation ........................................................................... 375

    5.14.5. port-security ................................................................................................... 376

    5.14.6. port-security max-dynamic ............................................................................. 376

    5.14.7. port-security max-static .................................................................................. 377

    5.14.8. port-security mac-address .............................................................................. 377

    5.14.9. port-security mac-address move .................................................................... 378

    5.14.10. port-security mac-address sticky .................................................................... 378

    5.14.11. port-security violation shutdown .................................................................... 379

    5.15. LLDP (Link Layer Discovery Protocol) Commands ........................................ 380

    5.15.1. show lldp ........................................................................................................ 380

    5.15.2. show lldp interface ......................................................................................... 380

    5.15.3. show lldp statistics .......................................................................................... 381

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 20

    5.15.4. show lldp remote-device ................................................................................ 382

    5.15.5. show lldp remote-device detail ...................................................................... 383

    5.15.6. show lldp local-device ..................................................................................... 384

    5.15.7. show lldp local-device detail ........................................................................... 385

    5.15.8. show lldp dcbx interface ................................................................................. 386

    5.15.9. show lldp tlv-select interface .......................................................................... 388

    5.15.10. show lldp remote-comparison ........................................................................ 388

    5.15.11. lldp notification ............................................................................................... 389

    5.15.12. lldp notification-interval ................................................................................. 389

    5.15.13. lldp receive ..................................................................................................... 390

    5.15.14. lldp transmit ................................................................................................... 390

    5.15.15. lldp transmit-mgmt ......................................................................................... 391

    5.15.16. lldp transmit-tlv .............................................................................................. 391

    5.15.17. lldp timers ....................................................................................................... 392

    5.15.18. lldp tx-delay .................................................................................................... 392

    5.15.19. lldp dcbx version ............................................................................................. 393

    5.15.20. lldp dcbx port-role .......................................................................................... 394

    5.15.21. lldp tlv-select dcbxp ........................................................................................ 395

    5.15.22. lldp mgmt-address .......................................................................................... 395

    5.15.23. lldp portid-subtype ......................................................................................... 396

    5.16. System Utilities ........................................................................................... 398

    5.16.1. Clear ................................................................................................................ 398

    5.16.1.1. clear arp .......................................................................................................... 398

    5.16.1.2. clear traplog ................................................................................................... 398

    5.16.1.3. clear eventlog ................................................................................................. 398

    5.16.1.4. clear logging buffered ..................................................................................... 398

    5.16.1.5. clear config ..................................................................................................... 399

    5.16.1.6. clear pass ........................................................................................................ 399

    5.16.1.7. clear counters ................................................................................................. 399

    5.16.1.8. clear vlan ........................................................................................................ 399

    5.16.1.9. clear igmp snooping ........................................................................................ 400

    5.16.1.10. clear ip filter .................................................................................................... 400

    5.16.1.11. clear dot1x authentication-history .................................................................. 400

    5.16.1.12. clear radius statistics ...................................................................................... 400

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 21

    5.16.1.13. clear host ........................................................................................................ 401

    5.16.1.14. clear port-security dynamic............................................................................. 401

    5.16.1.15. clear ip arp-cache............................................................................................ 401

    5.16.1.16. clear lldp statistics .......................................................................................... 401

    5.16.1.17. clear lldp remote-data .................................................................................... 402

    5.16.1.18. clear ipv6 neighbors ........................................................................................ 402

    5.16.1.19. clear ipv6 statistics .......................................................................................... 402

    5.16.1.20. clear ipv6 dhcp statistics ................................................................................. 402

    5.16.1.21. clear ipv6 dhcp statistics per interface ............................................................ 403

    5.16.1.22. enable password ............................................................................................. 403

    5.16.2. copy ................................................................................................................ 403

    5.16.2.1. copy source ............................................................................................ 404

    5.16.2.2. copy destination .................................................................................... 404

    5.16.2.3. copy running-config ........................................................................................ 405

    5.16.2.4. copy {startup-config backup-config | backup-config startup-config} .............. 405

    5.16.3. delete .............................................................................................................. 406

    5.16.4. erase application ............................................................................................ 406

    5.16.5. erase startup-config ........................................................................................ 406

    5.16.6. erase user public key ...................................................................................... 406

    5.16.7. dir ................................................................................................................... 407

    5.16.8. show bootvar .................................................................................................. 407

    5.16.9. Ping Commands .............................................................................................. 408

    5.16.9.1. ping ................................................................................................................. 408

    5.16.9.2. ping ipv6 ......................................................................................................... 409

    5.16.9.3. ping ipv6 interface .......................................................................................... 409

    5.16.10. Traceroute ...................................................................................................... 410

    5.16.10.1. traceroute ....................................................................................................... 410

    5.16.10.2. traceroute ipv6 ............................................................................................... 411

    5.16.11. reload.............................................................................................................. 411

    5.16.12. configure ......................................................................................................... 412

    5.16.13. disconnect ...................................................................................................... 412

    5.16.14. hostname ........................................................................................................ 413

    5.16.15. quit ................................................................................................................. 413

    5.16.16. AutoInstall commands .................................................................................... 413

  • NETGEAR M4500 Series Switches CLI Command Reference Manual 22

    5.16.16.1. show autoinstall .............................................................................................. 413

    5.16.16.2. boot-system autoinstall .................................................................................. 414

    5.16.16.3. boot-system host autoinstall........................................................................... 414

    5.16.16.4. boot-system host autosave ............................................................................. 414

    5.16.16.5. boot-system host autoreboot.......................................................................... 415

    5.16.16.6. boot-system host upgrade .............................................................................. 415

    5.16.16.7. boot-system host retrycount ........................................................................... 416

    5.16.17. Capture CPU packet commands ...................................................................... 416

    5.16.17.1. show capture .................................................................................................. 416

    5.16.17.2. capture start ................................................................................................... 417

    5.16.17.3. capture stop .................................................................................................... 417

    5.16.17.4. capture {file | remote | line} ........................................................................... 418

    5.16.17.5. capture remote port ........................................................................................ 418

    5.16.17.6. capture file size ............................................................................................... 419

    5.16.17.7. capture line wrap ............................................................................................ 419

    5.16.18. set clibanner ................................................................................................... 419

    5.16.19. Link-Flap commands ....................................................................................... 420

    5.16.19.1. show link-flap .................................................................................................. 420

    5.16.19.2. link-flap ........................................................................................................... 420

    5.16.20. Loop Detection commands ............................................................................. 421

    5.16.20.1. show loop-detection ....................................................................................... 421

    5.16.20.2. show loop-detection statistics ......................................................................... 421

    5.16.20.3. loop-detection (Global Config) ........................................................................ 422

    5.16.20.4. loop-detection (Interface Config) .................................................................... 422

    5.16.20.5. loop-detection action ...................................................................................... 423

    5.16.21. In-Service Software Upgrade .......................................................................... 423

    5.16.21.1. show issu status .............................................................................................. 423

    5.16.21.2. show issu status details .................................................................................. 424

    5.17. DHCP Snooping Commands ......................................................................... 424

    5.17.1. show ip dhcp snooping ................................................................................... 425

    5.17.2. show ip dhcp snooping per interface .............................................................. 426

    5.17.3. show ip dhcp snooping binding ...................................................................... 426

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