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

  • 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 61
7-7
Configuring an Access-Port-Based VLAN
There are two ways to configure Access-port-based VLAN: one way is to configure in VLAN view, the
other way is to configure in Ethernet port view/port group view.
Follow these steps to configure the Access-port-based VLAN in VLAN view:
To do… Use the command… Remarks
Enter system view
system-view
Enter VLAN view
vlan
vlan-id
Required
If the specified VLAN does not exist, this
command be created first creates the VLAN
before entering its view.
Add an Access port to the
current VLAN
port
interface-list
Required
By default, system will add all ports to VLAN 1.
Follow these steps to configure the Access-port-based VLAN in Ethernet port view/port group view:
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
Access
port link-type
access
Optional
The link type of a port is Access by default.
Add the current Access port to a
specified VLAN
port access vlan
vlan-id
Optional
By default, all Access ports belong to VLAN 1.
To add an Access port to a VLAN, make sure the VLAN already exists.
Configuring a Trunk-Port-Based VLAN
A Trunk port may belong to multiple VLANs, and you can only perform this configuration in Ethernet port
view or port group view.
Zobrazit stránku 61
1 2 ... 57 58 59 60 61 62 63 64 65 66 67 ... 677 678

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

Žádné komentáře