
Operation Manual - Link Layer Protocol
H3C SecPath F1800-A Firewall
Chapter 1 VLAN Configuration
4-5
1.2.1 Creating an Ethernet Sub-interface
Do as follows in system view.
Table 1-1
Creating an Ethernet sub-interface
Action
Command
Create an Ethernet sub-interface.
interface
{
ethernet
|
gigabitethernet
}
interface-number.subnumber
Remove an Ethernet sub-interface.
undo interface
{
ethernet
|
gigabitethernet
}
interface-number.subnumber
1.2.2 Creating a VLAN and Entering VLAN View
Do as follows in system view.
Table 1-2
Creating a VLAN and entering VLAN view
Action
Command
Create a VLAN and enter VLAN view.
vlan
vlan-id
Delete a VLAN.
undo vlan
vlan-id
1.2.3 Entering VLAN Interface View When a VLAN Is Created
Do as follows in system view.
Table 1-3
Entering VLAN interface view when a VLAN is created
Action
Command
Enter VLAN interface view when a VLAN is created.
interface
vlanif
vlan-id
1.2.4 Adding a Port
Do as follows in VLAN view.
Table 1-4
Adding or deleting an interface
Action
Command
Add an interface to a VLAN.
port interface
interface-type interface-number
Delete an interface from a
VLAN.
undo port interface
interface-type
interface-number