Cisco Nexus 9000 Series Switches Configuration Guide

Category
Software
Type
Configuration Guide
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release
10.2(x)
First Published: 2021-08-23
Last Modified: 2021-10-29
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)
©2021 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 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 10.2(x)
iii
Rate Limits 9
Software Image 10
Virtual Device Contexts 10
Configuring FIPS 11
CHAPTER 3
About FIPS 11
FIPS Self-Tests 11
FIPS Error State 12
Prerequisites for FIPS 12
Guidelines and Limitations for FIPS 13
Default Settings for FIPS 13
Configuring FIPS 13
Enabling FIPs Mode 13
Disabling FIPS 14
Verifying the FIPS Configuration 15
Create 2048 bit RSA Key 15
Configuration Example for FIPS 16
Additional References for FIPS 16
Configuring AAA 17
CHAPTER 4
About AAA 17
AAA Security Services 17
Benefits of Using AAA 18
Remote AAA Services 18
AAA Server Groups 19
AAA Service Configuration Options 19
Authentication and Authorization Process for User Login 20
AES Password Encryption and Primary Encryption Keys 21
Prerequisites for AAA 21
Guidelines and Limitations for AAA 22
Default Settings for AAA 23
Configuring AAA 23
Process for Configuring AAA 23
Configuring Console Login Authentication Methods 24
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
iv
Contents
Configuring Default Login Authentication Methods 25
Disabling Fallback to Local Authentication 27
Enabling the Default User Role for AAA Authentication 28
Enabling Login Authentication Failure Messages 29
Logging Successful and Failed Login Attempts 30
Configuring Login Block Per User 31
Enabling CHAP Authentication 33
Enabling MSCHAP or MSCHAP V2 Authentication 34
Configuring AAA Accounting Default Methods 36
Using AAA Server VSAs with Cisco NX-OS Devices 37
About VSAs 38
VSA Format 38
Specifying Cisco NX-OS User Roles and SNMPv3 Parameters on AAA Servers 39
Configuring Secure Login Features 39
Configuring Login Parameters 39
Restricting User Login Sessions 40
Restricting the Password Length 41
Enabling the Password Prompt for the Username 42
Configuring the Shared Secret for RADIUS or TACACS+ 42
Monitoring and Clearing the Local AAA Accounting Log 43
Verifying the AAA Configuration 43
Configuration Examples for AAA 44
Configuration Examples for Login Parameters 45
Configuration Examples for the Password Prompt Feature 45
Additional References for AAA 46
Configuring RADIUS 47
CHAPTER 5
About RADIUS 47
RADIUS Network Environments 47
RADIUS Operation 48
RADIUS Server Monitoring 48
Vendor-Specific Attributes 49
About RADIUS Change of Authorization 50
Session Reauthentication 51
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
v
Contents
Session Termination 51
Prerequisites for RADIUS 51
Guidelines and Limitations for RADIUS 51
Guidelines and Limitations for RADIUS Change of Authorization 52
Default Settings for RADIUS 52
Configuring RADIUS Servers 53
RADIUS Server Configuration Process 53
Configuring RADIUS Server Hosts 53
Configuring Global RADIUS Keys 55
Configuring a Key for a Specific RADIUS Server 56
Configuring RADIUS Server Groups 57
Configuring the Global Source Interface for RADIUS Server Groups 59
Allowing Users to Specify a RADIUS Server at Login 60
Configuring the Global RADIUS Transmission Retry Count and Timeout Interval 61
Configuring the RADIUS Transmission Retry Count and Timeout Interval for a Server 62
Configuring Accounting and Authentication Attributes for RADIUS Servers 63
Configuring Global Periodic RADIUS Server Monitoring 65
Configuring Periodic RADIUS Server Monitoring on Individual Servers 66
Configuring the RADIUS Dead-Time Interval 68
Configuring One-Time Passwords 69
Manually Monitoring RADIUS Servers or Groups 69
Enabling or Disabling Dynamic Author Server 70
Configuring RADIUS Change of Authorization 70
Verifying the RADIUS Configuration 71
Verifying RADIUS Change of Authorization Configuration 72
Monitoring RADIUS Servers 72
Clearing RADIUS Server Statistics 73
Configuration Example for RADIUS 73
Configuration Examples of RADIUS Change of Authorization 73
Where to Go Next 73
Additional References for RADIUS 74
Configuring TACACS+ 75
CHAPTER 6
About TACACS+ 75
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
vi
Contents
TACACS+ Advantages 75
TACACS+ Operation for User Login 76
Default TACACS+ Server Encryption Type and Secret Key 77
Command Authorization Support for TACACS+ Servers 77
TACACS+ Server Monitoring 77
Vendor-Specific Attributes for TACACS+ 78
Cisco VSA Format for TACACS+ 78
Prerequisites for TACACS+ 79
Guidelines and Limitations for TACACS+ 79
Default Settings for TACACS+ 79
One-Time Password Support 80
Configuring TACACS+ 80
TACACS+ Server Configuration Process 80
Enabling TACACS+ 81
Configuring TACACS+ Server Hosts 81
Configuring Global TACACS+ Keys 82
Configuring a Key for a Specific TACACS+ Server 84
Configuring TACACS+ Server Groups 85
Configuring the Global Source Interface for TACACS+ Server Groups 86
Allowing Users to Specify a TACACS+ Server at Login 87
Configuring the Timeout Interval for a TACACS+ Server 88
Configuring TCP Ports 89
Configuring Global Periodic TACACS+ Server Monitoring 91
Configuring Periodic TACACS+ Server Monitoring on Individual Servers 92
Configuring the TACACS+ Dead-Time Interval 94
Configuring ASCII Authentication 95
Configuring AAA Authorization on TACACS+ Servers 96
Configuring Command Authorization on TACACS+ Servers 97
Testing Command Authorization on TACACS+ Servers 99
Enabling and Disabling Command Authorization Verification 100
Configuring Privilege Level Support for Authorization on TACACS+ Servers 100
Permitting or Denying Commands for Users of Privilege Roles 102
Manually Monitoring TACACS+ Servers or Groups 104
Disabling TACACS+ 104
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
vii
Contents
Monitoring TACACS+ Servers 105
Clearing TACACS+ Server Statistics 105
Verifying the TACACS+ Configuration 106
Configuration Examples for TACACS+ 106
Where to Go Next 108
Additional References for TACACS+ 108
Configuring LDAP 111
CHAPTER 7
About LDAP 111
LDAP Authentication and Authorization 111
LDAP Operation for User Login 112
LDAP Server Monitoring 113
Vendor-Specific Attributes for LDAP 113
Cisco VSA Format for LDAP 113
Virtualization Support for LDAP 114
Prerequisites for LDAP 114
Guidelines and Limitations for LDAP 114
Default Settings for LDAP 115
Configuring LDAP 115
LDAP Server Configuration Process 115
Enabling or Disabling LDAP 116
Configuring LDAP Server Hosts 116
Configuring the RootDN for an LDAP Server 118
Configuring LDAP Server Groups 119
Configuring the Global LDAP Timeout Interval 120
Configuring the Timeout Interval for an LDAP Server 121
Configuring TCP Ports 122
Configuring LDAP Search Maps 123
Configuring Periodic LDAP Server Monitoring 124
Configuring the LDAP Dead-Time Interval 125
Configuring AAA Authorization on LDAP Servers 126
Monitoring LDAP Servers 127
Clearing LDAP Server Statistics 127
Verifying the LDAP Configuration 128
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
viii
Contents
Configuration Examples for LDAP 129
Where to Go Next 129
Additional References for LDAP 129
Configuring SSH and Telnet 131
CHAPTER 8
About SSH and Telnet 131
SSH Server 131
SSH Client 131
SSH Server Keys 132
SSH Authentication Using Digital Certificates 132
Telnet Server 133
Prerequisites for SSH and Telnet 133
Guidelines and Limitations for SSH and Telnet 133
Default Settings for SSH and Telnet 134
Configuring SSH 135
Generating SSH Server Keys 135
Specifying the SSH Public Keys for User Accounts 136
Specifying the SSH Public Keys in IETF SECSH Format 136
Specifying the SSH Public Keys in OpenSSH Format 137
Configuring a Maximum Number of SSH Login Attempts 138
Starting SSH Sessions 139
Starting SSH Sessions from Boot Mode 139
Configuring SSH Passwordless File Copy 140
Configuring SCP and SFTP Servers 142
Configuring X.509v3 Certificate-Based SSH Authentication 143
Configuring Legacy SSH Algorithm Support 145
Algorithms Supported - FIPs Mode Enabled 146
Changing the Default SSH Server Port 147
Clearing SSH Hosts 149
Disabling the SSH Server 149
Deleting SSH Server Keys 150
Clearing SSH Sessions 151
Configuring Telnet 151
Enabling the Telnet Server 151
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
ix
Contents
Starting Telnet Sessions to Remote Devices 152
Clearing Telnet Sessions 152
Verifying the SSH and Telnet Configuration 153
Configuration Example for SSH 153
Configuration Example for SSH Passwordless File Copy 155
Configuration Example for X.509v3 Certificate-Based SSH Authentication 156
Additional References for SSH and Telnet 157
Configuring PKI 159
CHAPTER 9
Information About PKI 159
CAs and Digital Certificates 159
Trust Model, Trust Points, and Identity CAs 160
CA Certificate Hierarchy 160
Trustpoint Import CLIs 160
Import of the CA Certificate Bundle in PKCS7 Format 161
CISCO-AV-PAIR Parsing Environment 162
DMEization of 'crypto ca import' CLI 162
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 164
Multiple RSA Key Pair and Identity CA Support 165
Peer Certificate Verification 165
Certificate Revocation Checking 165
CRL Support 165
NDcPP: OCSP for Syslog 166
Import and Export Support for Certificates and Associated Key Pairs 166
Guidelines and Limitations for PKI 166
Default Settings for PKI 167
Configuring CAs and Digital Certificates 167
Configuring the Hostname and IP Domain Name 167
Generating an RSA Key Pair 168
Creating a Trust Point CA Association 169
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
x
Contents
Authenticating the CA 171
Configuring Certificate Revocation Checking Methods 172
Generating Certificate Requests 173
Installing Identity Certificates 175
Ensuring Trust Point Configurations Persist Across Reboots 176
Exporting Identity Information in PKCS 12 Format 176
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 182
Downloading a CA Certificate 185
Requesting an Identity Certificate 188
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
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
xi
Contents
Creating User Roles and Rules 212
Creating Feature Groups 215
Changing User Role Interface Policies 216
Changing User Role VLAN Policies 217
Changing User Role VRF Policies 219
About No Service Password-Recovery 220
Enabling No Service Password-Recovery 220
Verifying User Accounts and RBAC Configuration 222
Configuration Examples for User Accounts and RBAC 222
Additional References for User Accounts and RBAC 224
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 Per-User DACLs 231
Critical Authentication 231
About DACL 231
Guidelines and Limitations for DACLs 231
Prerequisites for 802.1X 232
802.1X Guidelines and Limitations 232
Guidelines and Limitations for Per-User DACL Support for 802.1X 234
Guidelines and Limitations for MACsec 235
Default Settings for 802.1X 235
Configuring 802.1X 236
Process for Configuring 802.1X 236
Enabling the 802.1X Feature 236
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
xii
Contents
Configuring AAA Authentication Methods for 802.1X 237
Controlling 802.1X Authentication on an Interface 238
Creating or Removing an Authenticator PAE on an Interface 239
Enabling Critical Authentication 240
Enabling Periodic Reauthentication for an Interface 243
Manually Reauthenticating Supplicants 244
Changing 802.1X Authentication Timers for an Interface 244
Enabling MAC Authentication Bypass 246
Configuring the Default dot1.x Authentication Method - MAB 247
Creating Dynamic Access Lists 248
Configuring Per-User DACLs 249
Enabling Single Host or Multiple Hosts Mode 250
Disabling 802.1X Authentication on the Cisco NX-OS Device 251
Disabling the 802.1X Feature 252
Resetting the 802.1X Interface Configuration to the Default Values 253
Setting the Maximum Authenticator-to-Supplicant Frame for an Interface 254
Enabling RADIUS Accounting for 802.1X Authentication 255
Configuring AAA Accounting Methods for 802.1X 256
Setting the Maximum Reauthentication Retry Count on an Interface 257
Verifying the 802.1X Configuration 258
802.1X Support for VXLAN EVPN 258
Guidelines and Limitations for 802.1X Support for VXLAN EVPN 258
Configuring 802.1X Support for VXLAN EVPN 259
Verifying the 802.1X Support for VXLAN EVPN 260
Verifying Critical Authentication 263
Monitoring 802.1X 263
Configuration Example for 802.1X 263
Configuration Example for Per-User DACL 264
Additional References for 802.1X 264
Configuring IP ACLs 267
CHAPTER 12
About ACLs 267
ACL Types and Applications 268
Order of ACL Application 269
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
xiii
Contents
About Rules 270
Protocols for IP ACLs and MAC ACLs 271
Source and Destination 271
Implicit Rules for IP and MAC ACLs 271
Additional Filtering Options 272
Sequence Numbers 273
Logical Operators and Logical Operation Units 273
IPv4 ACL Logging 274
Time Ranges 274
Policy-Based ACLs 275
Statistics and ACLs 276
Atomic ACL Updates 277
Session Manager Support for IP ACLs 277
ACL TCAM Regions 277
Maximum Label Sizes Supported for ACL Types 283
Prerequisites for IP ACLs 284
Guidelines and Limitations for IP ACLs 284
Default Settings for IP ACLs 291
Configuring IP ACLs 291
Creating an IP ACL 291
Changing an IP ACL 293
Creating a VTY ACL 295
Changing Sequence Numbers in an IP ACL 296
Removing an IP ACL 297
Configuring ACL TCAM Region Sizes 298
Using Templates to Configure ACL TCAM Region Sizes 307
Configuring TCAM Carving 309
Configuring UDF-Based Port ACLs 316
Applying an IP ACL as a Router ACL 318
Applying an IP ACL as a Port ACL 319
Applying an IP ACL as a VACL 320
Configuring IPv4 ACL Logging 320
Configuring ACLs Using HTTP Methods to Redirect Requests 322
Configuring an ACL for IPv6 Extension Headers 324
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
xiv
Contents
Verifying the IP ACL Configuration 325
Monitoring and Clearing IP ACL Statistics 327
Configuration Examples for IP ACLs 328
About System ACLs 329
Carving a TCAM Region 330
Configuring System ACLs 330
Configuration and Show Command Examples for the System ACLs 330
Configuring Object Groups 332
Session Manager Support for Object Groups 332
Creating and Changing an IPv4 Address Object Group 332
Creating and Changing an IPv6 Address Object Group 334
Creating and Changing a Protocol Port Object Group 335
Removing an Object Group 336
Verifying the Object-Group Configuration 337
Configuring Time-Ranges 337
Session Manager Support for Time-Ranges 337
Creating a Time-Range 337
Changing a Time-Range 338
Removing a Time-Range 340
Changing Sequence Numbers in a Time Range 341
Verifying the Time-Range Configuration 341
Additional References for IP ACLs 342
Configuring MAC ACLs 343
CHAPTER 13
About MAC ACLs 343
MAC Packet Classification 343
Guidelines and Limitations for MAC ACLs 344
Default Settings for MAC ACLs 345
Configuring MAC ACLs 345
Creating a MAC ACL 345
Configuring a UDF-Based MAC ACL 346
Configuring an Interface MAC Address and Limit 348
Changing a MAC ACL 350
Changing Sequence Numbers in a MAC ACL 351
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
xv
Contents
Removing a MAC ACL 351
Applying a MAC ACL as a Port ACL 352
Applying a MAC ACL as a VACL 353
Enabling or Disabling MAC Packet Classification 353
Verifying the MAC ACL Configuration 355
Monitoring and Clearing MAC ACL Statistics 355
Configuration Example for MAC ACLs 355
Additional References for MAC ACLs 356
Configuring VLAN ACLs 357
CHAPTER 14
About VLAN ACLs 357
VLAN Access Maps and Entries 357
VACLs and Actions 357
VACL Statistics 358
Session Manager Support for VACLs 358
Prerequisites for VACLs 358
Guidelines and Limitations for VACLs 358
Default Settings for VACLs 359
Configuring VACLs 360
Creating a VACL or Adding a VACL Entry 360
Removing a VACL or a VACL Entry 361
Applying a VACL to a VLAN 362
Verifying the VACL Configuration 363
Monitoring and Clearing VACL Statistics 363
Configuration Example for VACLs 363
Additional References for VACLs 364
Configuring Port Security 365
CHAPTER 15
About Port Security 365
Secure MAC Address Learning 365
Static Method 366
Dynamic Method 366
Sticky Method 366
Dynamic Address Aging 367
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
xvi
Contents
Secure MAC Address Maximums 367
Security Violations and Actions 368
Port Security and Port Types 369
Port Security and Port-Channel Interfaces 369
Port Type Changes 371
Prerequisites for Port Security 371
Default Settings for Port Security 371
Guidelines and Limitations for Port Security 372
Guidelines and Limitations for Port Security on vPCs 372
Configuring Port Security 373
Enabling or Disabling Port Security Globally 373
Enabling or Disabling Port Security on a Layer 2 Interface 374
Enabling or Disabling Sticky MAC Address Learning 375
Adding a Static Secure MAC Address on an Interface 376
Removing a Static Secure MAC Address on an Interface 377
Removing a Sticky Secure MAC Address 378
Removing a Dynamic Secure MAC Address 379
Configuring a Maximum Number of MAC Addresses 380
Configuring an Address Aging Type and Time 381
Configuring a Security Violation Action 382
Verifying the Port Security Configuration 383
Displaying Secure MAC Addresses 383
Configuration Example for Port Security 384
Configuration Examples for Port Security in a vPC Domain 384
Example: Configuring Port Security on an Orphan Port 384
Example: Configuring Port Security on the vPC Leg 384
Additional References for Port Security 385
Configuring DHCP 387
CHAPTER 16
About DHCP Snooping 387
Trusted and Untrusted Sources 388
DHCP Snooping Binding Database 388
DHCP Snooping in a vPC Environment 389
Synchronizing DHCP Snooping Binding Entries 389
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
xvii
Contents
Packet Validation 389
DHCP Snooping Option 82 Data Insertion 390
About the DHCP Relay Agent 392
DHCP Relay Agent 392
DHCP Relay Agent Option 82 392
VRF Support for the DHCP Relay Agent 394
DHCP Smart Relay Agent 394
About the DHCPv6 Relay Agent 394
DHCPv6 Relay Agent 394
VRF Support for the DHCPv6 Relay Agent 395
DHCPv6 Smart Relay Agent 395
Guidelines and Limitations for DHCPv6 Smart Relay 395
About DHCP Client 395
Prerequisites for DHCP 395
Guidelines and Limitations for DHCP 396
Default Settings for DHCP 397
Configuring DHCP 398
Minimum DHCP Configuration 398
Enabling or Disabling the DHCP Feature 398
Configuring DHCP Snooping 399
Enabling or Disabling DHCP Snooping Globally 399
Enabling or Disabling DHCP Snooping on a VLAN 400
Enabling or Disabling DHCP Snooping MAC Address Verification 400
Enabling or Disabling Option 82 Data Insertion and Removal 401
Enabling or Disabling Strict DHCP Packet Validation 403
Configuring an Interface as Trusted or Untrusted 404
Enabling or Disabling DHCP Relay Trusted Port Functionality 405
Configuring an Interface as a DHCP Relay Trusted or Untrusted Port 406
Configuring all Interfaces as Trusted or Untrusted 407
Enabling or Disabling the DHCP Relay Agent 408
Enabling or Disabling Option 82 for the DHCP Relay Agent 409
Enabling or Disabling VRF Support for the DHCP Relay Agent 410
Disabling the Server Identifier Override Option 411
Configuring DHCP Server Addresses on an Interface 412
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
xviii
Contents
Configuring the DHCP Relay Source Interface 413
Enabling or Disabling DHCP Smart Relay Globally 414
Enabling or Disabling DHCP Smart Relay on a Layer 3 Interface 415
Configuring DHCP Relay Subnet-Selection 416
Configuring DHCPv6 417
Enabling or Disabling the DHCPv6 Relay Agent 417
Enabling or Disabling VRF Support for the DHCPv6 Relay Agent 418
Enabling or Disabling DHCPv6 Smart Relay Globally 419
Enabling or Disabling DHCPv6 Smart Relay on a Layer 3 Interface 420
Configuring DHCPv6 Server Addresses on an Interface 421
Enabling DHCPv6 Option 79 422
Configuring the DHCPv6 Relay Source Interface 423
Configuring IPv6 RA Guard 424
Enabling DHCP Client 425
Configuring UDP Relay 426
About UDP Relay 426
Guidelines and Limitations for UDP Relay 427
Configuring UDP Relay 427
Configuration Example for UDP Relay 428
Verifying the UDP Relay Configuration 429
Verifying the DHCP Configuration 429
Displaying IPv6 RA Guard Statistics 430
Displaying DHCP Snooping Bindings 430
Clearing the DHCP Snooping Binding Database 430
Monitoring DHCP 431
Clearing DHCP Snooping Statistics 431
Clearing DHCP Relay Statistics 431
Clearing DHCPv6 Relay Statistics 431
Configuration Examples for DHCP 431
Configuration Examples for DHCP Client 432
Additional References for DHCP 433
Configuring IPv6 First Hop Security 435
CHAPTER 17
About First-Hop Security 435
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.2(x)
xix
Contents
IPv6 Global Policies 436
IPv6 First-Hop Security Binding Table 436
Guidelines and Limitations of First-Hop Security 436
About vPC First-Hop Security Configuration 437
DHCP Relay On-stack 437
DHCP Relay on VPC Leg 438
DHCP Client Relay on Orphan Ports 439
RA Guard 440
Overview of IPv6 RA Guard 440
Guidelines and Limitations of IPv6 RA Guard 441
DHCPv6 Guard 441
Overview of DHCP—DHCPv6 Guard 441
Limitation of DHCPv6 Guard 441
IPv6 Snooping 442
Overview of IPv6 Snooping 442
Guidelines and Limitations for IPv6 Snooping 442
How to Configure IPv6 FHS 443
Configuring the IPv6 RA Guard Policy on the Device 443
Configuring IPv6 RA Guard on an Interface 444
Configuring DHCP—DHCPv6 Guard 445
Configuring IPv6 Snooping 448
Verifying and Troubleshooting IPv6 Snooping 450
Configuration Examples 451
Example: IPv6 RA Guard Configuration 451
Example: Configuring DHCP—DHCPv6 Guard 451
Example: Configuring IPv6 First-Hop Security Binding Table 451
Example: Configuring IPv6 Snooping 452
Additional References for IPv6 First-Hop Security 452
Configuring Dynamic ARP Inspection 453
CHAPTER 18
About DAI 453
ARP 453
ARP Spoofing Attacks 453
DAI and ARP Spoofing Attacks 454
Cisco Nexus 9000 Series NX-OS Security Configuration Guide, Release 10.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
  • 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
  • Page 611 611
  • Page 612 612
  • Page 613 613
  • Page 614 614
  • Page 615 615
  • Page 616 616
  • Page 617 617
  • Page 618 618
  • Page 619 619
  • Page 620 620
  • Page 621 621
  • Page 622 622
  • Page 623 623
  • Page 624 624

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