Deployment Cisco SD-WAN LAB On EVE-NG PDF
Deployment Cisco SD-WAN LAB On EVE-NG PDF
Deployment Cisco SD-WAN LAB On EVE-NG PDF
SD-WAN
LAB ON EVE-NG
mkdir /opt/unetlab/addons/qemu/vtmgmt-19.3
mkdir /opt/unetlab/addons/qemu/vtmgmt-18.4.4Static
cd /opt/unetlab/addons/qemu/vtmgmt-19.3
mv viptela-vmanage-19.3-genericx86-64.qcow2 hda.qcow2
mkdir /opt/unetlab/addons/qemu/vtmgmt-18.4.4Static
mkdir /opt/unetlab/addons/qemu/vtbond-19.3
3- Fix permissions
cd
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
cd /opt/unetlab/addons/qemu/vtedge-19.3
mv viptela-edge-19.3-genericx86-64.qcow2 hda.qcow2
cd
5- Fix permissions:
cd
/opt/unetlab/wrappers/unl_wrapper -a fixpermissions
4. On Server Manager > Local Server change Computer Name (Restart required)
4. On Installation type page, select Role-base or Feature-base Installation then Select Next
5. On Server selection page, select DC1 Server then select Next
8. Click notification on server manager, select Promote this Server to a domain Controller
10. on Domain Controller Options, Type DSRM Password then click Next
8. Select Notification, then select Configure Active Directory Certificate Service on th..
4- Select Done.
5- You should see your newly created controller profile in the list.
3- Enter the PID VEDGE-CLOUD-DNA for vEdges, specify the desired quantity and select Save.
5- Enter the PID CSR1KV for vEdges, specify the desired quantity and select Save.
6- Select Next.
8- Select Done.
Serial File
1- Navigate to Controller Profiles and select Provisioning File .
2- Select 18.3 and Newer from the dropdown and then select Download. Save the file to a safe
location to import into the vManage at a future time.
vManage
1- start VManage and attach to a virtual console.
2- When see System Ready, login with the username/password admin
3- Once this is done the VM will reboot. Login again and apply the bootstrap configuration.
config
system
system-ip 100.1.1.11
site-id 100
organization-name "sdwanlab-webinar"
clock timezone Asia/Tehran
vbond 192.168.100.12
!
ntp
server 172.16.32.10
version 4
prefer
exit
vpn 0
ip route 0.0.0.0/0 192.168.100.1
interface eth0
ip address 192.168.100.11/24
ipv6 dhcp-client
no shutdown
!
!
commit and-quit
27- Paste CSR and select certificate Template Web Server the click Submit
config
system
system-ip 100.1.1.12
site-id 100
organization-name "sdwanlab-webinar"
clock timezone Asia/Tehran
vbond 192.168.100.12 local
!
ntp
server 172.16.32.10
version 4
prefer
exit
vpn 0
ip route 0.0.0.0/0 192.168.100.1
interface ge0/0
ip address 192.168.100.12/24
no tunnel-interface
!
!
commit and-quit
3- Navigate to the devices page to add the vBond to the vManage .
Configuration --> Devices --> Controllers --> Add Controller --> vBond
certificate-status Installed
certificate-validity Valid
certificate-not-valid-before May 13 14:26:25 2020 GMT
certificate-not-valid-after May 13 14:26:25 2022 GMT
dns-name 192.168.100.12
site-id 100
domain-id 0
protocol dtls
tls-port 23456
system-ip 100.1.1.12
……
vpn 0
interface eth0
tunnel-interface
allow-service all
commit
certificate-validity Valid
certificate-not-valid-before May 14 02:18:48 2020 GMT
certificate-not-valid-after May 14 02:18:48 2022 GMT
chassis-num/unique-id 02416bb3-45a2-4d5b-88a5-c54dad99b652
serial-num 6F0000000621358062D89ED028000000000006
number-active-wan-interfaces 1
protocol dtls
vpn 0
interface ge0/0
tunnel-interface
encapsulation ipsec
allow-service all
commit
PEER PEER
PEER PEER PEER SITE DOMAIN PEER PRIVATE PEER PUBLIC REMOTE ORGANIZATION
TYPE PROTOCOL SYSTEM IP ID ID PRIVATE IP PORT PUBLIC IP PORT COLOR STATE NAME UPTIME
------- ----------- ------------- ------- ---------- -------------- ----------- -------------- -------- ----------- -------- --------------------- --------------------
vmanage dtls 100.1.1.11 100 0 192.168.100.11 12346 192.168.100.11 12346 default up sdwanlab-webinar 0:00:00:05
vmanage dtls 100.1.1.11 100 0 192.168.100.11 12446 192.168.100.11 12446 default up sdwanlab-webinar 0:00:00:03
vmanage dtls 100.1.1.11 100 0 192.168.100.11 12546 192.168.100.11 12546 default up sdwanlab-webinar 0:00:00:03
vmanage dtls 100.1.1.11 100 0 192.168.100.11 12646 192.168.100.11 12646 default up sdwanlab-webinar 0:00:00:03
config
system
system-ip 100.1.1.13
site-id 100
organization-name "sdwanlab-webinar"
clock timezone Asia/Tehran
vbond 192.168.100.12
!
ntp
server 172.16.32.10
version 4
prefer
exit
vpn 0
ip route 0.0.0.0/0 192.168.100.1
interface eth0
no shut
ip address 192.168.100.13/24
!
!
commit and-quit
certificate-status Installed
certificate-validity Valid
certificate-not-valid-before May 14 03:56:31 2020 GMT
certificate-not-valid-after May 14 03:56:31 2022 GMT
dns-name 192.168.100.12
site-id 100
domain-id 1
protocol dtls
tls-port 23456
system-ip 100.1.1.13
……
vpn 0
interface eth0
tunnel-interface
commit
PEER PEER
PEER PEER PEER SITE DOMAIN PEER PRIV PEER PUB REMOTE
TYPE PROT SYSTEM IP ID ID PRIVATE IP PORT PUBLIC IP PORT COLOR STATE UPTIME
-------- ---- -------------- ----- ------- ----------------- ------ ---------------- ------ ---------- ------ -------------
vbond dtls 0.0.0.0 0 0 192.168.100.12 12346 192.168.100.12 12346 default up 0:00:00:21
vmanage dtls 100.1.1.11 100 0 192.168.100.11 12346 192.168.100.11 12346 default up 0:00:00:03
vbond dtls 0.0.0.0 0 0 192.168.100.12 12346 192.168.100.12 12346 default up 0:00:00:20
1- Configuration--> Devices--> WAN Edge List--> A vEdge Cloud--> ... --> Generate
Bootstrap Configuration
2- For KVM select Cloud-Init. (VMWare uses Encoded String). Then click OK.
3- You can either download the file and SCP it across to the host server, or copy and paste the contents
via a terminal to the server. Use the method you are most comfortable with.
system
host-name vEdge
system-ip 102.1.1.2
site-id 102
organization-name "sdwanlab-webinar"
clock timezone Asia/Tehran
vbond 192.168.100.12
ntp
server 172.16.32.10
version 4
prefer
exit
!
!
vpn 0
interface ge0/0
ip address 172.16.102.2/24
tunnel-interface
allow-service all
!
no shutdown
!
ip route 0.0.0.0/0 172.16.102.1
!
commit
8- Now activate the vEdge using the chassis number and the one-time password from the cloud-init file
9- It will take a minute or two, but confirm that the control connections are active to the vManage, vBond
and vSmart.
PEER PEER PEER SITE DOMAIN PEER PRIV PEER PUB GROUP
TYPE PROT SYSTEM IP ID ID PRIVATE IP PORT PUBLIC IP PORT LOCAL COLOR PROXY STATE UPTIME ID
--------- ------- ----------- ----- ----- ---------------- -------- ----------------- ------- -------- -------- -------- ------- ---------- ----------------
vsmart dtls 100.1.1.13 100 1 192.168.100.13 12346 192.168.100.13 12346 default No up 0:00:03:03 0
vmanage dtls 100.1.1.11 100 0 192.168.100.11 12546 192.168.100.11 12546 default No up 0:00:03:03 0
Configuration > Devices > WAN Edge List > A cEdge Cloud > ... > Generate
Bootstrap Configuration
2- For KVM select Cloud-Init. (VMWare uses Encoded String). Then click OK.
4- Boot up cEdge and Once you see the message System Ready login with the username/passwor d
admin and apply the following bootstrap config.
config-transaction
!
system
system-ip 103.1.1.2
site-id 103
organization-name "sdwanlab-webinar"
vbond 192.168.100.12
!
hostname cEdge
username admin privilege 15 secret admin
interface GigabitEthernet1
no shutdown
ip address 172.16.103.2 255.255.255.0
exit
interface Tunnel0
no shutdown
ip unnumbered GigabitEthernet1
tunnel source GigabitEthernet1
tunnel mode sdwan
exit
sdwan
interface GigabitEthernet1
tunnel-interface
allow-service all
encapsulation ipsec
exit
exit
ip route 0.0.0.0 0.0.0.0 172.16.103.1
# output
Uploading root-ca-cert-chain via VPN 0
Copying ... /bootflash/ROOTCA.pem via VPN 0
Updating the root certificate chain..
Successfully installed the root certificate chain
7- Now activate the vEdge using the chassis number and the one-time password from the cloud-init file
8- using the the chassis number and the one-time password from the cloud-init file
9- It will take a minute or two, but confirm that the control connections are active to the vManage, vBond
and vSmart.
# show control connections
PEER PEER PEER SITE DOMAIN PEER PRIV PEER PUB GROUP
TYPE PROT SYSTEM IP ID ID PRIVATE IP PORT PUBLIC IP PORT LOCAL COLOR PROXY STATE UPTIME ID
--------- ------- ----------- ----- ----- ---------------- -------- ----------------- ------- -------- -------- -------- ------- ---------- ----------------
vsmart dtls 100.1.1.13 100 1 192.168.100.13 12346 192.168.100.13 12346 default No up 0:00:03:03 0
vmanage dtls 100.1.1.11 100 0 192.168.100.11 12546 192.168.100.11 12546 default No up 0:00:03:03 0
Note: For HQR1, HQR2 same process but different Bootstrap config
➢ Configuration --> Template --> Feature --> Add template --> vManage & vSmart
--> Select
System Feature
1- Template Name: LAB _CTRL_SYSTEM
2- Template Description: LAB_SYSTEM_CTRL
3- Select System
4- Change Time zone Asia/Tehran
5- Click Save
VPN Feature
1. Template Name: LAB_VPN0_CTRL
2. Template Description: LAB_VPN0_CTRL
3. Select VPN
4. Basic Configuration
4.1. Select VPN0
4.2. Select Name Global: Write Description
5. DNS
5.1. Primary Address Global: Write DNS Server
6. IPv4 Route
6.1. Write Prefix Default and set Next hop
Deployment CISCO SD-WAN LAB ON EVE-NG 47
6.2. Click add
7. Click Save
➢ Configuration --> Template --> Feature --> Add template --> vManage
--> Select
➢ Configuration --> Template --> Feature --> Add template --> vSmart
--> Select
System Feature
1- Template Name: LAB _WEDGE_SYSTEM
2- Template Description: LAB _WEDGE_SYSTEM
3- Select System
4- Change Time zone (Base on Location)
5- Click Save
VPN512 Feature
1. Template Name: LAB_WEDGE_VPN512
2. Template Description: LAB_WEDGE_VPN512
3. Select VPN
4. Basic Configuration
4.1. Select VPN512
4.2. Select Name Global: VPN512 MGMT
5. Click Save
System Feature
1- Template Name: LAB_WEDGE_SYSTEM
2- Template Description: WEDGE_SYSTEM
3- Select System IP, Site ID, Hostname Device Specific
4- Change Time zone (Base on Location)
5- Click Save
VPN0 Feature
8. Template Name: LAB_WEDGE_VPN0
9. Template Description: LAB_WEDGE_VPN0
10.Select VPN
11.Basic Configuration
11.1. Select VPN0
11.2. Select Name Global: Write Description
12.DNS
12.1. Primary Address Global: Write DNS Server
13.IPv4 Route
13.1. Write Prefix Default and set Next hop
13.2. Click add
14.Click Save
VPN512 Feature
1. Template Name: LAB_WEDGE_VPN512
2. Template Description: LAB_WEDGE_VPN512
3. Select VPN
4. Basic Configuration
4.1. Select VPN512
4.2. Select Name Global: Write Description
5. Click Save