API Guide

You need to configure IPv4 routing for IP hosts to communicate with one another in the same network, or in different networks.
Assign interface IP address
You can assign primary and secondary IP addresses to a physical or logical interface to enable IP communication between the
system and hosts connected to a specific interface. Assign one primary address and secondary IP addresses to each interface.
By default, all ports are in the default VLANVLAN 1.
1. Enter the interface type information to assign an IP address in CONFIGURATION mode.
interface interface
ethernetPhysical interface
port-channelPort-channel ID number
vlanVLAN ID number
loopbackLoopback interface ID
mgmtManagement interface
2. Enable the interface in INTERFACE mode.
no shutdown
3. Remove the interface from the default VLAN in INTERFACE mode.
no switchport
4. Configure a primary IP address and mask on the interface in INTERFACE mode.
ip address ip-address mask [secondary]
ip-address maskEnter the IP address in dotted decimal formatA.B.C.D. and mask in slash prefix-length format
(/24).
secondaryEnter a secondary backup IP address for the interface.
Assign interface IP address to interface
OS10(config)# interface ethernet 1/1/1
OS10(conf-if-eth1/1/4)# no shutdown
OS10(conf-if-eth1/1/4)# no switchport
OS10(conf-if-eth1/1/4)# ip address 10.10.1.4/8
View interface configuration
OS10# show interface ethernet 1/1/1
Ethernet 1/1/1 is up, line protocol is up
Hardware is Dell EMC Eth, address is 00:0c:29:98:1b:79
Current address is 00:0c:29:98:1b:79
Pluggable media present, QSFP+ type is QSFP+ 40GBASE CR 1.0M
Wavelength is 64
SFP receive power reading is 0.0
Interface index is 16866084
Internet address is not set
Mode of IPv4 Address Assignment: not set
MTU 1532 bytes
LineSpeed 40G, Auto-Negotiation on
Flowcontrol rx off tx off
ARP type: ARPA, ARP Timeout: 60
Last clearing of "show interface" counters: 3 weeks 1 day 23:12:50
Queuing strategy: fifo
Input statistics:
0 packets, 0 octets
0 64-byte pkts, 0 over 64-byte pkts, 0 over 127-byte pkts
0 over 255-byte pkts, 0 over 511-byte pkts, 0 over 1023-byte pkts
0 Multicasts, 0 Broadcasts, 0 Unicasts
0 runts, 0 giants, 0 throttles
0 CRC, 0 overrun, 0 discarded
Output statistics:
0 packets, 0 octets
660
Layer 3