This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| virtualization:containerlab:csr100vinstall [2022/04/07 16:10] – jotasandoku | virtualization:containerlab:csr100vinstall [2023/11/02 14:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | * In equinix metal, 32G '' | ||
| - | * csr1000v-universalk9.17.03.02-serial.qcow2 | ||
| - | * csr1000v-universalk9.16.08.01a-serial.qcow2 | ||
| - | * In equinix metal, PROC 2 x Intel(R) Xeon(R) Silver 4214 CPU @ 2.20GHz RAM 192GB: | ||
| - | * vbox created fine but then vagrant up fails | ||
| - | * vm starts, gets the mgmt ip but ssh not working? | ||
| - | csr#sh ssh | ||
| - | %No SSHv2 server connections running. | ||
| - | csr# | ||
| - | ^^ pasting receip in the vm brings the ssh up | ||
| + | ---- | ||
| + | |||
| + | cat >> / | ||
| + | Host * | ||
| + | GSSAPIAuthentication yes | ||
| + | # | ||
| + | KexAlgorithms=curve25519-sha256@libssh.org, | ||
| + | nistp521, | ||
| + | | ||
| + | cat > topology.yml | ||
| + | provider: libvirt | ||
| + | defaults: | ||
| + | device: csr | ||
| + | nodes: [ r1, r2 ] | ||
| + | links: [ r1, r2, r1-r2 ] | ||
| + | |||
| + | |||
| + | hostname csr | ||
| + | no ip domain lookup | ||
| + | ip domain name lab.local | ||
| + | ! | ||
| + | no service config | ||
| + | ! | ||
| + | crypto key generate rsa modulus 2048 | ||
| + | ip ssh version 2 | ||
| + | ! | ||
| + | aaa new-model | ||
| + | ! | ||
| + | aaa authentication login default local | ||
| + | aaa authorization exec default local | ||
| + | ! | ||
| + | username vagrant privilege 15 secret vagrant | ||
| + | ! | ||
| + | ip ssh pubkey-chain | ||
| + | | ||
| + | key-hash ssh-rsa DD3BB82E850406E9ABFFA80AC0046ED6 | ||
| + | ! | ||
| + | vrf definition MGMT | ||
| + | | ||
| + | ! | ||
| + | | ||
| + | | ||
| + | ! | ||
| + | interface GigabitEthernet1 | ||
| + | vrf forwarding MGMT | ||
| + | | ||
| + | ip address dhcp | ||
| + | no shutdown | ||
| + | ! | ||
| + | line vty 0 4 | ||
| + | | ||
| + | ! | ||
| + | | ||
| + | event manager applet ENABLE-MGMT | ||
| + | event syslog pattern " | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | ! | ||
| + | end | ||
| + | wr mem | ||
| + | ! | ||