Operation Manual - Link Layer Protocol
H3C SecPath F1800-A Firewall
Chapter 1 VLAN Configuration
4-9
#
Set the encapsulation type of Ethernet 3/0/0.2 and the related VLAN ID.
[SecPath-Ethernet3/0/0.2]
vlan-type dot1q 20
# Create an Ethernet sub-interface Ethernet 4/0/0.1 and enter its view.
[
SecPath
]
interface ethernet 4/0/0.1
# Assign the IP address to Ethernet 4/0/0.1.
[SecPath-Ethernet4/0/0.1]
ip address 3.0.0.1 255.0.0.0
# Set the encapsulation of Ethernet 4/0/0.1 and the related VLAN ID.
[SecPath-Ethernet4/0/0.1]
vlan-type dot1q 10
# Create an Ethernet sub-interface Ethernet 4/0/0.2 and enter its view.
[
SecPath
]
interface ethernet 4/0/0.2
# Assign the IP address to Ethernet 4/0/0.2.
[
SecPath
-Ethernet4/0/0.2]
ip address 4.0.0.1 255.0.0.0
# Set the encapsulation of Ethernet 4/0/0.2 and the related VLAN ID.
[SecPath-Ethernet4/0/0.2]
vlan-type dot1q 20