Ben's notes

Linux, Unix, network, radio...

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 revisionPrevious revision
Next revisionBoth sides next revision
cisco_csr1000v [2014/08/14 09:46] – [Cisco CSR1000V / IOS XE - KVM] admincisco_csr1000v [2014/08/14 10:30] – [Cisco CSR1000V / IOS XE - KVM] admin
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       192.168.42.47   YES manual up                    up      
 +GigabitEthernet2       unassigned      YES NVRAM  administratively down down    
 +GigabitEthernet3       unassigned      YES NVRAM  administratively down down    </code>
  
cisco_csr1000v.txt · Last modified: 2021/10/09 15:14 by 127.0.0.1