This is an old revision of the document!
The RE is used to connect to other network devices or hosts including the PFE. The initial port names are em0 to em14 but they are not used to communicate with other devices. The actual connectivity ports are xe-0/0/0 to xe-0/0/11. The port mappings of the RE are below:
em0 - management interface (fxp0) em1 - internal link em2 - unusable em3 - xe-0/0/0 em4 - xe-0/0/1 em5 - xe-0/0/2 em6 - xe-0/0/3 em7 - xe-0/0/4 em8 - xe-0/0/5 em9 - xe-0/0/6 em10 - xe-0/0/7 em11 - xe-0/0/8 em12 - xe-0/0/9 em13 - xe-0/0/10 em14 - xe-0/0/11
INSTALLATION:
show interface | display set | no-more # delete all interfaces except xe-0/0/0-11 commit set system scripts commit allow-transients set system scripts commit file set-em-mac-to-xe-ae-vQFX.slax commit
# genhost.sh file #!/bin/bash # This file creates an ini/host files with the names and mgmt values assigned by vagrant so it can be used by ansible vagrant ssh-config > ssh-config echo -e " [TEST] R1-vcp ansible_host=`egrep -A 1 "R1-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` R2-vcp ansible_host=`egrep -A 1 "R2-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` R3-vcp ansible_host=`egrep -A 1 "R3-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` R4-vcp ansible_host=`egrep -A 1 "R4-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` R5-vcp ansible_host=`egrep -A 1 "R5-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` R6-vcp ansible_host=`egrep -A 1 "R6-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` R7-vcp ansible_host=`egrep -A 1 "R7-vcp" ssh-config | egrep HostName | cut -d' ' -f 4` " > ini/hosts
ansible-playbook -vvvv –private-key=~/.vagrant.d/insecure_private_key -u vagrant -i ini/hosts -l all playbook.yml