Operation Manual - Link Layer Protocol
H3C SecPath F1800-A Firewall
Chapter 1 VLAN Configuration
4-8
II. Networking Diagram
port1
non-trunk port
port3
trunk port
eth3/0/0.2
2.0.0.1/8
VLAN 20
port2
non-trunk port
port4
A
VLAN10
B
VLAN 20
2.2.2.2/8
1.1.1.1/8
4.4.4.4/8
VLAN 20
D
C
VLAN10
3.3.3.3/8
eth3/0/0.1
1.0.0.1/8
VLAN 10
trunk port
eth 4/0/0.1
3.0.0.1/8
VLAN 10
eth 4/0/0.2
4.0.0.1/8
VLAN 20
Internet
LAN Sw itch
LAN Sw itch
SecPath
Figure 1-2
VLAN networking diagram of L3 switching mode
III. Configuration Procedure
The SecPath F1800-A is configured as follows:
# Create an Ethernet sub-interface Ethernet 3/0/0.1 and enter its view.
<SecPath>
system-view
[SecPath]
interface ethernet 3/0/0.1
#
Assign the IP address to Ethernet 3/0/0.1.
[SecPath-
Ethernet3
/0/0.1]
ip address 1.0.0.1 255.0.0.0
#
Set the encapsulation type of Ethernet 3/0/0.1 and the related VLAN ID.
[SecPath-
Ethernet3
/0/0.1]
vlan-type dot1q 10
Note:
The encapsulation type of the Ethernet sub-interface must be the same as that of the
switch port.
After the encapsulation type is set for the Ethernet sub-interface, the sub-interface is
allowed for trunk.
# Create an Ethernet sub-interface Ethernet 3/0/0.2 and enter its view.
[
SecPath
]
interface ethernet 3/0/0.2
[
SecPath
-Ethernet3/0/0.2]
ip address 2.0.0.1 255.0.0.0