H3c-technologies H3C SecBlade NetStream Cards Manual de usuario Pagina 107

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 349
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 106
92
Assigning a hybrid port to a VLAN
A hybrid port can carry multiple VLANs. You can assign it to a VLAN in Layer 2 Ethernet interface view
only.
Follow these steps to assign a hybrid port to one or multiple VLANs:
To do… Use the command…
Remarks
Enter system view system-view
Enter Layer 2 Ethernet interface
view
interface interface-type
interface-number
Configure the link type of the
port(s) as hybrid
port link-type hybrid Required
Assign the hybrid port(s) to the
specified VLAN(s)
port hybrid vlan vlan-id-list
{ tagged | untagged }
Required
By default, a hybrid port allows
only packets of VLAN 1 to pass
through untagged.
Configure the default VLAN of the
hybrid port
port hybrid pvid vlan vlan-id
Optional
By default, VLAN 1 is the default
VLAN.
NOTE:
To chan
g
e the link type of a port from trunk to hybrid or vice versa, you must set the link type to access
first.
Before assigning a hybrid port to a VLAN, create the VLAN first.
After configuring the default VLAN for a hybrid port, you must use the port hybrid vlan command to
confi
g
ure the hybrid port to allow packets from the default VLAN to pass throu
g
h, so that the e
g
ress por
t
can forward packets from the default VLAN.
Port-based VLAN configuration example
Network requirements
As shown in Figure 31:
Host A and Host C belong to Department A, and access the enterprise network through different
devices. Host B and Host D belong to Department B. They also access the enterprise network
through different devices.
To ensure communication security and avoid broadcast storms, VLANs are configured in the
enterprise network to isolate Layer 2 traffic of different departments. VLAN 100 is assigned to
Department A, and VLAN 200 is assigned to Department B.
Make sure that hosts within the same VLAN can communicate with each other. Host A can
communicate with Host C, and Host B can communicate with Host D.
Vista de pagina 106
1 2 ... 102 103 104 105 106 107 108 109 110 111 112 ... 348 349

Comentarios a estos manuales

Sin comentarios