Displaying Protocol-Based Vlan Configuration - H3C S7500 Series Operation Manual

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – VLAN
H3C S7500 Series Ethernet Switches

2.3.4 Displaying Protocol-Based VLAN Configuration

Display the information about
the protocol-based VLAN
Display the protocol
information and protocol
indexes configured on the
specified VLAN(s)
Display the protocol
information and protocol
indexes configured on the
specified port(s)
Display protocol-based VLAN
information on specified
card(s)
2.3.5 Protocol-Based VLAN Configuration Example
I. Standard-template-protocol-based VLAN configuration example
1)
Network requirements
Create VLAN 5 and configure it to be a protocol-based VLAN, with the
protocol-index being 1 and the protocol being IP.
Associate Ethernet 2/0/5 port with the protocol-based VLAN to enable IP packets
received by this port to be tagged with the tag of VLAN 5 and be transmitted in
VLAN 5.
2)
Configuration procedure
# Create VLAN 5 and enter its view.
<H3C> system-view
[H3C] vlan 5
[H3C-vlan5]
# Configure the protocol-index to be 1, and the associated protocol to be IP.
[H3C-vlan5] protocol-vlan 1 ip
# Enter Ethernet 2/0/5 port view.
[H3C-vlan5] interface Ethernet 2/0/5
# Configure the port to be a Hybrid port.
[H3C-Ethernet2/0/5] port link-type hybrid
# Add the port to VLAN 5 and add VLAN 5 to the untagged VLAN list of the port.
[H3C-Ethernet2/0/5] port hybrid vlan 5 untagged
To do...
Use the command...
display vlan [ vlan-id [ to vlan-id ] |
all | static | dynamic ]
display protocol-vlan vlan
{ vlan-id [ to vlan-id ] | all }
display protocol-vlan interface
{ interface-type interface-number
[ to interface-type
interface-number ] | all }
display protocol-vlan slot
{ slot-number [ to slot-number ] | all }
2-10
Chapter 2 VLAN Configuration
Remarks
Available in
any view

Advertisement

Table of Contents
loading

Table of Contents