cmdref.net - Cheat Sheet and Example

cmdref.net is command references/cheat sheets/examples for system engineers.

User Tools

Site Tools


Sidebar








Etc


Reference














.

hardware:alista:index.html



Arista EOS CLI Commands

Corporate Sites

Commands

switch> enable
switch# configure
switch(config)#
veos> enable
veos# bash
show version Serial Number
show inventory

VLAN

switch(config)#vlan 45
switch(config-vlan-45)#
Access Ports
switch(config)#interface ethernet 5
switch(config-if-Et5)#switchport access vlan 15
switch(config-if-Et5)#
Trunk Ports
switch(config)#interface ethernet 12-16
switch(config-if-Et12-16)#switchport trunk allowed vlan 15,20-22,40,75
switch(config-if-Et12-16)#
switch(config)#interface ethernet 14
switch(config-if-Et14)#switchport trunk allowed vlan add 100-120
switch(config-if-Et14)#


NAT

Source NAT

These commands configure VLAN 201 to translate source address 10.24.1.10 to 168.32.14.15.

switch(config)#interface vlan 201
switch(config-if-Vl201)#ip nat source static 10.24.1.10 168.32.14.15
switch(config-if-Vl201)#


VRF

sh vrf
sh ip route vrf vrf1
ping vrf vrf2 192.168.204.1
vrf definition vrf1
   rd 65000:1

vrf definition vrf2
   rd 65000:2

interface Vlan301
   vrf forwarding vrf1
   ip address 30.0.1.254/24

interface Vlan401
   vrf forwarding vrf2
   ip address 40.0.1.254/24


ip route vrf vrf1 40.0.1.0/24 30.0.2.1
ip route vrf vrf2 30.0.1.0/24 40.0.12.1


ip routing
ip routing vrf vrf1
ip routing vrf vrf2


BGP


NAT


PTP

TimeStamp

References




hardware/alista/index.html.txt ยท Last modified: 2020/09/01 by admin

Page Tools