Changing network settings on an M5000 (or M9000) XSCF

First, here is the documentation on the XSCF commands:
http://download.oracle.com/docs/cd/E19580-01/821-2797-10/21ch2p.html#50450504_62902

Second, you will have to reset (“reboot”) the XSCF to apply any network setting changes. This will NOT reboot the running operating system, but it does take a few minutes.

Here is an example of correcting the default router for an XSCF network card:

XSCF> ping host.domain.com
XSCF> ping 192.168.60.245
PING 192.168.60.245 (192.168.60.245): 56 data bytes

--- 192.168.60.245 ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss

XSCF> shownetwork -a
xscf#0-lan#0
Link encap:Ethernet HWaddr 00:21:28:A4:BF:06
inet addr:192.168.244.22 Bcast:192.168.244.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9252517 errors:0 dropped:0 overruns:0 frame:0
TX packets:46509 errors:2 dropped:0 overruns:0 carrier:2
collisions:0 txqueuelen:1000
RX bytes:676265882 (644.9 MiB) TX bytes:3120612 (2.9 MiB)
Base address:0xe000

xscf#0-lan#1
Link encap:Ethernet HWaddr 00:21:28:A4:BF:07
inet addr:192.168.9.39 Bcast:192.168.9.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:23131268 errors:0 dropped:0 overruns:0 frame:0
TX packets:62990 errors:4 dropped:0 overruns:0 carrier:4
collisions:0 txqueuelen:1000
RX bytes:2389000588 (2.2 GiB) TX bytes:4226398 (4.0 MiB)
Base address:0xc000

XSCF> showroute -a
#The above does not work because DNS resolutin is not working
# without a working network connection
XSCF> showroute -an
Destination Gateway Netmask Flags Interface
192.168.244.0 0.0.0.0 255.255.255.0 U xscf#0-lan#0
192.168.9.0 0.0.0.0 255.255.255.0 U xscf#0-lan#1
0.0.0.0 192.168.9.4 0.0.0.0 UG xscf#0-lan#1
0.0.0.0 192.168.244.4 0.0.0.0 UG xscf#0-lan#0

XSCF> setroute -c add -n 0.0.0.0 -g 192.168.9.1 xscf#0-lan#1

XSCF> showroute -an
Destination Gateway Netmask Flags Interface
192.168.244.0 0.0.0.0 255.255.255.0 U xscf#0-lan#0
192.168.9.0 0.0.0.0 255.255.255.0 U xscf#0-lan#1
0.0.0.0 192.168.9.4 0.0.0.0 UG xscf#0-lan#1
0.0.0.0 192.168.244.4 0.0.0.0 UG xscf#0-lan#0

XSCF> applynetwork
The following network settings will be applied:
xscf#0 hostname :HOSTNAME-xscf
DNS domain name :domain.com
nameserver :192.168.210.5
nameserver :192.168.210.205

interface :xscf#0-lan#0
status :up
IP address :192.168.244.22
netmask :255.255.255.0
route :-n 0.0.0.0 -m 0.0.0.0 -g 192.168.244.4

interface :xscf#0-lan#1
status :up
IP address :192.168.9.39
netmask :255.255.255.0
route :-n 0.0.0.0 -m 0.0.0.0 -g 192.168.9.1

Continue? [y|n] :y
Please reset the XSCF by rebootxscf to apply the network settings.
Please confirm that the settings have been applied by executing
showhostname, shownetwork, showroute and shownameserver after rebooting
the XSCF.

XSCF> rebootxscf
The XSCF will be reset. Continue? [y|n] :y
XSCF> execute J00shutdown_start -- complete

. . .

XSCF> showroute -an
Destination Gateway Netmask Flags Interface
192.168.244.0 0.0.0.0 255.255.255.0 U xscf#0-lan#0
192.168.9.0 0.0.0.0 255.255.255.0 U xscf#0-lan#1
0.0.0.0 192.168.9.1 0.0.0.0 UG xscf#0-lan#1
0.0.0.0 192.168.244.4 0.0.0.0 UG xscf#0-lan#0

XSCF> showroute -a
Destination Gateway Netmask Flags Interface
192.168.244.0 * 255.255.255.0 U xscf#0-lan#0
192.168.9.0 * 255.255.255.0 U xscf#0-lan#1
default router1 0.0.0.0 UG xscf#0-lan#1
default router2 0.0.0.0 UG xscf#0-lan#0

XSCF> ping host.domain.com
PING host.domain.com (192.168.60.245): 56 data bytes
64 bytes from 192.168.60.245: icmp_seq=0 ttl=245 time=85.2 ms
64 bytes from 192.168.60.245: icmp_seq=1 ttl=245 time=84.7 ms
64 bytes from 192.168.60.245: icmp_seq=2 ttl=245 time=84.7 ms
64 bytes from 192.168.60.245: icmp_seq=3 ttl=245 time=84.6 ms

--- host.domain.com ping statistics ---
4 packets transmitted, 4 packets received, 0% packet loss
round-trip min/avg/max = 84.6/84.8/85.2 ms
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>