OS10 Enterprise Edition User Guide Release 10.4.0E(R3)


L3 mode configuration

Ethernet and port-channel interfaces are in L2 access mode by default. When you disbale L2 mode and then assign an IP address to an Ethernet port interface, you place the port in L3 mode.

Configure one primary IP address in L3 mode. You can configure up to 255 secondary IP addresses on an interface. At least one interface in the system must be in L3 mode before you configure or enter a L3 protocol mode, such as OSPF.

  1. Remove a port from L2 switching in INTERFACE mode.
    no switchport
  2. Configure L3 routing in INTERFACE mode. Add the keyword secondary to configure backup IP addresses.
    ip address 
                                           address [secondary]
  3. Enable the interface for L3 traffic transmission in INTERFACE mode.
    no shutdown
L3 interface configuration
OS10(config)# interface ethernet 1/1/9
                                    OS10(conf-if-eth1/1/9)# no switchport
                                    OS10(conf-if-eth1/1/9)# ip address
                                    OS10(conf-if-eth1/1/9)# no shutdown
View L3 configuration error
OS10(config)# interface ethernet 1/1/1
                                    OS10(conf-if-eth1/1/1)# ip address
                                    % Error: remove Layer 2 configuration before assigning an IP

Rate this content

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: <>()\