R3166-R3206-HP High-End Firewalls Network Management Configuration Guide-6PW101
99
Displaying and maintaining inter-VLAN Layer 2 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 the interface/subinterface
statistics
reset counters interface
[ interface-type [ interface-number
| interface-number.subnumber ] ]
Available in user view
Display VLAN information
display vlan [ vlan-id1 [ to
vlan-id2 ] | all | dynamic |
interface interface-type
interface-number.subnumber |
reserved | static ]
Available in any view
Inter-VLAN Layer 2 forwarding configuration
example
Network requirements
As shown in Figure 44, traffic between GigabitEthernet 3/0/1 and GigabitEthernet 3/0/2 is filtered by
a firewall card, and inter-VLAN Layer 2 forwarding needs to be configured.
• Configure the operating mode of GigabitEthernet 3/0/1 and GigabitEthernet 3/0/2 of the switch
as access. Assign them to VLAN 102 and VLAN 103 respectively.
• Ten-GigabitEthernet 2/0/1 of the switch connects to Ten-GigabitEthernet 0/0 of the firewall card.
Configure the operating mode of the two interfaces as Layer 2 and the link type as trunk.
• Create two subinterfaces Ten-GigabitEthernet 0/0.102 and Ten-GigabitEthernet 0/0.103 for
Ten-GigabitEthernet 0/0. Configure their operating mode as Layer 2 and the link type as access.
Assign them to VLAN 1000.
Figure 44 Network diagram for inter-VLAN Layer 2 forwarding