The IOS XRv router is allready installed in my MacBook as detailed into my recent article Cisco IOS XRv on VMWare Fusion.
As I need a serial connection every time I want to change my LAB setup, I’ve defined my XRv serial connection into Secure CRT as described in the last section of my recent article SecureCRT to XRv Serial Console
0. XRv Network Connectivity
Next I will provide initial configuration for the IOS XRv router to make sure it match the management network design defined for SkyLifter Project.
Network | Connected Device | Device Port | Info | IP |
---|---|---|---|---|
vmnet3 | XRv | Mg0/0/CPU0/0 | OoB MNG Net | 192.168.83.30/24 |
vmnet4 | XRv-n, n=[1,n] | Gi0/0/0/0 | Intelink with/without VLANs | not configured |
vmnet7 | XRv-n, n=[1,n] | Gi0/0/0/1 | Intelink with/without VLANs | not configured |
As I am new to XRv I will use the Workbook on Cisco Website.
Note: In this moment I don’t know if I can run multimple XRv instances on my MacBook.
The logical network diagram
1. I add the needed networks to XRv VM
From Fusion application, click Ubuntu VM, go to Virtual Machine > Settingsā¦and add the needed networks.
Then start XRv VM.
2. Connect to XRv Router
I will connect using intial configured user silvia and pass silvia.
Murgescus-MacBook-Pro:~ silvia$ telnet 127.0.0.1 9001 Trying 127.0.0.1... Connected to localhost. Escape character is '^]'. IMPORTANT: READ CAREFULLY [...] Please login with any configured user/password, or cisco/cisco User Access Verification Username: silvia Password: RP/0/0/CPU0:XRv1#
3. Identify physical interfaces
I have defined only 4 physical interfaces which can bee seen into show interface brief command output.
RP/0/0/CPU0:XRv1#show interface bref Fri Nov 17 19:43:15.580 UTC Intf Intf LineP Encap MTU BW Name State State Type (byte) (Kbps) -------------------------------------------------------------------------------- Nu0 up up Null 1500 0 Mg0/0/CPU0/0 up up ARPA 1514 0 Gi0/0/0/0 admin-down admin-down ARPA 1514 1000000 Gi0/0/0/1 admin-down admin-down ARPA 1514 1000000 Gi0/0/0/2 admin-down admin-down ARPA 1514 1000000
Note: The Mg0/0/CPU0/0 interface is an out-of-band (OOB) management interface. This will always be the first interface associated with the XRv VM as indicated in the XRv installation guide.
4. Configure Management Interface
RP/0/0/CPU0:XRv1#configure terminal Fri Nov 17 19:46:42.335 UTC RP/0/0/CPU0:XRv1(config)#interface M MgmtEth Multilink RP/0/0/CPU0:XRv1(config)#interface MgmtEth 0/0/CPU0/0 RP/0/0/CPU0:XRv1(config-if)#no shut RP/0/0/CPU0:XRv1(config-if)#ipv4 address 192.168.83.30/24 RP/0/0/CPU0:XRv1(config-if)#commit Fri Nov 17 19:48:37.628 UTC RP/0/0/CPU0:XRv1(config-if)#exit RP/0/0/CPU0:XRv1(config)#exit RP/0/0/CPU0:XRv1#show ipv4 interface brief Fri Nov 17 19:49:43.543 UTC Interface IP-Address Status Protocol MgmtEth0/0/CPU0/0 192.168.83.30 Up Up GigabitEthernet0/0/0/0 unassigned Shutdown Down GigabitEthernet0/0/0/1 unassigned Shutdown Down GigabitEthernet0/0/0/2 unassigned Shutdown Down
5. I check the management connectivity from macOS Local Shell
Let’s try a ping:
Murgescus-MacBook-Pro:~ silvia$ ping 192.168.83.30 PING 192.168.83.30 (192.168.83.30): 56 data bytes 64 bytes from 192.168.83.30: icmp_seq=0 ttl=255 time=3.392 ms 64 bytes from 192.168.83.30: icmp_seq=1 ttl=255 time=0.471 ms ^C --- 192.168.83.30 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.429/1.187/3.392/1.273 ms
Now telnet, as remember that ssh is not working on macOS Sierra:
Murgescus-MacBook-Pro:~ silvia$ telnet 192.168.83.30 Trying 192.168.83.30... Connected to 192.168.83.30. Escape character is '^]'. IMPORTANT: READ CAREFULLY Welcome to the Demo Version of Cisco IOS XRv (the "Software"). The Software is subject to and governed by the terms and conditions of the End User License Agreement and the Supplemental End User License Agreement accompanying the product, made available at the time of your order, or posted on the Cisco website at www.cisco.com/go/terms (collectively, the "Agreement"). As set forth more fully in the Agreement, use of the Software is strictly limited to internal use in a non-production environment solely for demonstration and evaluation purposes. Downloading, installing, or using the Software constitutes acceptance of the Agreement, and you are binding yourself and the business entity that you represent to the Agreement. If you do not agree to all of the terms of the Agreement, then Cisco is unwilling to license the Software to you and (a) you may not download, install or use the Software, and (b) you may return the Software as more fully set forth in the Agreement. Please login with any configured user/password, or cisco/cisco User Access Verification Username: silvia Password: RP/0/0/CPU0:XRv1#
Perfect! Now I will be able to connect to management port using telnet into SecureCRT application.
Note: At the moment both vMX and XRv are UP and Running on my MacBook.