Configuração inicial Cisco Nexus 5k

Os switches da família Nexus usam o NX-OS, que tem a sintaxe um pouco diferente do IOS. Nada muito radical, mas ainda assim há algumas particularidades que quem está acostumado com o IOS precisa se atentar.

Por exemplo, antes de configurar uma funcionalidade precisamos habilitá-la usando o comando feature(feature lacp feature vtp,feature telnet,…) e também o fato dele trabalhar por padrão com VRFs.

Nexus5k e Nexus2k

Falando no Nexus5000, uma de suas características é o fato de poder gerenciar os FEXs (Nexus2000), que funcionam como módulos remotos.

Configuração Inicial

Ao energizar o Nexus 5k ele irá ligar imediatamente, já que não possui um botão liga/desliga. E com a console conectada (mesma configuração dos demais equipamentos Cisco), após o processo de boot, você verá o assistente de configuração inicial, que ajuda na configuração mínima do equipamento.

A primeira informação solicitada é a senha do usuário admin, pré-definido e que não pode ser deletado. Você pode criar outro usuário e especificar o tipo (network-operator ou network-admin), opcionalmente.

As demais informações solicitadas são a comunidade SNMP (read-only), hostname, IP de gerência (porta dedicada) e gateway desta VRF (managment), se você deseja habilitar telnet e ssh, configuração do NTP e FCoE.

Configuração inicial do Cisco Nexus 5k usando o wizard.

!Configure a senha do usuário admin, padrão.

  Enter the password for admin: senha123
Confirm the password for "admin": senha123

         —- 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 Nexus 5000 Family devices promptly with your
supplier. Failure to register may affect response times for initial
service calls. Nexus 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.

!Selecione yes para entrar no assistente de configuração

Would you like to enter the basic configuration dialog (yes/no): yes

!Selecione yes para criar uma outra conta para acesso, opcionalmente
  Create another login account (yes/no) [n]: yes

    Enter the User login Id [admin]: brainwork

    Enter the password for "brainwork":
Confirm the password for "brainwork":

    Enter the user role [network-operator]: network-admin

!Selecione yes para configurar uma comunidade SNMP (read-only)

  Configure read-only SNMP community string (yes/no) [n]: yes

    SNMP community string : SNMP_RO

!Informe o hostname do equipamento

  Enter the switch name : BrainNexus5k

!Selecione yes para configurar a rede de gerência

  Continue with Out-of-band (mgmt0) management configuration? (yes/no) [y]: y

    Mgmt0 IPv4 address : 10.85.225.2

    Mgmt0 IPv4 netmask : 255.255.255.192

  Configure the default gateway? (yes/no) [y]: y

    IPv4 address of the default gateway : 10.85.225.1

!Escolha se quer habilitar telnet e ssh

  Enable the telnet service? (yes/no) [n]: n

  Enable the ssh service? (yes/no) [y]: y

    Type of ssh key you would like to generate (dsa/rsa) : rsa

    Number of  key bits <768-2048> : 2048

!Se quiser, selecione yes e informe o IP do NTP Server

  Configure the ntp server? (yes/no) [n]: n

!Também podemos configurar algumas opções de FCoE (neste caso não foi preciso)

  Enter basic FC configurations (yes/no) [n]: n

The following configuration will be applied:
username brainwork password <user-password> role network-admin
snmp-server community SNMP_RO ro
switchname BrainNexus5k
interface mgmt0
ip address 10.85.225.2 255.255.255.192
no shutdown
exit
vrf context management
ip route 0.0.0.0/0 10.85.225.1
exit
no telnet server enable
ssh key rsa 2048 force
ssh server enable

!Se tudo estiver ok, selecione NO

Would you like to edit the configuration? (yes/no) [n]: n

!Salve a configuração

Use this configuration and save it? (yes/no) [y]: y
[########################################] 100%
Copy complete, now saving to disk (please wait)…

Com o setup realizado basta logar no equipamento, via ssh, se isso foi habilitado, usando o usuário admin ou o usuário que você criou.

Logando após a configuração.

User Access Verification
LOGIN: brainwork
PASSWORD:
Cisco Nexus Operating System (NX-OS) Software
TAC support: http://www.cisco.com/tac
Copyright (c) 2002-2012, Cisco Systems, Inc. All rights reserved.
The copyrights to certain works contained in this software are
owned by other third parties and used and distributed under
license. Certain components of this software are licensed under
the GNU General Public License (GPL) version 2.0 or the GNU
Lesser General Public License (LGPL) Version 2.1. A copy of each
such license is available at
http://www.opensource.org/licenses/gpl-2.0.php and
http://www.opensource.org/licenses/lgpl-2.1.php

BrainNexus5k#

É importante notar que as senhas não podem conter $ (dólar) nem espaço, e também não podem ter aspas duplas ou simples(“ ‘), barra vertical (|) ou sinal de maior (>) no início da senha.

Para salvar a configuração basta usar o comando copy running-config startup-config e para apagar a configuração o comando utilizado é write erase.

Mais informações sobre a configuração inicial neste link.

Até a próxima.

About Us

Luckily friends do ashamed to do suppose. Tried meant mr smile so. Exquisite behaviour as to middleton perfectly. Chicken no wishing waiting am. Say concerns dwelling graceful.

Services

Most Recent Posts

  • All Post
  • Branding
  • Certificação
  • Cisco
  • Cloud
  • Configuração
  • Configuração Básica
  • Development
  • Geral
  • Informação
  • Leadership
  • Linux
  • Management
  • Microsoft
  • Network
  • Security
  • UC
  • Virtualização
  • Wireless

Company Info

She wholly fat who window extent either formal. Removing welcomed.

Your Business Potential with Our Proven Strategies

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.
Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Company

About Us

Contact Us

Products

Services

Blog

Features

Analytics

Engagement

Builder

Publisher

Help

Privacy Policy

Terms

Conditions

Product

Lorem ipsum dolor sit amet, consectetur adipiscing elit.
You have been successfully Subscribed! Ops! Something went wrong, please try again.
© 2023 Created with Royal Elementor Addons