beautypg.com

4 adding an ethernet port to specified vlans, 2 ethernet port configuration, 1 initially configuring a port – H3C Technologies H3C S3100 Series Switches User Manual

Page 125: 4 adding an ethernet port to specified vlans -3, 2 ethernet port configuration -3, 1 initially configuring a port -3

background image

Operation Manual – Port Basic Configuration

H3C S3100-52P Ethernet Switch

Chapter 1 Port Basic Configuration

1-3

Caution:

You are recommended to set the default VLAN ID of the local hybrid or trunk ports to
the same value as that of the hybrid or trunk ports on the peer switch. Otherwise,
packet forwarding may fail on the ports.

1.1.4 Adding an Ethernet Port to Specified VLANs

You can add the specified Ethernet port to a specified VLAN. After that, the Ethernet
port can forward the packets of the specified VLAN, so that the VLAN on this switch can
intercommunicate with the same VLAN on the peer switch.
An access port can only be added to one VLAN, while hybrid and trunk ports can be
added to multiple VLANs.

Note:

The access ports or hybrid ports must be added to an existing VLAN.

1.2 Ethernet Port Configuration

1.2.1 Initially Configuring a Port

Table 1-3

Initially configure a port

Operation

Command

Remarks

Enter system view

system-view

Enter Ethernet port

view

interface interface-type
interface-number

Enable the Ethernet

port

undo shutdown

Optional
By default, the port is

enabled.
Use the shutdown

command to disable the port.

Set the description of

the Ethernet port

description

text

Optional
By default, no description is

defined for the port.