Nexus 5k BY ANDR ORTEGA / SEGUNDA-FEIRA, 16 SETEMBRO 2013 / PUBLISHED IN CISCO, CONFIGURAO, SWITCHES
Os switches da famlia 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 tambm o fato dele trabalhar por padro com VRFs.
Falando no Nexus5000, uma de suas caractersticas o fato de poder
gerenciar os FEXs (Nexus2000), que funcionam como mdulos remotos. Configurao Inicial Ao energizar o Nexus 5k ele ir ligar imediatamente, j que no possui um boto liga/desliga. E com a console conectada (mesma configurao dos demais equipamentos Cisco), aps o processo de boot, voc ver o assistente de configurao inicial, que ajuda na configurao mnima do equipamento. A primeira informao solicitada a senha do usurio admin, pr-definido e que no pode ser deletado. Voc pode criar outro usurio e especificar o tipo (network-operator ou network-admin), opcionalmente. As demais informaes solicitadas so a comunidade SNMP (read-only), hostname, IP de gerncia (porta dedicada) e gateway desta VRF (managment), se voc deseja habilitar telnet e ssh, configurao do NTP e FCoE. Configurao inicial do Cisco Nexus 5k usando o wizard. !Configure a senha do usurio admin, padro. 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 configurao 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 gerncia 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 !Tambm podemos configurar algumas opes de FCoE (neste caso no 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 configurao 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 usurio admin ou o usurio que voc criou. Logando aps a configurao. 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 no podem conter $ (dlar) nem espao, e tambm no podem ter aspas duplas ou simples( ), barra vertical (|) ou sinal de maior (>) no incio da senha. Para salvar a configurao basta usar o comando copy running-config startup-config e para apagar a configurao o comando utilizado write erase. Mais informaes sobre a configurao inicial neste link. At a prxima.