Difference between revisions of "Loading IOS on a WS-C4900M / loading IOS and configuring the management interface via VRF / virtual router forwarding"

From NesevoWiki
Jump to navigationJump to search
(New page: 1) configuring an IP address on the management port interface FastEthernet1 ip vrf forwarding mgmtVrf ip address 192.168.0.240 255.255.255.0 speed auto duplex auto 2) ping to check i...)
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
1) configuring an IP address on the management port
+
'''1) configure an IP address on the management port'''
  
interface FastEthernet1
+
Switch>en<br/>
ip vrf forwarding mgmtVrf
+
Switch#configure terminal<br/>
ip address 192.168.0.240 255.255.255.0
+
Switch(config-if)#interface FastEthernet1<br/>
speed auto
+
Switch(config-if)#ip vrf forwarding mgmtVrf<br/>
duplex auto
+
Switch(config-if)#ip address 192.168.0.240 255.255.255.0<br/>
 +
Switch(config-if)#speed auto<br/>
 +
Switch(config-if)#duplex auto<br/>
 +
Switch(config-if)#exit<br/>
 +
Switch(config)#exit<br/>
 +
Switch#
  
2) ping to check if it works
+
'''2) ping to check if it works'''
  
 
Switch#ping vrf mgmtVrf 192.168.0.127
 
Switch#ping vrf mgmtVrf 192.168.0.127
  
Type escape sequence to abort.
+
Type escape sequence to abort.<br/>
 
Sending 5, 100-byte ICMP Echos to 192.168.0.127, timeout is 2 seconds:
 
Sending 5, 100-byte ICMP Echos to 192.168.0.127, timeout is 2 seconds:
!!!!!
+
!!!!!<br/>
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms Switch#
+
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms<br/>
 +
Switch#<br/>
  
  
3) configure the management port as source for the TFTP
+
'''3) configure the management port as source for the TFTP'''
  
Switch#conf t
+
Switch#conf t<br/>
Enter configuration commands, one per line.  End with CNTL/Z.
+
Enter configuration commands, one per line.  End with CNTL/Z.<br/>
Switch(config)#ip tftp source-interface FastEthernet1
+
Switch(config)#ip tftp source-interface FastEthernet1<br/>
 +
Switch#exit<br/>
 +
Switch#<br/>
  
 +
'''4) copy the IOS'''
  
4) copy the IOS
+
Switch#copy tftp: slot0:<br/>
 +
Address or name of remote host [192.168.0.127]?<br/>
 +
Source filename [XYZ]?<br/>
 +
Destination filename [XYZ]?<br/>
 +
Accessing tftp://192.168.0.127/XYZ<br/>
  
Switch#copy tftp: slot0:
+
'''it should load now......'''
Address or name of remote host [192.168.0.127]?
 
Source filename [XYZ]?
 
Destination filename [XYZ]?
 
Accessing tftp://192.168.0.127/XYZ
 
 
 
it should load now......
 

Latest revision as of 10:27, 5 January 2011

1) configure an IP address on the management port

Switch>en
Switch#configure terminal
Switch(config-if)#interface FastEthernet1
Switch(config-if)#ip vrf forwarding mgmtVrf
Switch(config-if)#ip address 192.168.0.240 255.255.255.0
Switch(config-if)#speed auto
Switch(config-if)#duplex auto
Switch(config-if)#exit
Switch(config)#exit
Switch#

2) ping to check if it works

Switch#ping vrf mgmtVrf 192.168.0.127

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.0.127, timeout is 2 seconds: !!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/1/1 ms
Switch#


3) configure the management port as source for the TFTP

Switch#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#ip tftp source-interface FastEthernet1
Switch#exit
Switch#

4) copy the IOS

Switch#copy tftp: slot0:
Address or name of remote host [192.168.0.127]?
Source filename [XYZ]?
Destination filename [XYZ]?
Accessing tftp://192.168.0.127/XYZ

it should load now......