H3C Technologies H3C SecPath F1000-E User Manual
Page 291

266
To do…
Use the command
Remarks
Configure the operating mode of
the interface as Layer 3
port link-mode route
Optional
The default operating mode is
Layer 3.
Create a subinterface of the
ten-GigabitEthernet interface and
enter subinterface view
interface ten-gigabitEthernet
interface-number.subnumber
Required
Set the encapsulation type and
associate the subinterface with a
VLAN
vlan-type dot1q vid vid
Required
The subinterface receives packets
with the vid.
Assign an IP address to the
subinterface
ip address ip-address { mask |
mask-length } [ sub ]
Required
By default, no IP address is
configured for the subinterface.
Add the subinterface to a security
zone
Enter the Web page and select
System > Zone. On the modify
zone page, add the subinterface to
the zone.
Required
This security zone is for incoming
packets.
Create another subinterface and
enter subinterface view
interface ten-gigabitEthernet
interface-number.subnumber
Required
Set the encapsulation type and
associate the subinterface with a
VLAN
vlan-type dot1q vid vid
Optional
The subinterface receives packets
with the vid.
Assign an IP address to the
subinterface
ip address ip-address { mask |
mask-length } [ sub ]
Required
By default, no IP address is
configured for the subinterface.
Add the subinterface to a security
zone
Enter the Web page and select
System > Zone. On the modify
zone page, add the subinterface to
the zone.
Required
This security zone is for outgoing
packets.
Displaying and maintaining Layer 3 subinterface forwarding
To do…
Use the Command
Remarks
Display brief interface information
display brief interface
[ interface-type [ interface-number
| interface-number.subnumber ] ]
[ | { begin | include | exclude }
text ]
Available in any view
Display interface/subinterface
state and related information
display interface [ interface-type
[interface-number |
interface-number.subnumber ] ]
Available in any view
Clear interface/subinterface
statistics
reset counters interface
[ interface-type [ interface-number
| interface-number.subnumber ] ]
Available in user view
- H3C SecPath F5000-A5 Firewall H3C SecPath F1000-A-EI H3C SecPath F1000-E-SI H3C SecPath F1000-S-AI H3C SecPath F5000-S Firewall H3C SecPath F5000-C Firewall H3C SecPath F100-C-SI H3C SecPath F1000-C-SI H3C SecPath F100-A-SI H3C SecBlade FW Cards H3C SecBlade FW Enhanced Cards H3C SecPath U200-A U200-M U200-S H3C SecPath U200-CA U200-CM U200-CS H3C SecBlade LB Cards H3C SecPath L1000-A Load Balancer