Skip to content

Instantly share code, notes, and snippets.

@38pinn
Created November 23, 2019 07:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 38pinn/1d8bb8c998a1168f2c83dd42422ba424 to your computer and use it in GitHub Desktop.
Save 38pinn/1d8bb8c998a1168f2c83dd42422ba424 to your computer and use it in GitHub Desktop.
---- System Admin Account Setup ----
Do you want to enforce secure password standard (yes/no) [y]: y
Enter the password for "admin":
Confirm the password for "admin":
---- Basic System Configuration Dialog VDC: 1 ----
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 Nexus9000 Family devices promptly with your
supplier. Failure to register may affect response times for initial
service calls. Nexus9000 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]: yes
Enter the User login Id : miwapinn
Enter the password for "miwapinn":
Confirm the password for "miwapinn":
Enter the user role (network-operator|network-admin|vdc-operator|vdc-admin) [network-operator]:
Configure read-only SNMP community string (yes/no) [n]: yes
SNMP community string : 38lab
Configure read-write SNMP community string (yes/no) [n]: yes
SNMP community string : 38lab
Enter the switch name : Nexux9K_38lab
Continue with Out-of-band (mgmt0) management configuration? (yes/no) [y]: yes
Mgmt0 IPv4 address : 192.168.3.10
Mgmt0 IPv4 netmask : 255.255.255.0
Configure the default gateway? (yes/no) [y]: yes
IPv4 address of the default gateway : 192.168.3.1
Configure advanced IP options? (yes/no) [n]: n
Enable the telnet service? (yes/no) [n]: yes
Enable the ssh service? (yes/no) [y]: yes
Type of ssh key you would like to generate (dsa/rsa) [rsa]: rsa
Number of rsa key bits <1024-2048> [1024]:
Configure the ntp server? (yes/no) [n]: yes
NTP server IPv4 address : 202.234.233.106
Configure default interface layer (L3/L2) [L2]: L3
Configure default switchport interface state (shut/noshut) [noshut]:
Configure CoPP system profile (strict/moderate/lenient/dense) [strict]:
The following configuration will be applied:
password strength-check
username miwapinn password <user-password> role network-operator
snmp-server community 38lab ro
snmp-server community 38lab rw
switchname Nexux9K_38lab
vrf context management
ip route 0.0.0.0/0 192.168.3.1
exit
feature telnet
ssh key rsa 1024 force
feature ssh
ntp server 202.234.233.106
no system default switchport
no system default switchport shutdown
copp profile strict
interface mgmt0
ip address 192.168.3.10 255.255.255.0
no shutdown
Would you like to edit the configuration? (yes/no) [n]: n
Use this configuration and save it? (yes/no) [y]: y
2019 Nov 23 15:22:12 Nexux9K_38lab %$ VDC-1 %$ %ACLQOS-SLOT1-2-ACLQOS_FAILED: ACLQOS failure: TCAM region is not configured for feature QoS class IPv4 direction ingress. Please configure TCAM region Ingress COPP [copp] and retry the command.
2019 Nov 23 15:22:12 Nexux9K_38lab %$ VDC-1 %$ %COPP-2-COPP_POLICY: Control-Plane is protected with policy copp-system-p-policy-strict.
Error: There was an error executing atleast one of the command
Please verify the following log for the command execution errors.
TCAM region is not configured. Please configure TCAM region and retry the command
Would you like to save the running-config to startup-config? (yes/no) [n]: yes
[########################################] 100%
Copy complete, now saving to disk (please wait)...
Copy complete.
```
User Access Verification
Nexux9K_38lab login: miwapinn
Password:
Cisco NX-OS Software
Copyright (c) 2002-2019, Cisco Systems, Inc. All rights reserved.
Nexus 9000v software ("Nexus 9000v Software") and related documentation,
files or other reference materials ("Documentation") are
the proprietary property and confidential information of Cisco
Systems, Inc. ("Cisco") and are protected, without limitation,
pursuant to United States and International copyright and trademark
laws in the applicable jurisdiction which provide civil and criminal
penalties for copying or distribution without Cisco's authorization.
Any use or disclosure, in whole or in part, of the Nexus 9000v Software
or Documentation to any third party for any purposes is expressly
prohibited except as otherwise authorized by Cisco in writing.
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
***************************************************************************
* Nexus 9000v is strictly limited to use for evaluation, demonstration *
* and NX-OS education. Any use or disclosure, in whole or in part of *
* the Nexus 9000v Software or Documentation to any third party for any *
* purposes is expressly prohibited except as otherwise authorized by *
* Cisco in writing. *
***************************************************************************
Nexux9K_38lab#
Nexux9K_38lab#
Nexux9K_38lab#
Nexux9K_38lab#
Nexux9K_38lab# exit
User Access Verification
Nexux9K_38lab login: admin
Password:
Cisco NX-OS Software
Copyright (c) 2002-2019, Cisco Systems, Inc. All rights reserved.
Nexus 9000v software ("Nexus 9000v Software") and related documentation,
files or other reference materials ("Documentation") are
the proprietary property and confidential information of Cisco
Systems, Inc. ("Cisco") and are protected, without limitation,
pursuant to United States and International copyright and trademark
laws in the applicable jurisdiction which provide civil and criminal
penalties for copying or distribution without Cisco's authorization.
Any use or disclosure, in whole or in part, of the Nexus 9000v Software
or Documentation to any third party for any purposes is expressly
prohibited except as otherwise authorized by Cisco in writing.
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
***************************************************************************
* Nexus 9000v is strictly limited to use for evaluation, demonstration *
* and NX-OS education. Any use or disclosure, in whole or in part of *
* the Nexus 9000v Software or Documentation to any third party for any *
* purposes is expressly prohibited except as otherwise authorized by *
* Cisco in writing. *
***************************************************************************
Nexux9K_38lab#
Nexux9K_38lab# sh run
!Command: show running-config
!Running configuration last done at: Sat Nov 23 15:22:13 2019
!Time: Sat Nov 23 15:24:09 2019
version 9.3(2) Bios:version
switchname Nexux9K_38lab
vdc Nexux9K_38lab id 1
limit-resource vlan minimum 16 maximum 4094
limit-resource vrf minimum 2 maximum 4096
limit-resource port-channel minimum 0 maximum 511
limit-resource u4route-mem minimum 248 maximum 248
limit-resource u6route-mem minimum 96 maximum 96
limit-resource m4route-mem minimum 58 maximum 58
limit-resource m6route-mem minimum 8 maximum 8
feature telnet
username admin password 5 $5$11gpSIMP$Lpr9/aAIQoTAoXs9f82B955xy.DPaD7/fk4nlB/gSr
D role network-admin
username miwapinn password 5 $5$IBBl6bVW$267tysq9eJdfUjdD5yfCR6NI2fmUTxJGHnVOvBG
aSK5 role network-operator
username miwapinn passphrase lifetime 99999 warntime 14 gracetime 3
ip domain-lookup
no system default switchport
snmp-server user admin network-admin auth md5 0x24b7c09f3d97acff1a7bfc8e5c1f1666
priv 0x24b7c09f3d97acff1a7bfc8e5c1f1666 localizedkey
snmp-server user miwapinn network-operator auth md5 0x24b7c09f3d97acff1a7bfc8e5c
1f1666 priv 0x24b7c09f3d97acff1a7bfc8e5c1f1666 localizedkey
rmon event 1 description FATAL(1) owner PMON@FATAL
rmon event 2 description CRITICAL(2) owner PMON@CRITICAL
rmon event 3 description ERROR(3) owner PMON@ERROR
rmon event 4 description WARNING(4) owner PMON@WARNING
rmon event 5 description INFORMATION(5) owner PMON@INFO
snmp-server community 38lab group network-admin
ntp server 202.234.233.106 use-vrf default
vlan 1
vrf context management
ip route 0.0.0.0/0 192.168.3.1
interface Ethernet1/1
interface Ethernet1/2
---snip---
interface Ethernet1/128
interface mgmt0
vrf member management
ip address 192.168.3.10/24
line console
line vty
Nexux9K_38lab#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment