How to configure a port group on a CE series switch

3

The procedure for configuring a port group on a CE series switch is described on the right.

Other related questions:
How to configure a port group on a CE series switch
The procedure for configuring a port group on a CE series switch is described on the right.

How can I configure the SNMPv3 user group and user name on a CE switch
Only SNMPv3 supports user group and user name configuration. By default, a CE switch has SNMPv3 enabled. The user's security level must be higher than or equal to the security level of the user group. A security level can be (in descending order): 1. privacy: authentication and encryption 2. authentication: authentication without encryption 3. none: no authentication or encryption If the user group is at the privacy level, the user must be at the privacy level. If the user group is at the authentication level, the user must be at the privacy or authentication level. # Configure the user group group001, set the security level to privacy, and configure access control to restrict the access of NMS to the switch. system-view [~HUAWEI] snmp-agent group v3 group001 privacy write-view alliso acl 2001 [*HUAWEI] commit # Set the user name to user001, authentication password to Authe@1234, and encryption password to Priva@1234. system-view [~HUAWEI] snmp-agent usm-user v3 user001 group group001 [*HUAWEI] snmp-agent usm-user v3 user001 authentication-mode sha Please configure the authentication password (8-255) Enter Password: //Enter the authentication password. Confirm Password: //Confirm the authentication password. [*HUAWEI] snmp-agent usm-user v3 user001 privacy-mode aes256 Please configure the privacy password (8-255) Enter Password: //Enter the encryption password. Confirm Password: //Confirm the encryption password. [*HUAWEI] commit

How can I configure an edge port on a CE switch
When a port connected to a terminal is configured as an edge port on a Layer 2 network running a spanning tree protocol, the port no longer participates in the spanning tree calculation. This speeds up network topology convergence and enhances network stability.

# Run the stp edged-port enable command in the interface view to configure 10GE1/0/1 as the edge port.
system-view
[~HUAWEI] interface 10ge 1/0/1
[~HUAWEI-10GE1/0/1] stp edged-port enable
[*HUAWEI-10GE1/0/1] commit

How can I configure port mirroring on a CE switch
Perform the following operations to configure port mirroring:

  1. Run the system-view command to enter the system view.
  2. Run the observe-port [ observe-port-index ] interface interface-type interface-number command to configure a local observing port.
    To configure multiple local observing ports, run this command multiple times.
  3. Run the interface interface-type interface-number command to enter the interface view.
  4. Run the port-mirroring observe-port observe-port-index { both inbound outbound } command to copy traffic to a specified observing port.
    To copy traffic to multiple observing ports, run this command multiple times.
  5. Run the commit command to commit the configuration.


Configuring 1:1 Port Mirroring
You can copy packets on a mirrored port to an observing port. For example, copy incoming packets on mirrored port 10GE1/0/1 to observing port 10GE1/0/2.

<HUAWEI> system-view
[~HUAWEI] observe-port 1 interface 10ge 1/0/2
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] port-mirroring observe-port 1 inbound
[*HUAWEI-10GE1/0/1] commit

Configuring 1:N Port Mirroring
You can copy packets on one mirrored port to N observing ports. For example, copy incoming packets on mirrored port 10GE1/0/1 to observing ports 10GE1/0/2 and 10GE1/0/3.

<HUAWEI> system-view
[~HUAWEI] observe-port 1 interface 10ge 1/0/2
[*HUAWEI] observe-port 2 interface 10ge 1/0/3
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] port-mirroring observe-port 1 inbound
[*HUAWEI-10GE1/0/1] port-mirroring observe-port 2 inbound
[*HUAWEI-10GE1/0/1] commit

Configuring N:1 Port Mirroring
You can copy packets on N mirrored ports to one observing port. For example, copy incoming packets on mirrored ports 10GE1/0/1 and 10GE1/0/2 to observing port 10GE1/0/3.

<HUAWEI> system-view
[~HUAWEI] observe-port 1 interface 10ge 1/0/3
[*HUAWEI] interface 10ge 1/0/1
[*HUAWEI-10GE1/0/1] port-mirroring observe-port 1 inbound
[*HUAWEI-10GE1/0/1] quit
[*HUAWEI] interface 10ge 1/0/2
[*HUAWEI-10GE1/0/2] port-mirroring observe-port 1 inbound
[*HUAWEI-10GE1/0/2] commit

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top