Cisco Nexus 9000 Series Switches Configuration Guide

Category
Software
Type
Configuration Guide
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release
9.2(x)
First Published: 2018-07-17
Last Modified: 2020-10-27
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,
INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITH
THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED WARRANTY,
CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB's public domain version of
the UNIX operating system. All rights reserved. Copyright ©1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS" WITH ALL FAULTS.
CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUT
LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERS
HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output, network
topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content is unintentional
and coincidental.
All printed copies and duplicate soft copies of this document are considered uncontrolled. See the current online version for the latest version.
Cisco has more than 200 offices worldwide. Addresses and phone numbers are listed on the Cisco website at www.cisco.com/go/offices.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL:
https://www.cisco.com/c/en/us/about/legal/trademarks.html. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a
partnership relationship between Cisco and any other company. (1721R)
©2018–2021 Cisco Systems, Inc. All rights reserved.
CONTENTS
Preface xxiii
PREFACE
Audience xxiii
Document Conventions xxiii
Related Documentation for Cisco Nexus 9000 Series Switches xxiv
Documentation Feedback xxiv
Communications, Services, and Additional Information xxiv
New and Changed Information 1
CHAPTER 1
New and Changed Information 1
Overview 5
CHAPTER 2
Licensing Requirements 5
Authentication, Authorization, and Accounting 5
RADIUS and TACACS+ Security Protocols 6
LDAP 7
SSH and Telnet 7
User Accounts and Roles 7
IP ACLs 7
MAC ACLs 7
VACLs 8
DHCP Snooping 8
Dynamic ARP Inspection 8
IP Source Guard 8
Password Encryption 9
Keychain Management 9
Control Plane Policing 9
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
iii
Rate Limits 9
Software Image 10
Virtual Device Contexts 10
Configuring AAA 11
CHAPTER 3
About AAA 11
AAA Security Services 11
Benefits of Using AAA 12
Remote AAA Services 12
AAA Server Groups 13
AAA Service Configuration Options 13
Authentication and Authorization Process for User Login 14
AES Password Encryption and Primary Encryption Keys 15
Prerequisites for AAA 15
Guidelines and Limitations for AAA 16
Default Settings for AAA 16
Configuring AAA 16
Process for Configuring AAA 17
Configuring Console Login Authentication Methods 17
Configuring Default Login Authentication Methods 19
Disabling Fallback to Local Authentication 21
Enabling the Default User Role for AAA Authentication 22
Enabling Login Authentication Failure Messages 23
Logging Successful and Failed Login Attempts 23
Enabling CHAP Authentication 25
Enabling MSCHAP or MSCHAP V2 Authentication 26
Configuring AAA Accounting Default Methods 28
Using AAA Server VSAs with Cisco NX-OS Devices 29
About VSAs 29
VSA Format 30
Specifying Cisco NX-OS User Roles and SNMPv3 Parameters on AAA Servers 30
Configuring Secure Login Features 31
Configuring Login Parameters 31
Restricting User Login Sessions 32
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
iv
Contents
Restricting the Password Length 33
Enabling the Password Prompt for the Username 33
Configuring the Shared Secret for RADIUS or TACACS+ 34
Monitoring and Clearing the Local AAA Accounting Log 35
Verifying the AAA Configuration 35
Configuration Examples for AAA 36
Configuration Examples for Login Parameters 36
Configuration Examples for the Password Prompt Feature 37
Additional References for AAA 38
Configuring RADIUS 39
CHAPTER 4
About RADIUS 39
RADIUS Network Environments 39
RADIUS Operation 40
RADIUS Server Monitoring 40
Vendor-Specific Attributes 41
About RADIUS Change of Authorization 42
Session Reauthentication 43
Session Termination 43
Prerequisites for RADIUS 43
Guidelines and Limitations for RADIUS 43
Guidelines and Limitations for RADIUS Change of Authorization 44
Default Settings for RADIUS 44
Configuring RADIUS Servers 45
RADIUS Server Configuration Process 45
Configuring RADIUS Server Hosts 45
Configuring Global RADIUS Keys 47
Configuring a Key for a Specific RADIUS Server 48
Configuring RADIUS Server Groups 49
Configuring the Global Source Interface for RADIUS Server Groups 51
Allowing Users to Specify a RADIUS Server at Login 52
Configuring the Global RADIUS Transmission Retry Count and Timeout Interval 53
Configuring the RADIUS Transmission Retry Count and Timeout Interval for a Server 54
Configuring Accounting and Authentication Attributes for RADIUS Servers 55
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
v
Contents
Configuring Global Periodic RADIUS Server Monitoring 57
Configuring Periodic RADIUS Server Monitoring on Individual Servers 58
Configuring the RADIUS Dead-Time Interval 60
Configuring One-Time Passwords 61
Manually Monitoring RADIUS Servers or Groups 61
Enabling or Disabling Dynamic Author Server 62
Configuring RADIUS Change of Authorization 62
Verifying the RADIUS Configuration 63
Verifying RADIUS Change of Authorization Configuration 64
Monitoring RADIUS Servers 64
Clearing RADIUS Server Statistics 65
Configuration Example for RADIUS 65
Configuration Examples of RADIUS Change of Authorization 65
Where to Go Next 65
Additional References for RADIUS 66
Configuring TACACS+ 67
CHAPTER 5
About TACACS+ 67
TACACS+ Advantages 67
TACACS+ Operation for User Login 68
Default TACACS+ Server Encryption Type and Secret Key 69
Command Authorization Support for TACACS+ Servers 69
TACACS+ Server Monitoring 69
Vendor-Specific Attributes for TACACS+ 70
Cisco VSA Format for TACACS+ 70
Prerequisites for TACACS+ 71
Guidelines and Limitations for TACACS+ 71
Default Settings for TACACS+ 71
One-Time Password Support 72
Configuring TACACS+ 72
TACACS+ Server Configuration Process 72
Enabling TACACS+ 73
Configuring TACACS+ Server Hosts 73
Configuring Global TACACS+ Keys 74
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
vi
Contents
Configuring a Key for a Specific TACACS+ Server 76
Configuring TACACS+ Server Groups 77
Configuring the Global Source Interface for TACACS+ Server Groups 78
Allowing Users to Specify a TACACS+ Server at Login 79
Configuring the Timeout Interval for a TACACS+ Server 80
Configuring TCP Ports 81
Configuring Global Periodic TACACS+ Server Monitoring 83
Configuring Periodic TACACS+ Server Monitoring on Individual Servers 84
Configuring the TACACS+ Dead-Time Interval 86
Configuring ASCII Authentication 87
Configuring AAA Authorization on TACACS+ Servers 88
Configuring Command Authorization on TACACS+ Servers 89
Testing Command Authorization on TACACS+ Servers 91
Enabling and Disabling Command Authorization Verification 92
Configuring Privilege Level Support for Authorization on TACACS+ Servers 92
Permitting or Denying Commands for Users of Privilege Roles 94
Manually Monitoring TACACS+ Servers or Groups 96
Disabling TACACS+ 96
Monitoring TACACS+ Servers 97
Clearing TACACS+ Server Statistics 97
Verifying the TACACS+ Configuration 98
Configuration Examples for TACACS+ 98
Where to Go Next 100
Additional References for TACACS+ 100
Configuring LDAP 103
CHAPTER 6
About LDAP 103
LDAP Authentication and Authorization 103
LDAP Operation for User Login 104
LDAP Server Monitoring 105
Vendor-Specific Attributes for LDAP 105
Cisco VSA Format for LDAP 105
Virtualization Support for LDAP 106
Prerequisites for LDAP 106
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
vii
Contents
Guidelines and Limitations for LDAP 106
Default Settings for LDAP 107
Configuring LDAP 107
LDAP Server Configuration Process 107
Enabling or Disabling LDAP 108
Configuring LDAP Server Hosts 108
Configuring the RootDN for an LDAP Server 110
Configuring LDAP Server Groups 111
Configuring the Global LDAP Timeout Interval 112
Configuring the Timeout Interval for an LDAP Server 113
Configuring TCP Ports 114
Configuring LDAP Search Maps 115
Configuring Periodic LDAP Server Monitoring 116
Configuring the LDAP Dead-Time Interval 117
Configuring AAA Authorization on LDAP Servers 118
Monitoring LDAP Servers 119
Clearing LDAP Server Statistics 119
Verifying the LDAP Configuration 120
Configuration Examples for LDAP 121
Where to Go Next 121
Additional References for LDAP 121
Configuring SSH and Telnet 123
CHAPTER 7
About SSH and Telnet 123
SSH Server 123
SSH Client 123
SSH Server Keys 124
SSH Authentication Using Digital Certificates 124
Telnet Server 125
Prerequisites for SSH and Telnet 125
Guidelines and Limitations for SSH and Telnet 125
Default Settings for SSH and Telnet 126
Configuring SSH 126
Generating SSH Server Keys 126
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
viii
Contents
Specifying the SSH Public Keys for User Accounts 128
Specifying the SSH Public Keys in IETF SECSH Format 128
Specifying the SSH Public Keys in OpenSSH Format 129
Configuring a Maximum Number of SSH Login Attempts 129
Starting SSH Sessions 130
Starting SSH Sessions from Boot Mode 131
Configuring SSH Passwordless File Copy 131
Configuring SCP and SFTP Servers 133
Configuring X.509v3 Certificate-Based SSH Authentication 134
Configuring Legacy SSH Algorithm Support 136
Changing the Default SSH Server Port 138
Clearing SSH Hosts 139
Disabling the SSH Server 139
Deleting SSH Server Keys 140
Clearing SSH Sessions 141
Configuring Telnet 141
Enabling the Telnet Server 141
Starting Telnet Sessions to Remote Devices 142
Clearing Telnet Sessions 143
Verifying the SSH and Telnet Configuration 143
Configuration Example for SSH 144
Configuration Example for SSH Passwordless File Copy 145
Configuration Example for X.509v3 Certificate-Based SSH Authentication 147
Additional References for SSH and Telnet 148
Configuring User Accounts and RBAC 149
CHAPTER 8
About User Accounts and RBAC 149
User Accounts 149
Characteristics of Strong Passwords 150
User Roles 151
User Role Rules 151
Guidelines and Limitations for User Accounts and RBAC 152
Default Settings for User Accounts and RBAC 153
Enabling Password-Strength Checking 153
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
ix
Contents
Configuring User Accounts 154
Configuring Roles 156
Creating User Roles and Rules 156
Creating Feature Groups 158
Changing User Role Interface Policies 160
Changing User Role VLAN Policies 161
Changing User Role VRF Policies 162
About No Service Password-Recovery 163
Enabling No Service Password-Recovery 164
Verifying User Accounts and RBAC Configuration 165
Configuration Examples for User Accounts and RBAC 166
Additional References for User Accounts and RBAC 167
Configuring 802.1X 169
CHAPTER 9
About 802.1X 169
Device Roles 169
Authentication Initiation and Message Exchange 170
Authenticator PAE Status for Interfaces 172
Ports in Authorized and Unauthorized States 172
MAC Authentication Bypass 173
Dynamic VLAN Assignment based on MAC-Based Authentication (MAB) 173
VLAN Assignment from RADIUS 174
Single Host and Multiple Hosts Support 174
Supported Topology 174
Prerequisites for 802.1X 175
802.1X Guidelines and Limitations 175
Default Settings for 802.1X 177
Configuring 802.1X 178
Process for Configuring 802.1X 178
Enabling the 802.1X Feature 178
Configuring AAA Authentication Methods for 802.1X 179
Controlling 802.1X Authentication on an Interface 180
Creating or Removing an Authenticator PAE on an Interface 181
Enabling Periodic Reauthentication for an Interface 182
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
x
Contents
Manually Reauthenticating Supplicants 183
Changing 802.1X Authentication Timers for an Interface 184
Enabling MAC Authentication Bypass 186
Enabling Single Host or Multiple Hosts Mode 187
Disabling 802.1X Authentication on the Cisco NX-OS Device 188
Disabling the 802.1X Feature 189
Resetting the 802.1X Interface Configuration to the Default Values 190
Setting the Maximum Authenticator-to-Supplicant Frame for an Interface 191
Enabling RADIUS Accounting for 802.1X Authentication 192
Configuring AAA Accounting Methods for 802.1X 192
Setting the Maximum Reauthentication Retry Count on an Interface 193
Verifying the 802.1X Configuration 194
802.1X Support for VXLAN EVPN 195
Guidelines and Limitations for 802.1X Support for VXLAN EVPN 195
Configuring 802.1X Support for VXLAN EVPN 195
Verifying the 802.1X Support for VXLAN EVPN 197
Monitoring 802.1X 199
Configuration Example for 802.1X 200
Additional References for 802.1X 200
Configuring IP ACLs 201
CHAPTER 10
About ACLs 201
ACL Types and Applications 202
Order of ACL Application 203
About Rules 204
Protocols for IP ACLs and MAC ACLs 204
Source and Destination 205
Implicit Rules for IP and MAC ACLs 205
Additional Filtering Options 205
Sequence Numbers 206
Logical Operators and Logical Operation Units 207
IPv4 ACL Logging 207
Time Ranges 208
Policy-Based ACLs 209
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
xi
Contents
Statistics and ACLs 210
Atomic ACL Updates 210
Session Manager Support for IP ACLs 211
ACL TCAM Regions 211
Maximum Label Sizes Supported for ACL Types 217
Prerequisites for IP ACLs 217
Guidelines and Limitations for IP ACLs 217
Default Settings for IP ACLs 222
Configuring IP ACLs 222
Creating an IP ACL 222
Changing an IP ACL 225
Creating a VTY ACL 226
Changing Sequence Numbers in an IP ACL 227
Removing an IP ACL 228
Configuring ACL TCAM Region Sizes 229
Using Templates to Configure ACL TCAM Region Sizes 238
Configuring TCAM Carving 240
Configuring UDF-Based Port ACLs 247
Applying an IP ACL as a Router ACL 249
Applying an IP ACL as a Port ACL 250
Applying an IP ACL as a VACL 251
Configuring IPv4 ACL Logging 252
Configuring ACLs Using HTTP Methods to Redirect Requests 254
Verifying the IP ACL Configuration 256
Monitoring and Clearing IP ACL Statistics 258
Configuration Examples for IP ACLs 258
About System ACLs 259
Carving a TCAM Region 260
Configuring System ACLs 260
Configuration and Show Command Examples for the System ACLs 261
Configuring Object Groups 263
Session Manager Support for Object Groups 263
Creating and Changing an IPv4 Address Object Group 263
Creating and Changing an IPv6 Address Object Group 264
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
xii
Contents
Creating and Changing a Protocol Port Object Group 265
Removing an Object Group 267
Verifying the Object-Group Configuration 267
Configuring Time-Ranges 268
Session Manager Support for Time-Ranges 268
Creating a Time-Range 268
Changing a Time-Range 269
Removing a Time-Range 271
Changing Sequence Numbers in a Time Range 271
Verifying the Time-Range Configuration 272
Additional References for IP ACLs 272
Configuring MAC ACLs 273
CHAPTER 11
About MAC ACLs 273
MAC Packet Classification 273
Guidelines and Limitations for MAC ACLs 274
Default Settings for MAC ACLs 274
Configuring MAC ACLs 274
Creating a MAC ACL 274
Changing a MAC ACL 275
Changing Sequence Numbers in a MAC ACL 276
Removing a MAC ACL 277
Applying a MAC ACL as a Port ACL 278
Applying a MAC ACL as a VACL 279
Enabling or Disabling MAC Packet Classification 279
Verifying the MAC ACL Configuration 280
Monitoring and Clearing MAC ACL Statistics 281
Configuration Example for MAC ACLs 281
Additional References for MAC ACLs 281
Configuring VLAN ACLs 283
CHAPTER 12
About VLAN ACLs 283
VLAN Access Maps and Entries 283
VACLs and Actions 283
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
xiii
Contents
VACL Statistics 284
Session Manager Support for VACLs 284
Prerequisites for VACLs 284
Guidelines and Limitations for VACLs 284
Default Settings for VACLs 285
Configuring VACLs 285
Creating a VACL or Adding a VACL Entry 285
Removing a VACL or a VACL Entry 287
Applying a VACL to a VLAN 288
Verifying the VACL Configuration 288
Monitoring and Clearing VACL Statistics 289
Configuration Example for VACLs 289
Additional References for VACLs 289
Configuring Port Security 291
CHAPTER 13
About Port Security 291
Secure MAC Address Learning 291
Static Method 292
Dynamic Method 292
Sticky Method 292
Dynamic Address Aging 293
Secure MAC Address Maximums 293
Security Violations and Actions 294
Port Security and Port Types 295
Port Security and Port-Channel Interfaces 295
Port Type Changes 297
Prerequisites for Port Security 297
Default Settings for Port Security 297
Guidelines and Limitations for Port Security 297
Guidelines and Limitations for Port Security on vPCs 298
Configuring Port Security 299
Enabling or Disabling Port Security Globally 299
Enabling or Disabling Port Security on a Layer 2 Interface 300
Enabling or Disabling Sticky MAC Address Learning 301
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
xiv
Contents
Adding a Static Secure MAC Address on an Interface 302
Removing a Static Secure MAC Address on an Interface 303
Removing a Sticky Secure MAC Address 304
Removing a Dynamic Secure MAC Address 305
Configuring a Maximum Number of MAC Addresses 306
Configuring an Address Aging Type and Time 307
Configuring a Security Violation Action 308
Verifying the Port Security Configuration 309
Displaying Secure MAC Addresses 309
Configuration Example for Port Security 309
Configuration Examples for Port Security in a vPC Domain 310
Example: Configuring Port Security on an Orphan Port 310
Example: Configuring Port Security on the vPC Leg 310
Additional References for Port Security 311
Configuring DHCP 313
CHAPTER 14
About DHCP Snooping 313
Trusted and Untrusted Sources 314
DHCP Snooping Binding Database 314
DHCP Snooping in a vPC Environment 315
Synchronizing DHCP Snooping Binding Entries 315
Packet Validation 315
DHCP Snooping Option 82 Data Insertion 316
About the DHCP Relay Agent 317
DHCP Relay Agent 317
DHCP Relay Agent Option 82 317
VRF Support for the DHCP Relay Agent 319
DHCP Smart Relay Agent 320
About the DHCPv6 Relay Agent 320
DHCPv6 Relay Agent 320
VRF Support for the DHCPv6 Relay Agent 320
About DHCP Client 320
Prerequisites for DHCP 321
Guidelines and Limitations for DHCP 321
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
xv
Contents
Default Settings for DHCP 322
Configuring DHCP 323
Minimum DHCP Configuration 323
Enabling or Disabling the DHCP Feature 323
Configuring DHCP Snooping 324
Enabling or Disabling DHCP Snooping Globally 324
Enabling or Disabling DHCP Snooping on a VLAN 325
Enabling or Disabling DHCP Snooping MAC Address Verification 326
Enabling or Disabling Option 82 Data Insertion and Removal 326
Enabling or Disabling Strict DHCP Packet Validation 328
Configuring an Interface as Trusted or Untrusted 329
Enabling or Disabling DHCP Relay Trusted Port Functionality 330
Configuring an Interface as a DHCP Relay Trusted or Untrusted Port 331
Configuring all Interfaces as Trusted or Untrusted 332
Enabling or Disabling the DHCP Relay Agent 333
Enabling or Disabling Option 82 for the DHCP Relay Agent 334
Enabling or Disabling VRF Support for the DHCP Relay Agent 335
Configuring DHCP Server Addresses on an Interface 336
Configuring the DHCP Relay Source Interface 338
Enabling or Disabling DHCP Smart Relay Globally 339
Enabling or Disabling DHCP Smart Relay on a Layer 3 Interface 340
Configuring DHCPv6 341
Enabling or Disabling the DHCPv6 Relay Agent 341
Enabling or Disabling VRF Support for the DHCPv6 Relay Agent 341
Configuring DHCPv6 Server Addresses on an Interface 342
Configuring the DHCPv6 Relay Source Interface 344
Configuring IPv6 RA Guard 345
Enabling DHCP Client 346
Verifying the DHCP Configuration 347
Displaying IPv6 RA Guard Statistics 348
Displaying DHCP Snooping Bindings 348
Clearing the DHCP Snooping Binding Database 348
Monitoring DHCP 349
Clearing DHCP Snooping Statistics 349
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
xvi
Contents
Clearing DHCP Relay Statistics 349
Clearing DHCPv6 Relay Statistics 349
Configuration Examples for DHCP 349
Configuration Examples for DHCP Client 350
Additional References for DHCP 350
Configuring IPv6 First Hop Security 353
CHAPTER 15
About First-Hop Security 353
IPv6 Global Policies 354
IPv6 First-Hop Security Binding Table 354
Guidelines and Limitations of First-Hop Security 354
About vPC First-Hop Security Configuration 355
DHCP Relay On-stack 355
DHCP Relay on VPC Leg 356
DHCP Client Relay on Orphan Ports 357
RA Guard 358
Overview of IPv6 RA Guard 358
Guidelines and Limitations of IPv6 RA Guard 359
DHCPv6 Guard 359
Overview of DHCP—DHCPv6 Guard 359
Limitation of DHCPv6 Guard 359
IPv6 Snooping 360
Overview of IPv6 Snooping 360
Guidelines and Limitations for IPv6 Snooping 360
How to Configure IPv6 FHS 361
Configuring the IPv6 RA Guard Policy on the Device 361
Configuring IPv6 RA Guard on an Interface 362
Configuring DHCP—DHCPv6 Guard 363
Configuring IPv6 Snooping 366
Verifying and Troubleshooting IPv6 Snooping 368
Configuration Examples 369
Example: IPv6 RA Guard Configuration 369
Example: Configuring DHCP—DHCPv6 Guard 369
Example: Configuring IPv6 First-Hop Security Binding Table 369
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
xvii
Contents
Example: Configuring IPv6 Snooping 370
Additional References for IPv6 First-Hop Security 370
Configuring Dynamic ARP Inspection 371
CHAPTER 16
About DAI 371
ARP 371
ARP Spoofing Attacks 371
DAI and ARP Spoofing Attacks 372
Interface Trust States and Network Security 373
Logging DAI Packets 374
Prerequisites for DAI 374
Guidelines and Limitations for DAI 374
Default Settings for DAI 375
Configuring DAI 376
Enabling or Disabling DAI on VLANs 376
Configuring the DAI Trust State of a Layer 2 Interface 376
Enabling or Disabling Additional Validation 377
Configuring the DAI Logging Buffer Size 379
Configuring DAI Log Filtering 379
Verifying the DAI Configuration 380
Monitoring and Clearing DAI Statistics 380
Configuration Examples for DAI 381
Two Devices Support DAI 381
Configuring Device A 381
Configuring Device B 383
Additional References for DAI 385
Related Documents 385
Standards 385
Configuring IP Source Guard 387
CHAPTER 17
About IP Source Guard 387
Prerequisites for IP Source Guard 388
Guidelines and Limitations for IP Source Guard 388
Default Settings for IP Source Guard 389
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
xviii
Contents
Configuring IP Source Guard 389
Enabling or Disabling IP Source Guard on a Layer 2 Interface 389
Adding or Removing a Static IP Source Entry 390
Configuring IP Source Guard for Trunk Ports 391
Displaying IP Source Guard Bindings 391
Clearing IP Source Guard Statistics 392
Configuration Example for IP Source Guard 392
Additional References 392
Related Documents 392
Configuring Password Encryption 393
CHAPTER 18
About AES Password Encryption and Primay Encryption Keys 393
Guidelines and Limitations for Password Encryption 393
Default Settings for Password Encryption 394
Configuring Password Encryption 394
Configuring a Primary Key and Enabling the AES Password Encryption Feature 394
Converting Existing Passwords to Type-6 Encrypted Passwords 396
Converting Type-6 Encrypted Passwords Back to Their Original States 396
Deleting Type-6 Encrypted Passwords 396
Verifying the Password Encryption Configuration 397
Configuration Examples for Password Encryption 397
Configuring Keychain Management 399
CHAPTER 19
About Keychain Management 399
Lifetime of a Key 399
Prerequisites for Keychain Management 400
Guidelines and Limitations for Keychain Management 400
Default Settings for Keychain Management 400
Configuring Keychain Management 401
Creating a Keychain 401
Removing a Keychain 401
Configuring a Primary Key and Enabling the AES Password Encryption Feature 402
Configuring Text for a Key 403
Configuring Accept and Send Lifetimes for a Key 405
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
xix
Contents
Configuring a Key for OSPFv2 Cryptographic Authentication 406
Determining Active Key Lifetimes 407
Verifying the Keychain Management Configuration 408
Configuration Example for Keychain Management 408
Where to Go Next 408
Additional References for Keychain Management 408
Configuring Unicast RPF 411
CHAPTER 20
About Unicast RPF 411
Unicast RPF Process 412
Guidelines and Limitations for Unicast RPF 412
Default Settings for Unicast RPF 414
Configuring Unicast RPF for Cisco Nexus 9500 Switches with -R Line Cards 414
Configuring Unicast RPF for Cisco Nexus 9300 Switches 415
Configuration Examples for Unicast RPF 418
Verifying the Unicast RPF Configuration 419
Additional References for Unicast RPF 419
Configuring Switchport Blocking 421
CHAPTER 21
About Switchport Blocking 421
Guidelines and Limitations for Switchport Blocking 421
Default Settings for Switchport Blocking 422
Configuring Switchport Blocking 422
Verifying the Switchport Blocking Configuration 423
Configuration Example for Switchport Blocking 423
Configuring Control Plane Policing 425
CHAPTER 22
About CoPP 425
Control Plane Protection 426
Control Plane Packet Types 426
Classification for CoPP 427
Rate Controlling Mechanisms 427
Dynamic and Static CoPP ACLs 428
Default Policing Policies 429
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.2(x)
xx
Contents
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126
  • Page 127 127
  • Page 128 128
  • Page 129 129
  • Page 130 130
  • Page 131 131
  • Page 132 132
  • Page 133 133
  • Page 134 134
  • Page 135 135
  • Page 136 136
  • Page 137 137
  • Page 138 138
  • Page 139 139
  • Page 140 140
  • Page 141 141
  • Page 142 142
  • Page 143 143
  • Page 144 144
  • Page 145 145
  • Page 146 146
  • Page 147 147
  • Page 148 148
  • Page 149 149
  • Page 150 150
  • Page 151 151
  • Page 152 152
  • Page 153 153
  • Page 154 154
  • Page 155 155
  • Page 156 156
  • Page 157 157
  • Page 158 158
  • Page 159 159
  • Page 160 160
  • Page 161 161
  • Page 162 162
  • Page 163 163
  • Page 164 164
  • Page 165 165
  • Page 166 166
  • Page 167 167
  • Page 168 168
  • Page 169 169
  • Page 170 170
  • Page 171 171
  • Page 172 172
  • Page 173 173
  • Page 174 174
  • Page 175 175
  • Page 176 176
  • Page 177 177
  • Page 178 178
  • Page 179 179
  • Page 180 180
  • Page 181 181
  • Page 182 182
  • Page 183 183
  • Page 184 184
  • Page 185 185
  • Page 186 186
  • Page 187 187
  • Page 188 188
  • Page 189 189
  • Page 190 190
  • Page 191 191
  • Page 192 192
  • Page 193 193
  • Page 194 194
  • Page 195 195
  • Page 196 196
  • Page 197 197
  • Page 198 198
  • Page 199 199
  • Page 200 200
  • Page 201 201
  • Page 202 202
  • Page 203 203
  • Page 204 204
  • Page 205 205
  • Page 206 206
  • Page 207 207
  • Page 208 208
  • Page 209 209
  • Page 210 210
  • Page 211 211
  • Page 212 212
  • Page 213 213
  • Page 214 214
  • Page 215 215
  • Page 216 216
  • Page 217 217
  • Page 218 218
  • Page 219 219
  • Page 220 220
  • Page 221 221
  • Page 222 222
  • Page 223 223
  • Page 224 224
  • Page 225 225
  • Page 226 226
  • Page 227 227
  • Page 228 228
  • Page 229 229
  • Page 230 230
  • Page 231 231
  • Page 232 232
  • Page 233 233
  • Page 234 234
  • Page 235 235
  • Page 236 236
  • Page 237 237
  • Page 238 238
  • Page 239 239
  • Page 240 240
  • Page 241 241
  • Page 242 242
  • Page 243 243
  • Page 244 244
  • Page 245 245
  • Page 246 246
  • Page 247 247
  • Page 248 248
  • Page 249 249
  • Page 250 250
  • Page 251 251
  • Page 252 252
  • Page 253 253
  • Page 254 254
  • Page 255 255
  • Page 256 256
  • Page 257 257
  • Page 258 258
  • Page 259 259
  • Page 260 260
  • Page 261 261
  • Page 262 262
  • Page 263 263
  • Page 264 264
  • Page 265 265
  • Page 266 266
  • Page 267 267
  • Page 268 268
  • Page 269 269
  • Page 270 270
  • Page 271 271
  • Page 272 272
  • Page 273 273
  • Page 274 274
  • Page 275 275
  • Page 276 276
  • Page 277 277
  • Page 278 278
  • Page 279 279
  • Page 280 280
  • Page 281 281
  • Page 282 282
  • Page 283 283
  • Page 284 284
  • Page 285 285
  • Page 286 286
  • Page 287 287
  • Page 288 288
  • Page 289 289
  • Page 290 290
  • Page 291 291
  • Page 292 292
  • Page 293 293
  • Page 294 294
  • Page 295 295
  • Page 296 296
  • Page 297 297
  • Page 298 298
  • Page 299 299
  • Page 300 300
  • Page 301 301
  • Page 302 302
  • Page 303 303
  • Page 304 304
  • Page 305 305
  • Page 306 306
  • Page 307 307
  • Page 308 308
  • Page 309 309
  • Page 310 310
  • Page 311 311
  • Page 312 312
  • Page 313 313
  • Page 314 314
  • Page 315 315
  • Page 316 316
  • Page 317 317
  • Page 318 318
  • Page 319 319
  • Page 320 320
  • Page 321 321
  • Page 322 322
  • Page 323 323
  • Page 324 324
  • Page 325 325
  • Page 326 326
  • Page 327 327
  • Page 328 328
  • Page 329 329
  • Page 330 330
  • Page 331 331
  • Page 332 332
  • Page 333 333
  • Page 334 334
  • Page 335 335
  • Page 336 336
  • Page 337 337
  • Page 338 338
  • Page 339 339
  • Page 340 340
  • Page 341 341
  • Page 342 342
  • Page 343 343
  • Page 344 344
  • Page 345 345
  • Page 346 346
  • Page 347 347
  • Page 348 348
  • Page 349 349
  • Page 350 350
  • Page 351 351
  • Page 352 352
  • Page 353 353
  • Page 354 354
  • Page 355 355
  • Page 356 356
  • Page 357 357
  • Page 358 358
  • Page 359 359
  • Page 360 360
  • Page 361 361
  • Page 362 362
  • Page 363 363
  • Page 364 364
  • Page 365 365
  • Page 366 366
  • Page 367 367
  • Page 368 368
  • Page 369 369
  • Page 370 370
  • Page 371 371
  • Page 372 372
  • Page 373 373
  • Page 374 374
  • Page 375 375
  • Page 376 376
  • Page 377 377
  • Page 378 378
  • Page 379 379
  • Page 380 380
  • Page 381 381
  • Page 382 382
  • Page 383 383
  • Page 384 384
  • Page 385 385
  • Page 386 386
  • Page 387 387
  • Page 388 388
  • Page 389 389
  • Page 390 390
  • Page 391 391
  • Page 392 392
  • Page 393 393
  • Page 394 394
  • Page 395 395
  • Page 396 396
  • Page 397 397
  • Page 398 398
  • Page 399 399
  • Page 400 400
  • Page 401 401
  • Page 402 402
  • Page 403 403
  • Page 404 404
  • Page 405 405
  • Page 406 406
  • Page 407 407
  • Page 408 408
  • Page 409 409
  • Page 410 410
  • Page 411 411
  • Page 412 412
  • Page 413 413
  • Page 414 414
  • Page 415 415
  • Page 416 416
  • Page 417 417
  • Page 418 418
  • Page 419 419
  • Page 420 420
  • Page 421 421
  • Page 422 422
  • Page 423 423
  • Page 424 424
  • Page 425 425
  • Page 426 426
  • Page 427 427
  • Page 428 428
  • Page 429 429
  • Page 430 430
  • Page 431 431
  • Page 432 432
  • Page 433 433
  • Page 434 434
  • Page 435 435
  • Page 436 436
  • Page 437 437
  • Page 438 438
  • Page 439 439
  • Page 440 440
  • Page 441 441
  • Page 442 442
  • Page 443 443
  • Page 444 444
  • Page 445 445
  • Page 446 446
  • Page 447 447
  • Page 448 448
  • Page 449 449
  • Page 450 450
  • Page 451 451
  • Page 452 452
  • Page 453 453
  • Page 454 454
  • Page 455 455
  • Page 456 456
  • Page 457 457
  • Page 458 458
  • Page 459 459
  • Page 460 460
  • Page 461 461
  • Page 462 462
  • Page 463 463
  • Page 464 464
  • Page 465 465
  • Page 466 466
  • Page 467 467
  • Page 468 468
  • Page 469 469
  • Page 470 470
  • Page 471 471
  • Page 472 472
  • Page 473 473
  • Page 474 474
  • Page 475 475
  • Page 476 476
  • Page 477 477
  • Page 478 478
  • Page 479 479
  • Page 480 480
  • Page 481 481
  • Page 482 482
  • Page 483 483
  • Page 484 484
  • Page 485 485
  • Page 486 486
  • Page 487 487
  • Page 488 488
  • Page 489 489
  • Page 490 490
  • Page 491 491
  • Page 492 492
  • Page 493 493
  • Page 494 494
  • Page 495 495
  • Page 496 496
  • Page 497 497
  • Page 498 498
  • Page 499 499
  • Page 500 500
  • Page 501 501
  • Page 502 502
  • Page 503 503
  • Page 504 504
  • Page 505 505
  • Page 506 506
  • Page 507 507
  • Page 508 508
  • Page 509 509
  • Page 510 510
  • Page 511 511
  • Page 512 512
  • Page 513 513
  • Page 514 514
  • Page 515 515
  • Page 516 516
  • Page 517 517
  • Page 518 518
  • Page 519 519
  • Page 520 520
  • Page 521 521
  • Page 522 522
  • Page 523 523
  • Page 524 524
  • Page 525 525
  • Page 526 526
  • Page 527 527
  • Page 528 528
  • Page 529 529
  • Page 530 530
  • Page 531 531
  • Page 532 532

Cisco Nexus 9000 Series Switches Configuration Guide

Category
Software
Type
Configuration Guide

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI