No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Configuration Guide - Interface Management

S9300, S9300E, and S9300X V200R013C00

This document describes the interface management configuration, including basic interface configuration, Ethernet interface configuration, and logical interface configuration.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Example for Switching an Interface to Layer 3 Mode

Example for Switching an Interface to Layer 3 Mode

Networking Requirements

As shown in Figure 2-13, PC1, PC2, PC3, and PC4 are on four network segments, and SwitchB, SwitchC, SwitchD, and SwitchE are access switches for these four network segments, respectively. It is required that four physical Ethernet interfaces on SwitchA be configured as gateway interfaces for these four network segments.

Figure 2-13  Networking diagram for configuring the rate and duplex mode in non-auto-negotiation mode

Configuration Roadmap

The configuration roadmap is as follows:

  • Switch interfaces to Layer 3 mode.

  • Configure IP addresses of Layer 3 Ethernet interfaces as gateway addresses.

Procedure

  1. Switch interfaces to Layer 3 mode.

    # Switch an interface to Layer 3 mode.

    <Quidway> system-view
    [Quidway] sysname SwitchA
    [SwitchA] interface gigabitethernet 1/0/1
    [SwitchA-GigabitEthernet1/0/1] undo portswitch
    [SwitchA-GigabitEthernet1/0/1] quit
    

    # Switch Ethernet interfaces to Layer 3 mode in a batch.

    [SwitchA] undo portswitch batch gigabitethernet 1/0/2 to 1/0/4
    

  2. Configure IP addresses of Layer 3 Ethernet interfaces as gateway addresses.

    # Configure the IP address of GE1/0/1 as a gateway address. The configurations of GE1/0/2, GE1/0/3, and GE1/0/4 are similar to the configuration of GE1/0/1, and are not mentioned here. For details, see the configuration files.

    [SwitchA] interface gigabitethernet 1/0/1
    [SwitchA-GigabitEthernet1/0/1] ip address 10.10.1.1 24
    [SwitchA-GigabitEthernet1/0/1] quit

  3. Verify the configuration.

    Run the display interface GigabitEthernet 1/0/1 command in any view to check the interface working mode.

    [SwitchA] display interface GigabitEthernet 1/0/1
    ...
    Description:                                                                    
    Route Port,The Maximum Frame Length is 9216                                     
    Internet protocol processing : disabled                                         
    ...

    The command output shows that the interface works in Layer 3 mode.

Configuration File

Configuration file of the Switch

#
sysname SwitchA
#
interface GigabitEthernet1/0/1
 undo portswitch     
 ip address 10.10.1.1 255.255.255.0
#
interface GigabitEthernet1/0/2
 undo portswitch     
 ip address 10.10.2.1 255.255.255.0
#
interface GigabitEthernet1/0/3
 undo portswitch     
 ip address 10.10.3.1 255.255.255.0
#
interface GigabitEthernet1/0/4
 undo portswitch     
 ip address 10.10.4.1 255.255.255.0
#
return
Translation
Download
Updated: 2019-04-09

Document ID: EDOC1100065861

Views: 6793

Downloads: 12

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next