Canoga-perkins 9175 Configuration Guide Instrukcja Użytkownika Strona 30

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 280
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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.
Przeglądanie stron 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 279 280

Komentarze do niniejszej Instrukcji

Brak uwag