Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


cisco_csr1000v

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cisco_csr1000v [2014/08/14 11:46]
admin [Cisco CSR1000V / IOS XE - KVM]
cisco_csr1000v [2014/08/14 12:35]
admin [Cisco CSR1000V / IOS XE - KVM]
Line 59: Line 59:
 </​code>​ </​code>​
  
 +===Configure IP===
 +  * Show interfaces. <​code>#​sh ip int br
 +Interface ​             IP-Address ​     OK? Method Status ​               Protocol
 +GigabitEthernet1 ​      ​unassigned ​     YES NVRAM  administratively down down    ​
 +GigabitEthernet2 ​      ​unassigned ​     YES NVRAM  administratively down down    ​
 +GigabitEthernet3 ​      ​unassigned ​     YES NVRAM  administratively down down    </​code>​
 +  * Create management VRF. <​code>​conf t
 +Router(config)#​ip vrf mgmt-irf ​
 +Router(config-vrf)#​int g1           
 +Router(config-if)#​ip vrf forwarding mgmt-vrf
 +Router(config-if)#​^Z
  
 +#sh run int g1
 +Building configuration...
  
 +Current configuration : 105 bytes
 +!
 +interface GigabitEthernet1
 + ip vrf forwarding mgmt-vrf
 + no ip address
 + ​shutdown
 + ​negotiation auto
 +end</​code>​
 +  * Configure IP address. <​code>​conf t
 +Router(config)#​int g1
 +Router(config-if)#​ip add 1.2.3.4 255.255.255.0
 +Router(config-if)#​no shut
 +Router(config-if)#​^Z
  
 +</​code>​
 +  * Show interfaces. <​code>​Router#​sh ip int br
 +Interface ​             IP-Address ​     OK? Method Status ​               Protocol
 +GigabitEthernet1 ​      ​1.2.3.4 ​        YES manual up                    up      ​
 +GigabitEthernet2 ​      ​unassigned ​     YES NVRAM  administratively down down    ​
 +GigabitEthernet3 ​      ​unassigned ​     YES NVRAM  administratively down down    </​code>​
 +  * Ping test. <​code>​Router#​ping vrf mgmt-vrf 1.2.3.2
 +Type escape sequence to abort.
 +Sending 5, 100-byte ICMP Echos to 1.2.3.2, timeout is 2 seconds:
 +.!!!!
 +Success rate is 80 percent (4/5), round-trip min/avg/max = 1/2/4 ms</​code>​
cisco_csr1000v.txt ยท Last modified: 2014/08/14 12:35 by admin