Ethernet Port Configuration Example - H3C S3600-28P-SI Operation Manual

Port basic configuration
Hide thumbs Also See for S3600-28P-SI:
Table of Contents

Advertisement

Operation Manual – Port Basic Configuration
H3C S3600 Series Ethernet Switches-Release 1510

1.3 Ethernet Port Configuration Example

I. Network requirements
Switch A and Switch B are connected to each other through two trunk port
(Ethernet1/0/1).
Configure the default VLAN ID of both Ethernet1/0/1 to 100.
Allow the packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass
both Ethernet1/0/1.
II. Network diagram
Switch A
Switch A
Figure 1-1 Network diagram for Ethernet port configuration
III. Configuration procedure
Note:
Only the configuration for Switch A is listed below. The configuration for Switch B is
similar to that of Switch A.
This example supposes that VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 have
been created.
# Enter Ethernet port view of Ethernet1/0/1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface ethernet1/0/1
# Set Ethernet1/0/1 as a trunk port.
[H3C-Ethernet1/0/1] port link-type trunk
# Allow packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass
Ethernet1/0/1.
[H3C-Ethernet1/0/1] port trunk permit vlan 2 6 to 50 100
# Configure the default VLAN ID of Ethernet1/0/1 to 100.
[H3C-Ethernet1/0/1] port trunk pvid vlan 100
E1/0/1
E1/0/1
E1/0/1
E1/0/1
1-13
Chapter 1 Port Basic Configuration
Switch B
Switch B

Advertisement

Table of Contents
loading

Table of Contents