Canoga-perkins 9175 Configuration Guide Manual do Utilizador Página 30

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 280
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 29
CanogaOS Configuration Guide
5-4
DUT#configure terminal Enter the Configure mode.
DUT(config-vlan)#vlan 10,20 Create VLAN 10,20
DUT(config-vlan)#exit Exit VLAN database mode.
DUT(config)#interface eth-0-1 Enter the interface mode.
DUT(config-if)#switchport mode trunk Set the switching characteristics of this interface trunk
mode.
DUT(config-if)#switchport trunk allowed vlan all Set this trunk allow all VLANs on this interface.
DUT(config-if)#switchport trunk native vlan 10 Set this trunk port’s PVID to 10.
DUT(config)#interface eth-0-2 Enter the interface mode.
DUT(config-if)#switchport mode access Set the switching characteristics of this interface access
mode.
DUT(config-if)#switchport access vlan 10 Enable VLAN port access by specifying the VLAN ID 2
on this interface.
DUT(config-if)#end Exit to exec mode.
DUT#show vlan brief Display vlan’s configurations.
DUT#show interface switchport Display interface’s switch configurations.
Bridge 2
DUT#configure terminal Enter the Configure mode.
DUT(config)#vlan database Enter the VLAN database mode.
DUT(config-vlan)#vlan 10,20 Create VLAN 10,20
DUT(config-vlan)#exit Exit VLAN database mode.
DUT(config)#interface eth-0-1 Enter the interface mode.
DUT(config-if)#switchport mode trunk Set the switching characteristics of this interface trunk
mode.
DUT(config-if)#switchport trunk allowed vlan all Set this trunk port allow all VLANs on this interface.
DUT(config-if)#switchport trunk native vlan 10 Set this trunk port’s PVID to 10.
DUT(config)#interface eth-0-2 Enter the interface mode.
DUT(config-if)#switchport mode access Set the switching characteristics of this interface access
mode.
DUT(config-if)#switchport access vlan 10 Enable VLAN port access by specifying the VLAN ID 2
on this interface.
DUT(config-if)#end Exit to exec mode.
DUT#show vlan brief Display vlan’s configurations.
DUT#show interface switchport Display interface’s switch configurations.
Vista de página 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 279 280

Comentários a estes Manuais

Sem comentários