1. Connect a serial cable to the management port
2. Use Putty to make a serial connection to the device and you will get a screen as below:
#>
3. From there type:
set network
This will display the current network configuration for the ethernet port, make note of the ethernet interface, its normally "eth0":
#> set network
"eth0" interface configuration:
MAC Address : 00:40:9D:C2:45:A0
Currently in use by
the network stack Stored configuration
-------------------- -------------------
ipaddress : 169.254.90.52 0.0.0.0
submask : 255.255.0.0 0.0.0.0
gateway : 0.0.0.0 0.0.0.0
static : off off
dhcp : on on
autoip : supplied IP address on
keepalive idle : 10 10
probe count : 5 5
probe interval : 10 10
dns1 : 0.0.0.0 0.0.0.0
dns2 : 0.0.0.0 0.0.0.0
rto_min : 1000 1000
rto_max : 60 60
arp_ttl : 15 15
garp : 3600 3600
gwpriority : eth0
dnspriority : static,eth0
4. Now we run the commands below to set the network configuration:
Set IP Address:
set network interface=eth0 ipaddress=10.10.10.10
Set subnet mask:
set network interface=eth0 submask=255.255.255.0
Set gateway:
set network interface=eth0 gateway=10.10.10.254
Set static IP assignment on:
set network interface=eth0 static=on
Set DHCP off:
set network interface=eth0 dhcp=off
Set auto IP off:
set network interface=eth0 autoip=off
Set primary DNS:
set network interface=eth0 dns1=10.10.10.20
Set secondaryDNS:
set network interface=eth0 dns2=10.10.10.30
5. Now if you run:
set network
You should see the settings you have applied as below:
#> set network
"eth0" interface configuration:
MAC Address : 00:40:9D:C2:45:A0
Currently in use by
the network stack Stored configuration
-------------------- -------------------
ipaddress : 169.254.90.52 10.10.10.10
submask : 255.255.0.0 255.255.255.0
gateway : 0.0.0.0 10.10.10.254
static : off on
dhcp : on off
autoip : supplied IP address off
keepalive idle : 10 10
probe count : 5 5
probe interval : 10 10
dns1 : 0.0.0.0 10.10.10.20
dns2 : 0.0.0.0 10.10.10.30
rto_min : 1000 1000
rto_max : 60 60
arp_ttl : 15 15
garp : 3600 3600
gwpriority : eth0
dnspriority : static,eth0
6. Type:
exit
Comments
Post a Comment