F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101

87
Ste
p
Command
Remarks
2. Enter the view of the
ten-GigabitEthernet interface
that connects to the switch.
interface Ten-GigabitEthernet
interface-number
N/A
3. Configure the operating
mode of the interface as Layer
3.
port link-mode route
Optional.
The default operating mode is
Layer 3.
4. Create a subinterface of the
ten-GigabitEthernet interface
and enter subinterface view.
interface Ten-GigabitEthernet
interface-number.subnumber
N/A
5. Set the encapsulation type
and associate the
subinterface with a VLAN.
vlan-type dot1q vid vid
The subinterface receives packets
with the vid.
6. Assign an IP address to the
subinterface.
ip address ip-address { mask |
mask-length } [ sub ]
By default, no IP address is
configured for the subinterface.
7. Create another subinterface
and enter subinterface view.
interface Ten-GigabitEthernet
interface-number.subnumber
N/A
8. Set the encapsulation type
and associate the
subinterface with a VLAN.
vlan-type dot1q vid vid
Optional.
The subinterface receives packets
with the vid.
9. Assign an IP address to the
subinterface.
ip address ip-address { mask |
mask-length } [ sub ]
By default, no IP address is
configured for the subinterface.
Displaying and maintaining Layer 3 subinterface forwarding
Task 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.
Configuring inter-VLAN Layer 3 forwarding
NOTE:
For more information about inter-VLAN forwarding configuration commands, see
Network Mana
g
emen
t
Command Reference
.
Configuration prerequisites
The ingress interface and egress interface on the switch belong to different VLANs.