OS10 Enterprise Edition User Guide Release 10.4.0E(R3)

PDF

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 VLAN—VLAN 1.

  1. Enter the interface type information to assign an IP address in CONFIGURATION mode.
    interface 
                                           interface
                                        
    • ethernet—Physical interface
    • port-channel—Port-channel ID number
    • vlan—VLAN ID number
    • loopback—Loopback interface ID
    • mgmt—Management 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 mask —Enter the IP address in dotted decimal format—A.B.C.D. and mask in slash prefix-length format (/24).
    • secondary—Enter 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-PLUS type is QSFP_40GBASE_CR4_1M
                                 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
                                 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 throttles, 0 discarded, 0 Collisions, 0 wreddrops
                                 Rate Info(interval 299 seconds):
                                 Input 0 Mbits/sec, 0 packets/sec, 0% of line rate
                                 Output 0 Mbits/sec, 0 packets/sec, 0% of line rate
                                 Time since last interface status change: 3 weeks 1 day 20:54:37
                                 
                              

Rate this content

Accurate
Useful
Easy to understand
Was this article helpful?
0/3000 characters
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please provide ratings (1-5 stars).
  Please select whether the article was helpful or not.
  Comments cannot contain these special characters: <>()\