To configure a static IP address for the AirShield, access to the device's local console is required. This can be through the RJ45 serial cable connection or via SSH over the existing IP network.
The airshield username and password is required to access the console from the serial port. Through SSH the private key is required. Open a ticket here for access to this information.
This document assumes access to the AirShield device console has been obtained.
Show Status
To view the current status of the Ethernet, use the command show ethernet:
[062018v2a10179] > show ethernet Current Interface Status ------------------------ Ethernet Status: ACTIVE 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 link/ether 24:1c:04:76:e4:ea brd ff:ff:ff:ff:ff:ff inet 10.128.1.9/24 brd 10.128.1.255 scope global eth0 valid_lft forever preferred_lft forever inet6 2603:3024:e06:8fa1:261c:4ff:fe76:e4ea/64 scope global mngtmpaddr dynamic valid_lft 336956sec preferred_lft 336956sec inet6 fe80::261c:4ff:fe76:e4ea/64 scope link valid_lft forever preferred_lft forever Routing table: default via 10.128.1.254 dev eth0 metric 5 onlink 10.128.1.0/24 dev eth0 proto kernel scope link src 10.128.1.9
Configure IPv4 Addressing
To configure a static IPv4 Address, use the following three commands:
- set ethernet ip address [ip address]
- set ethernet ip mask [ip mask]
- set ethernet ip gateway [ip gateway]
[062018v2a10179] > set ethernet ip address 10.128.1.9 [062018v2a10179] > set ethernet ip mask 255.255.255.0 [062018v2a10179] > set ethernet ip gateway 10.128.1.254 [062018v2a10179] > show config Interface Configuration ----------------------- Mode: static IPv4 Setup: Address: 10.128.1.9 Subnet: 255.255.255.0 Gateway: 10.128.1.254 Duplex: auto Speed: auto Current Proxy Settings ------------------------ No proxies configured for use.
Set DHCP
[062018v2a10179] > set ethernet dhcp [062018v2a10179] > show config Interface Configuration ----------------------- Mode: dhcp Duplex: auto Speed: auto Current Proxy Settings ------------------------ No proxies configured for use.
Save Configuration
Saving the configuration commits the current changes to the filesystem.
[062018v2a10179] > save Confirm? [y/N]: y Configuration saved!
Reset Ethernet
Resetting the Ethernet will bring the interface down and back up.
[062018v2a10179] > reset ethernet Confirm? [y/N]:
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article