Configuring A Port Group - H3C S5100-SI Operation Manual

Ethernet switches
Hide thumbs Also See for H3C S5100-SI:
Table of Contents

Advertisement

To do...
Enter system view
Enter Ethernet port view
Disable a port from generating
UP/Down log
Configuration examples
# In the default conditions, where UP/DOWN log output is enabled, execute the shutdown command or
the undo shutdown command on GigabitEthernet 1/0/1. The Up/Down log information for
GigabitEthernet 1/0/1 is generated and displayed on the terminal.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface GigabitEthernet 1/0/1
[Sysname-GigabitEthernet1/0/1] shutdown
%Apr
5 07:25:37:634 2000 Sysname L2INF/5/PORT LINK STATUS CHANGE:- 1 -
GigabitEthernet1/0/1 is DOWN
[Sysname-GigabitEthernet1/0/1] undo shutdown
%Apr
5 07:25:56:244 2000 Sysname L2INF/5/PORT LINK STATUS CHANGE:- 1 -
GigabitEthernet1/0/1 is UP
# Disable GigabitEthernet 1/0/1 from generating Up/Down log information and execute the shutdown
command or the undo shutdown command on GigabitEthernet 1/0/1. No Up/Down log information is
generated or output for GigabitEthernet 1/0/1.
[Sysname-GigabitEthernet1/0/1] undo enable log updown
[Sysname-GigabitEthernet1/0/1] shutdown
[Sysname-GigabitEthernet1/0/1] undo shutdown

Configuring a Port Group

To make the configuration task easier for users, certain devices allow users to configure on a single port
as well as on multiple ports in a port group. In port group view, the user only needs to input the
configuration command once on one port and that configuration will apply to all ports in the port group.
This effectively reduces redundant configurations.
A Port group could be manually created by users. Multiple Ethernet ports can be added to the same port
group but one Ethernet port can only be added to one port group.
Table 1-2 Configuring a Port Group
Operation
Enter system view
Create a port group or enter the
specified port group view
Add an Ethernet port to a
specified port group
Use the command...
system-view
interface interface-type
interface-number
undo enable log updown
Command
system-view
port-group group-id
port interface-list
1-8
Remarks
Required
By default, UP/Down log output
is enabled.
Remarks
Required
Required

Advertisement

Table of Contents
loading

This manual is also suitable for:

H3c s5100-ei

Table of Contents