Cisco Nexus 9000 Series Switches Configuration Guide

Category
Software
Type
Configuration Guide
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release
9.3(x)
First Published: 2019-07-20
Last Modified: 2022-02-08
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 REFERENCED IN THIS DOCUMENTATION ARE SUBJECT TO CHANGE WITHOUT NOTICE.
EXCEPT AS MAY OTHERWISE BE AGREED BY CISCO IN WRITING, ALL STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS DOCUMENTATION ARE
PRESENTED WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.
The Cisco End User License Agreement and any supplemental license terms govern your use of any Cisco software, including this product documentation, and are located at:
http://www.cisco.com/go/softwareterms.Cisco product warranty information is available at http://www.cisco.com/go/warranty. US Federal Communications Commission Notices are found
here http://www.cisco.com/c/en/us/products/us-fcc-notice.html.
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 products and features described herein as in development or available at a future date remain in varying stages of development and will be offered on a when-and if-available basis. Any
such product or feature roadmaps are subject to change at the sole discretion of Cisco and Cisco will have no liability for delay in the delivery or failure to deliver any products or feature
roadmap items that may be set forth in this document.
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.
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based
on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language
that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product.
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: www.cisco.com
go trademarks. 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)
©2019–2022 Cisco Systems, Inc. All rights reserved.
CONTENTS
Preface xxvii
PREFACE
Audience xxvii
Document Conventions xxvii
Related Documentation for Cisco Nexus 9000 Series Switches xxviii
Documentation Feedback xxviii
Communications, Services, and Additional Information xxviii
New and Changed Information 1
CHAPTER 1
New and Changed Information 1
Overview 7
CHAPTER 2
Licensing Requirements 7
Authentication, Authorization, and Accounting 7
RADIUS and TACACS+ Security Protocols 8
LDAP 9
SSH and Telnet 9
User Accounts and Roles 9
IP ACLs 9
MAC ACLs 9
VACLs 10
DHCP Snooping 10
Dynamic ARP Inspection 10
IP Source Guard 10
Password Encryption 11
Keychain Management 11
Control Plane Policing 11
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
iii
Rate Limits 11
Software Image 12
Virtual Device Contexts 12
Configuring FIPS 13
CHAPTER 3
About FIPS 13
FIPS Self-Tests 13
FIPS Error State 14
Prerequisites for FIPS 14
Guidelines and Limitations for FIPS 15
Default Settings for FIPS 15
Configuring FIPS 15
Enabling FIPs Mode 15
Disabling FIPS 16
Verifying the FIPS Configuration 17
Create 2048 bit RSA Key 17
Configuration Example for FIPS 18
Additional References for FIPS 18
Configuring AAA 19
CHAPTER 4
About AAA 19
AAA Security Services 19
Benefits of Using AAA 20
Remote AAA Services 20
AAA Server Groups 21
AAA Service Configuration Options 21
Authentication and Authorization Process for User Login 22
AES Password Encryption and Primary Encryption Keys 23
Prerequisites for AAA 23
Guidelines and Limitations for AAA 24
Default Settings for AAA 24
Configuring AAA 24
Process for Configuring AAA 25
Configuring Console Login Authentication Methods 25
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
iv
Contents
Configuring Default Login Authentication Methods 27
Disabling Fallback to Local Authentication 29
Enabling the Default User Role for AAA Authentication 30
Enabling Login Authentication Failure Messages 30
Logging Successful and Failed Login Attempts 31
Configuring Login Block Per User 32
Enabling CHAP Authentication 34
Enabling MSCHAP or MSCHAP V2 Authentication 36
Configuring AAA Accounting Default Methods 37
Using AAA Server VSAs with Cisco NX-OS Devices 38
About VSAs 38
VSA Format 39
Specifying Cisco NX-OS User Roles and SNMPv3 Parameters on AAA Servers 40
Configuring Secure Login Features 40
Configuring Login Parameters 40
Restricting User Login Sessions 41
Restricting the Password Length 42
Enabling the Password Prompt for the Username 43
Configuring the Shared Secret for RADIUS or TACACS+ 43
Monitoring and Clearing the Local AAA Accounting Log 44
Verifying the AAA Configuration 44
Configuration Examples for AAA 45
Configuration Examples for Login Parameters 46
Configuration Examples for the Password Prompt Feature 46
Additional References for AAA 47
Configuring RADIUS 49
CHAPTER 5
About RADIUS 49
RADIUS Network Environments 49
RADIUS Operation 50
RADIUS Server Monitoring 50
Vendor-Specific Attributes 51
About RADIUS Change of Authorization 52
Session Reauthentication 53
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
v
Contents
Session Termination 53
Prerequisites for RADIUS 53
Guidelines and Limitations for RADIUS 53
Guidelines and Limitations for RADIUS Change of Authorization 54
Default Settings for RADIUS 54
Configuring RADIUS Servers 55
RADIUS Server Configuration Process 55
Configuring RADIUS Server Hosts 55
Configuring Global RADIUS Keys 57
Configuring a Key for a Specific RADIUS Server 58
Configuring RADIUS Server Groups 59
Configuring the Global Source Interface for RADIUS Server Groups 61
Allowing Users to Specify a RADIUS Server at Login 62
Configuring the Global RADIUS Transmission Retry Count and Timeout Interval 63
Configuring the RADIUS Transmission Retry Count and Timeout Interval for a Server 64
Configuring Accounting and Authentication Attributes for RADIUS Servers 65
Configuring Global Periodic RADIUS Server Monitoring 67
Configuring Periodic RADIUS Server Monitoring on Individual Servers 68
Configuring the RADIUS Dead-Time Interval 70
Configuring One-Time Passwords 71
Manually Monitoring RADIUS Servers or Groups 71
Enabling or Disabling Dynamic Author Server 72
Configuring RADIUS Change of Authorization 72
Verifying the RADIUS Configuration 73
Verifying RADIUS Change of Authorization Configuration 74
Monitoring RADIUS Servers 74
Clearing RADIUS Server Statistics 75
Configuration Example for RADIUS 75
Configuration Examples of RADIUS Change of Authorization 75
Where to Go Next 75
Additional References for RADIUS 76
Configuring TACACS+ 77
CHAPTER 6
About TACACS+ 77
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
vi
Contents
TACACS+ Advantages 77
TACACS+ Operation for User Login 78
Default TACACS+ Server Encryption Type and Secret Key 79
Command Authorization Support for TACACS+ Servers 79
TACACS+ Server Monitoring 79
Vendor-Specific Attributes for TACACS+ 80
Cisco VSA Format for TACACS+ 80
Prerequisites for TACACS+ 81
Guidelines and Limitations for TACACS+ 81
Default Settings for TACACS+ 81
One-Time Password Support 82
Configuring TACACS+ 82
TACACS+ Server Configuration Process 82
Enabling TACACS+ 83
Configuring TACACS+ Server Hosts 83
Configuring Global TACACS+ Keys 84
Configuring a Key for a Specific TACACS+ Server 86
Configuring TACACS+ Server Groups 87
Configuring the Global Source Interface for TACACS+ Server Groups 88
Allowing Users to Specify a TACACS+ Server at Login 89
Configuring the Timeout Interval for a TACACS+ Server 90
Configuring TCP Ports 91
Configuring Global Periodic TACACS+ Server Monitoring 93
Configuring Periodic TACACS+ Server Monitoring on Individual Servers 94
Configuring the TACACS+ Dead-Time Interval 96
Configuring ASCII Authentication 97
Configuring AAA Authorization on TACACS+ Servers 98
Configuring Command Authorization on TACACS+ Servers 99
Testing Command Authorization on TACACS+ Servers 101
Enabling and Disabling Command Authorization Verification 102
Configuring Privilege Level Support for Authorization on TACACS+ Servers 102
Permitting or Denying Commands for Users of Privilege Roles 104
Manually Monitoring TACACS+ Servers or Groups 105
Disabling TACACS+ 106
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
vii
Contents
Monitoring TACACS+ Servers 107
Clearing TACACS+ Server Statistics 107
Verifying the TACACS+ Configuration 108
Configuration Examples for TACACS+ 108
Where to Go Next 110
Additional References for TACACS+ 110
Configuring LDAP 113
CHAPTER 7
About LDAP 113
LDAP Authentication and Authorization 113
LDAP Operation for User Login 114
LDAP Server Monitoring 115
Vendor-Specific Attributes for LDAP 115
Cisco VSA Format for LDAP 115
Virtualization Support for LDAP 116
Prerequisites for LDAP 116
Guidelines and Limitations for LDAP 116
Default Settings for LDAP 117
Configuring LDAP 117
LDAP Server Configuration Process 117
Enabling or Disabling LDAP 118
Configuring LDAP Server Hosts 118
Configuring the RootDN for an LDAP Server 120
Configuring LDAP Server Groups 121
Configuring the Global LDAP Timeout Interval 122
Configuring the Timeout Interval for an LDAP Server 123
Configuring TCP Ports 124
Configuring LDAP Search Maps 125
Configuring Periodic LDAP Server Monitoring 126
Configuring the LDAP Dead-Time Interval 127
Configuring AAA Authorization on LDAP Servers 128
Monitoring LDAP Servers 129
Clearing LDAP Server Statistics 129
Verifying the LDAP Configuration 130
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
viii
Contents
Configuration Examples for LDAP 130
Where to Go Next 131
Additional References for LDAP 131
Configuring SSH and Telnet 133
CHAPTER 8
About SSH and Telnet 133
SSH Server 133
SSH Client 133
SSH Server Keys 134
SSH Authentication Using Digital Certificates 134
Telnet Server 135
Prerequisites for SSH and Telnet 135
Guidelines and Limitations for SSH and Telnet 135
Default Settings for SSH and Telnet 136
Configuring SSH 136
Generating SSH Server Keys 136
Specifying the SSH Public Keys for User Accounts 138
Specifying the SSH Public Keys in IETF SECSH Format 138
Specifying the SSH Public Keys in OpenSSH Format 139
Configuring a Maximum Number of SSH Login Attempts 139
Starting SSH Sessions 140
Starting SSH Sessions from Boot Mode 141
Configuring SSH Passwordless File Copy 141
Configuring SCP and SFTP Servers 143
Configuring X.509v3 Certificate-Based SSH Authentication 144
Configuring Legacy SSH Algorithm Support 146
Algorithms Supported - FIPs Mode Enabled 148
Changing the Default SSH Server Port 149
Clearing SSH Hosts 150
Disabling the SSH Server 151
Deleting SSH Server Keys 151
Clearing SSH Sessions 152
Configuring Telnet 153
Enabling the Telnet Server 153
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
ix
Contents
Starting Telnet Sessions to Remote Devices 153
Clearing Telnet Sessions 154
Verifying the SSH and Telnet Configuration 154
Configuration Example for SSH 155
Configuration Example for SSH Passwordless File Copy 156
Configuration Example for X.509v3 Certificate-Based SSH Authentication 158
Additional References for SSH and Telnet 159
Configuring PKI 161
CHAPTER 9
Information About PKI 161
CAs and Digital Certificates 161
Trust Model, Trust Points, and Identity CAs 162
CA Certificate Hierarchy 162
Trustpoint Import CLIs 162
CISCO-AV-PAIR Parsing Environment 163
Limitations in DMEization 163
RSA Key Pairs and Identity Certificates 163
Multiple Trusted CA Support 164
PKI Enrollment Support 164
Manual Enrollment Using Cut-and-Paste 165
Multiple RSA Key Pair and Identity CA Support 165
Peer Certificate Verification 165
Certificate Revocation Checking 166
CRL Support 166
NDcPP: OCSP for Syslog 166
Import and Export Support for Certificates and Associated Key Pairs 166
Guidelines and Limitations for PKI 167
Default Settings for PKI 167
Configuring CAs and Digital Certificates 167
Configuring the Hostname and IP Domain Name 168
Generating an RSA Key Pair 169
Creating a Trust Point CA Association 170
Authenticating the CA 171
Configuring Certificate Revocation Checking Methods 172
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
x
Contents
Generating Certificate Requests 174
Installing Identity Certificates 175
Ensuring Trust Point Configurations Persist Across Reboots 176
Exporting Identity Information in PKCS 12 Format 177
Importing Identity Information in PKCS 12 Format 178
Configuring a CRL 179
Deleting Certificates from the CA Configuration 180
Deleting RSA Key Pairs from a Cisco NX-OS Device 181
Verifying the PKI Configuration 182
Configuration Examples for PKI 182
Configuring Certificates on a Cisco NX-OS Device 183
Downloading a CA Certificate 185
Requesting an Identity Certificate 189
Revoking a Certificate 195
Generating and Publishing the CRL 197
Downloading the CRL 199
Importing the CRL 201
Additional References for PKI 203
Related Documents for PKI 204
Standards for PKI 204
Configuring User Accounts and RBAC 205
CHAPTER 10
About User Accounts and RBAC 205
User Accounts 205
Characteristics of Strong Passwords 206
User Roles 207
User Role Rules 207
Guidelines and Limitations for User Accounts and RBAC 208
Default Settings for User Accounts and RBAC 209
Enabling Password-Strength Checking 209
Configuring User Accounts 210
Configuring Roles 212
Creating User Roles and Rules 212
Creating Feature Groups 214
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
xi
Contents
Changing User Role Interface Policies 216
Changing User Role VLAN Policies 217
Changing User Role VRF Policies 218
About No Service Password-Recovery 219
Enabling No Service Password-Recovery 220
Verifying User Accounts and RBAC Configuration 221
Configuration Examples for User Accounts and RBAC 222
Additional References for User Accounts and RBAC 223
Configuring 802.1X 225
CHAPTER 11
About 802.1X 225
Device Roles 225
Authentication Initiation and Message Exchange 226
Authenticator PAE Status for Interfaces 228
Ports in Authorized and Unauthorized States 228
MAC Authentication Bypass 229
Dynamic VLAN Assignment based on MAC-Based Authentication (MAB) 229
VLAN Assignment from RADIUS 230
Single Host and Multiple Hosts Support 230
Supported Topology 230
About DACL 231
Guidelines and Limitations for DACLs 231
Prerequisites for 802.1X 231
802.1X Guidelines and Limitations 231
Default Settings for 802.1X 233
Configuring 802.1X 234
Process for Configuring 802.1X 234
Enabling the 802.1X Feature 235
Configuring AAA Authentication Methods for 802.1X 235
Controlling 802.1X Authentication on an Interface 236
Creating or Removing an Authenticator PAE on an Interface 238
Enabling Periodic Reauthentication for an Interface 239
Manually Reauthenticating Supplicants 240
Changing 802.1X Authentication Timers for an Interface 240
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
xii
Contents
Enabling MAC Authentication Bypass 242
Configuring the Default dot1.x Authentication Method - MAB 243
Creating Dynamic Access Lists 244
Enabling Single Host or Multiple Hosts Mode 245
Disabling 802.1X Authentication on the Cisco NX-OS Device 246
Disabling the 802.1X Feature 247
Resetting the 802.1X Interface Configuration to the Default Values 248
Setting the Maximum Authenticator-to-Supplicant Frame for an Interface 249
Enabling RADIUS Accounting for 802.1X Authentication 250
Configuring AAA Accounting Methods for 802.1X 251
Setting the Maximum Reauthentication Retry Count on an Interface 252
Verifying the 802.1X Configuration 252
802.1X Support for VXLAN EVPN 253
Guidelines and Limitations for 802.1X Support for VXLAN EVPN 253
Configuring 802.1X Support for VXLAN EVPN 254
Verifying the 802.1X Support for VXLAN EVPN 255
Monitoring 802.1X 258
Configuration Example for 802.1X 258
Additional References for 802.1X 258
Configuring IP ACLs 261
CHAPTER 12
About ACLs 261
ACL Types and Applications 262
Order of ACL Application 263
About Rules 264
Protocols for IP ACLs and MAC ACLs 265
Source and Destination 265
Implicit Rules for IP and MAC ACLs 265
Additional Filtering Options 266
Sequence Numbers 267
Logical Operators and Logical Operation Units 267
IPv4 ACL Logging 268
Time Ranges 268
Policy-Based ACLs 269
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
xiii
Contents
Statistics and ACLs 270
Atomic ACL Updates 270
Session Manager Support for IP ACLs 271
ACL TCAM Regions 271
Maximum Label Sizes Supported for ACL Types 277
Prerequisites for IP ACLs 278
Guidelines and Limitations for IP ACLs 278
Default Settings for IP ACLs 285
Configuring IP ACLs 285
Creating an IP ACL 285
Changing an IP ACL 287
Creating a VTY ACL 289
Changing Sequence Numbers in an IP ACL 290
Removing an IP ACL 291
Configuring ACL TCAM Region Sizes 292
Using Templates to Configure ACL TCAM Region Sizes 301
Configuring TCAM Carving 303
Configuring UDF-Based Port ACLs 310
Applying an IP ACL as a Router ACL 312
Applying an IP ACL as a Port ACL 313
Applying an IP ACL as a VACL 314
Configuring IPv4 ACL Logging 314
Configuring ACLs Using HTTP Methods to Redirect Requests 316
Configuring an ACL for IPv6 Extension Headers 318
Verifying the IP ACL Configuration 319
Monitoring and Clearing IP ACL Statistics 321
Configuration Examples for IP ACLs 322
About System ACLs 323
Carving a TCAM Region 324
Configuring System ACLs 324
Configuration and Show Command Examples for the System ACLs 324
Configuring Object Groups 326
Session Manager Support for Object Groups 326
Creating and Changing an IPv4 Address Object Group 326
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
xiv
Contents
Creating and Changing an IPv6 Address Object Group 328
Creating and Changing a Protocol Port Object Group 329
Removing an Object Group 330
Verifying the Object-Group Configuration 331
Configuring Time-Ranges 331
Session Manager Support for Time-Ranges 331
Creating a Time-Range 331
Changing a Time-Range 332
Removing a Time-Range 334
Changing Sequence Numbers in a Time Range 334
Verifying the Time-Range Configuration 335
Additional References for IP ACLs 335
Configuring MAC ACLs 337
CHAPTER 13
About MAC ACLs 337
MAC Packet Classification 337
Guidelines and Limitations for MAC ACLs 338
Default Settings for MAC ACLs 339
Configuring MAC ACLs 339
Creating a MAC ACL 339
Configuring a UDF-Based MAC ACL 340
Configuring an Interface MAC Address and Limit 342
Changing a MAC ACL 343
Changing Sequence Numbers in a MAC ACL 345
Removing a MAC ACL 345
Applying a MAC ACL as a Port ACL 346
Applying a MAC ACL as a VACL 347
Enabling or Disabling MAC Packet Classification 347
Verifying the MAC ACL Configuration 348
Monitoring and Clearing MAC ACL Statistics 349
Configuration Example for MAC ACLs 349
Additional References for MAC ACLs 349
Configuring VLAN ACLs 351
CHAPTER 14
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
xv
Contents
About VLAN ACLs 351
VLAN Access Maps and Entries 351
VACLs and Actions 351
VACL Statistics 352
Session Manager Support for VACLs 352
Prerequisites for VACLs 352
Guidelines and Limitations for VACLs 352
Default Settings for VACLs 353
Configuring VACLs 353
Creating a VACL or Adding a VACL Entry 353
Removing a VACL or a VACL Entry 355
Applying a VACL to a VLAN 356
Verifying the VACL Configuration 356
Monitoring and Clearing VACL Statistics 357
Configuration Example for VACLs 357
Additional References for VACLs 357
Configuring Port Security 359
CHAPTER 15
About Port Security 359
Secure MAC Address Learning 359
Static Method 360
Dynamic Method 360
Sticky Method 360
Dynamic Address Aging 361
Secure MAC Address Maximums 361
Security Violations and Actions 362
Port Security and Port Types 363
Port Security and Port-Channel Interfaces 363
Port Type Changes 365
Prerequisites for Port Security 365
Default Settings for Port Security 365
Guidelines and Limitations for Port Security 365
Guidelines and Limitations for Port Security on vPCs 366
Configuring Port Security 367
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
xvi
Contents
Enabling or Disabling Port Security Globally 367
Enabling or Disabling Port Security on a Layer 2 Interface 367
Enabling or Disabling Sticky MAC Address Learning 369
Adding a Static Secure MAC Address on an Interface 369
Removing a Static Secure MAC Address on an Interface 370
Removing a Sticky Secure MAC Address 371
Removing a Dynamic Secure MAC Address 372
Configuring a Maximum Number of MAC Addresses 373
Configuring an Address Aging Type and Time 374
Configuring a Security Violation Action 375
Verifying the Port Security Configuration 376
Displaying Secure MAC Addresses 376
Configuration Example for Port Security 377
Configuration Examples for Port Security in a vPC Domain 377
Example: Configuring Port Security on an Orphan Port 377
Example: Configuring Port Security on the vPC Leg 377
Additional References for Port Security 378
Configuring DHCP 379
CHAPTER 16
About DHCP Snooping 379
Trusted and Untrusted Sources 380
DHCP Snooping Binding Database 380
DHCP Snooping in a vPC Environment 381
Synchronizing DHCP Snooping Binding Entries 381
Packet Validation 381
DHCP Snooping Option 82 Data Insertion 382
About the DHCP Relay Agent 383
DHCP Relay Agent 383
DHCP Relay Agent Option 82 383
VRF Support for the DHCP Relay Agent 385
DHCP Smart Relay Agent 386
About the DHCPv6 Relay Agent 386
DHCPv6 Relay Agent 386
VRF Support for the DHCPv6 Relay Agent 386
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
xvii
Contents
About DHCP Client 386
Prerequisites for DHCP 387
Guidelines and Limitations for DHCP 387
Default Settings for DHCP 388
Configuring DHCP 389
Minimum DHCP Configuration 389
Enabling or Disabling the DHCP Feature 389
Configuring DHCP Snooping 390
Enabling or Disabling DHCP Snooping Globally 390
Enabling or Disabling DHCP Snooping on a VLAN 391
Enabling or Disabling DHCP Snooping MAC Address Verification 391
Enabling or Disabling Option 82 Data Insertion and Removal 392
Enabling or Disabling Strict DHCP Packet Validation 394
Configuring an Interface as Trusted or Untrusted 395
Enabling or Disabling DHCP Relay Trusted Port Functionality 396
Configuring an Interface as a DHCP Relay Trusted or Untrusted Port 396
Configuring all Interfaces as Trusted or Untrusted 398
Enabling or Disabling the DHCP Relay Agent 399
Enabling or Disabling Option 82 for the DHCP Relay Agent 399
Enabling or Disabling VRF Support for the DHCP Relay Agent 400
Disabling the Server Identifier Override Option 401
Configuring DHCP Server Addresses on an Interface 402
Configuring the DHCP Relay Source Interface 403
Enabling or Disabling DHCP Smart Relay Globally 404
Enabling or Disabling DHCP Smart Relay on a Layer 3 Interface 405
Configuring DHCP Relay Subnet-Selection 406
Configuring DHCPv6 407
Enabling or Disabling the DHCPv6 Relay Agent 407
Enabling or Disabling VRF Support for the DHCPv6 Relay Agent 408
Configuring DHCPv6 Server Addresses on an Interface 409
Enabling DHCPv6 Option 79 410
Configuring the DHCPv6 Relay Source Interface 411
Configuring IPv6 RA Guard 412
Enabling DHCP Client 413
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
xviii
Contents
Configuring UDP Relay 414
About UDP Relay 414
Guidelines and Limitations for UDP Relay 414
Configuring UDP Relay 415
Configuration Example for UDP Relay 416
Verifying the UDP Relay Configuration 417
Verifying the DHCP Configuration 417
Displaying IPv6 RA Guard Statistics 418
Displaying DHCP Snooping Bindings 418
Clearing the DHCP Snooping Binding Database 418
Monitoring DHCP 418
Clearing DHCP Snooping Statistics 419
Clearing DHCP Relay Statistics 419
Clearing DHCPv6 Relay Statistics 419
Configuration Examples for DHCP 419
Configuration Examples for DHCP Client 420
Additional References for DHCP 420
Configuring IPv6 First Hop Security 423
CHAPTER 17
About First-Hop Security 423
IPv6 Global Policies 424
IPv6 First-Hop Security Binding Table 424
Guidelines and Limitations of First-Hop Security 424
About vPC First-Hop Security Configuration 425
DHCP Relay On-stack 425
DHCP Relay on VPC Leg 426
DHCP Client Relay on Orphan Ports 427
RA Guard 428
Overview of IPv6 RA Guard 428
Guidelines and Limitations of IPv6 RA Guard 429
DHCPv6 Guard 429
Overview of DHCP—DHCPv6 Guard 429
Limitation of DHCPv6 Guard 429
IPv6 Snooping 430
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(x)
xix
Contents
Overview of IPv6 Snooping 430
Guidelines and Limitations for IPv6 Snooping 430
How to Configure IPv6 FHS 431
Configuring the IPv6 RA Guard Policy on the Device 431
Configuring IPv6 RA Guard on an Interface 432
Configuring DHCP—DHCPv6 Guard 433
Configuring IPv6 Snooping 436
Verifying and Troubleshooting IPv6 Snooping 438
Configuration Examples 439
Example: IPv6 RA Guard Configuration 439
Example: Configuring DHCP—DHCPv6 Guard 439
Example: Configuring IPv6 First-Hop Security Binding Table 439
Example: Configuring IPv6 Snooping 440
Additional References for IPv6 First-Hop Security 440
Configuring Dynamic ARP Inspection 441
CHAPTER 18
About DAI 441
ARP 441
ARP Spoofing Attacks 441
DAI and ARP Spoofing Attacks 442
Interface Trust States and Network Security 443
Logging DAI Packets 444
Prerequisites for DAI 444
Guidelines and Limitations for DAI 444
Default Settings for DAI 445
Configuring DAI 446
Enabling or Disabling DAI on VLANs 446
Configuring the DAI Trust State of a Layer 2 Interface 446
Enabling or Disabling Additional Validation 447
Configuring the DAI Logging Buffer Size 449
Configuring DAI Log Filtering 449
Verifying the DAI Configuration 450
Monitoring and Clearing DAI Statistics 450
Configuration Examples for DAI 451
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 9.3(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
  • Page 533 533
  • Page 534 534
  • Page 535 535
  • Page 536 536
  • Page 537 537
  • Page 538 538
  • Page 539 539
  • Page 540 540
  • Page 541 541
  • Page 542 542
  • Page 543 543
  • Page 544 544
  • Page 545 545
  • Page 546 546
  • Page 547 547
  • Page 548 548
  • Page 549 549
  • Page 550 550
  • Page 551 551
  • Page 552 552
  • Page 553 553
  • Page 554 554
  • Page 555 555
  • Page 556 556
  • Page 557 557
  • Page 558 558
  • Page 559 559
  • Page 560 560
  • Page 561 561
  • Page 562 562
  • Page 563 563
  • Page 564 564
  • Page 565 565
  • Page 566 566
  • Page 567 567
  • Page 568 568
  • Page 569 569
  • Page 570 570
  • Page 571 571
  • Page 572 572
  • Page 573 573
  • Page 574 574
  • Page 575 575
  • Page 576 576
  • Page 577 577
  • Page 578 578
  • Page 579 579
  • Page 580 580
  • Page 581 581
  • Page 582 582
  • Page 583 583
  • Page 584 584
  • Page 585 585
  • Page 586 586
  • Page 587 587
  • Page 588 588
  • Page 589 589
  • Page 590 590
  • Page 591 591
  • Page 592 592
  • Page 593 593
  • Page 594 594
  • Page 595 595
  • Page 596 596
  • Page 597 597
  • Page 598 598
  • Page 599 599
  • Page 600 600
  • Page 601 601
  • Page 602 602
  • Page 603 603
  • Page 604 604
  • Page 605 605
  • Page 606 606
  • Page 607 607
  • Page 608 608
  • Page 609 609
  • Page 610 610

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