Ethernet Port Configuration Example; Troubleshooting Ethernet Port Configuration - H3C S7500 Series Operation Manual

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – Port Basic Configuration
H3C S7500 Series Ethernet Switches

1.2 Ethernet Port Configuration Example

I. Network requirements
Switch A and Switch B are connected to each other through two trunk ports
(Ethernet 2/0/1).
Configure the default VLAN ID of both Ethernet 2/0/1 to 100.
Allow the packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass
both Ethernet 2/0/1.
II. Network diagram
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 Ethernet 2/0/1.
<H3C> system-view
System View: return to User View with Ctrl+Z.
[H3C] interface ethernet2/0/1
# Set Ethernet 2/0/1 as a trunk port.
[H3C-Ethernet2/0/1] port link-type trunk
# Allow packets of VLAN 2, VLAN 6 through VLAN 50 and VLAN 100 to pass Ethernet
2/0/1.
[H3C-Ethernet2/0/1] port trunk permit vlan 2 6 to 50 100
# Configure the default VLAN ID of Ethernet 2/0/1 to 100.
[H3C-Ethernet2/0/1] port trunk pvid vlan 100

1.3 Troubleshooting Ethernet Port Configuration

Symptom: Fail to configure the default VLAN ID of a port.
Eth2/0/1
Eth2/0/1
Switch B
Chapter 1 Port Basic Configuration
1-8

Advertisement

Table of Contents
loading

Table of Contents