H3c-technologies H3C WX6000 Series Access Controllers Uživatelský manuál Strana 63

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 678
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 62
7-8
Follow these steps to configure the Trunk-port-based VLAN:
To do… Use the command… Remarks
Enter system view
system-view
Enter Ethernet
port view
interface
interface-type
interface-number
Enter Ethernet
port view or
port group view
Enter port
group view
port-group
{
manual
port-group-name |
aggregation
agg-id
}
Use either command
In Ethernet port view, the subsequent
configurations only apply to the current
port; in port group view, the subsequent
configurations apply to all ports in the
port group.
Configure the port link type as
Trunk
port link-type
trunk
Required
Allow the specified VLANs to
pass through the current Trunk
port
port trunk permit vlan
{ vlan-id-list |
all
}
Required
By default, all Trunk ports only allow
packets of VLAN 1 to pass.
Configure the default VLAN for
the Trunk port
port trunk pvid vlan
vlan-id
Optional
VLAN 1 is the default by default.
z To convert a Trunk port into a Hybrid port (or vice versa), you need to use the Access port as a
medium. For example, the Trunk port has to be configured as an Access port first and then a Hybrid
port.
z The default VLAN IDs of the Trunk ports on the local and peer devices must be the same.
Otherwise, packets cannot be transmitted properly.
Configuring a Hybrid-Port-Based VLAN
A Hybrid port may belong to multiple VLANs, and this configuration can only be performed in Ethernet
port view or port group view.
Follow these steps to configure the Hybrid-port-based VLAN:
Zobrazit stránku 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 677 678

Komentáře k této Příručce

Žádné komentáře