WEIGEL FORUM
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login

    ARISTA || Initial Switch Configuration

    Networking
    1
    1
    20
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DerMeldosD
      DerMeldos
      last edited by DerMeldos

      Assigning an IP Address to a Specific Ethernet Management Port

      1. Connect a PC or terminal server to the console port. Use the settings listed in Console Port under Port Settings.

      2. Type admin at the login prompt to log into the switch. The initial login does not require a password.

      Arista EOS
      switch login:admin 
      Last login: Fri Apr 9 14:22:18 on Console
      switch>
      
      1. Type enable at the command prompt to enter Privileged EXEC mode.
      switch>enable
      switch#
      
      1. Type configure terminal (or config) to enter global configuration mode.
      switch#configure terminal
      
      1. Type interface management 1 to enter interface configuration mode. (Any available management port can be used in place of management port 1.)
      switch(config)#interface management 1
      switch(config-if-Ma1)#
      
      1. Type ip address, followed by the desired address, to assign an IP address to the port. This command assigns the IP address 10.0.2.8 to management port 1.
      switch(config-if-Ma1)#ip address 10.0.2.8/24
      
      1. Type exit at both the interface configuration and global configuration prompts to return to Privileged EXEC mode.
      switch(config-if-Ma1)#exit
       switch(config)#exit 
      switch#
      
      1. Type write (or copy running-config startup-config) to save the new configuration to the startup-config file.
      switch# write
      switch#
      

      Configuring a Default Route to the Gateway

      1. Enter global configuration mode.
      switch>enable
      switch#configure terminal
      
      1. Create a static route to the gateway with the IP route command.
      switch(config)#ip route 0.0.0.0/0 10.0.2.1
      
      1. Save the new configuration.
      switch#write 
      switch#
      
      1 Reply Last reply Reply Quote 0
      • First post
        Last post
      Powered by NodeBB | Contributors