Allied-telesis AT-S95 CLI Manuel d'utilisateur Page 300

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 348
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 299
Page 288
Not approved by Document Control. For review only.
Allied Telesis
Command Line Interface User’s Guide
Example
This example configures ethernet port 1/g8 as a protected port, so that all traffic is sent to its uplink (ethernet port
1/g9).
switchport mode
The switchport mode Interface Configuration mode command configures the VLAN membership mode of a port.
Use the no form of this command to return to the default configuration.
Syntax
switchport mode {access | trunk | general}
no switchport mode
Parameters
access — Indicates an untagged layer 2 VLAN port.
trunk — Indicates a trunking layer 2 VLAN port.
general — Indicates a full 802-1q supported VLAN port.
Default Configuration
All ports are in access mode, and belong to the default VLAN (whose VID=1).
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
There are no user guidelines.
Example
The following example configures Ethernet port 1/g16 as an untagged layer 2 VLAN port.
Console(config)#
interface ethernet 1/g8
Console(config-if)#
switchport forbidden vlan add 234-256
Console(config-if)#
exit
Console(config)#
interface ethernet 1/g9
Console(config-if)#
switchport protected ethernet 1/g1
Console(config)# interface ethernet 1/g16
Console(config-if)# switchport mode
access
Vue de la page 299
1 2 ... 295 296 297 298 299 300 301 302 303 304 305 ... 347 348

Commentaires sur ces manuels

Pas de commentaire