EMAIL SUPPORT

dclessons@dclessons.com

LOCATION

NZ

LAB Creating VDC & Its Attributes

LAB Creating VDC & Its Attributes

Posted on Jan 23, 2020 (0)

Lab Task

  • N7K-1 is the default VDC, where N7K-3 and N7K-4 are non-default VDC
  • Nexus 7000 with the default VDC N7K-1 pre configured
  • Configure resource allocations for VDCs N7K-3 and N7K-4 mentioned in below table.
  • Configure resources for the VDC by using the resource template to perform the task.
  • Create and apply VDC resource templates as shown in this table below:

  • In Nexus Box make sure that these High Availability policies are applied to VDCs
    •    N7K-1: reset
    •    N7K-3: bring down
    •    N7K-4: bring down
  • Once VDC is configured, Initialize or configure the N7K-3 VDC from Default VDC with Mgmt Ip 10.10.10.10/24, Gateway 10.10.10.1

Solution:

N7K-1) # (From Default VDC)
N7K-1) # vdc resource template otv-template
N7K-1) # limit-resource vrf minimum 8 maximum 16
N7K-1) # limit-resource vlan minimum 16 max 32
N7K-1) # limit-resource port-channel minimum 0 max 32
!
N7K-1) # vdc resource template switch-template
N7K-1) # limit-resource vrf minimum 16 max 32
N7K-1) # limit-resource vlan minimum 16 max 129
N7K-1) # limit-resource port-channel minimum 32 maximum 64
!
N7K-1) # vdc N7K-1 id 1
N7K-1) # template otv-template
N7K-1) # ha-policy single-supervisor reset
N7K-1) # system hap-reset
N7K-1) # limit-resource module-type m1 m1x1 f1
N7K-1) # allocate interface e3/1-8
N7K-1) # allocate interface e4/1-16
!
N7K-1) # vdc N7K-3 id 3
N7K-1) # template switch-template
N7K-1) # ha-policy dual-supervisor bring down
N7K-1) # limit-resource module-type m1 m1x1 f1
N7K-1) # allocate-interface e3/17-24
N7K-1) # allocate-interface e4/17-24
!
N7K-1) # vdc N7K-4 id 4
N7K-1) # template switch-template
N7K-1) # ha-policy dual-supervisor bring down
N7K-1) # limit-resource module-type m1 m1x1 f1
N7K-1) # allocate-interface e3/25-32
N7K-1) # allocate-interface e4/25-32
!

Now here we are going to configure the VDC which we have created earlier.

N7K-1) (config)# switchto vdc N7K-3
!
---- System Admin Account Setup ----
Do you want to enforce secure password standard (yes/no) [y]: y
Enter the password for "admin":< password>
Confirm the password for "admin":< password>
!
---- Basic System Configuration Dialog ----
This setup utility will guide you through the basic configuration of the system. Setup configures only enough connectivity for management of the system.
Please register Cisco Nexus7000 Family devices promptly with your supplier. Failure to register may affect response times for initial service calls. Nexus7000 devices must be registered to receive
entitled support services. Press Enter at anytime to skip a dialog. Use ctrl-c at anytime
to skip the remaining dialogs.
!
Would you like to enter the basic configuration dialog (yes/no): yes
Create another login account (yes/no) [n]: n
Configure read-only SNMP community string (yes/no) [n]: n
Configure read-write SNMP community string (yes/no) [n]: n
Enter the switch name : Test
Continue with Out-of-band (mgmt0) management configuration? (yes/no) [y]:
!
Mgmt0 IPv4 address : 10.10.10.10
Mgmt0 IPv4 netmask : 255.255.254.0
Configure the default gateway? (yes/no) [y]: y
IPv4 address of the default gateway : 10.10.10.1
Configure advanced IP options? (yes/no) [n]:
Enable the telnet service? (yes/no) [y]:
Enable the ssh service? (yes/no) [n]: y
Type of ssh key you would like to generate (dsa/rsa/rsa1) : rsa
Number of key bits <768-2048> : 768
Configure the ntp server? (yes/no) [n]:
Configure default switchport interface state (shut/noshut) [shut]:
Configure default switchport trunk mode (on/off/auto) [on]:
!
Would you like to edit the configuration? (yes/no) [n]:
Use this configuration and save it? (yes/no) [y]:
!
[########################################] 100%
!
Cisco Data Center Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2007, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained herein are owned by
other third parties and are used and distributed under license.
Some parts of this software may be covered under the GNU Public
License or the GNU Lesser General Public License. A copy of
each such license is available at
http://www.gnu.org/licenses/gpl.html and
http://www.gnu.org/licenses/lgpl.html
N7K-1)# exit
!

Verification:


Comment

    You are will be the first.

LEAVE A COMMENT

Please login here to comment.