Reference Guide

Table Of Contents
Command Mode EXEC
Usage
Information
None
Example
OS10# show hash-algorithm
EcmpAlgo - crc LabAlgo - crc
Supported
Releases
10.3.0E or later
IPv4 routing
OS10 supports IPv4 addressing including variable-length subnetting mask (VLSM), Address Resolution Protocol (ARP), static
routing, and routing protocols. With VLSM, you can configure one network with different masks. You can also use supernetting,
which increases the number of subnets. You can add a mask to the IP address to separate the network and host portions of the
IP address to add a subnet.
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
Layer 3
339