Canoga-perkins 9175 Configuration Guide Uživatelský manuál Strana 30

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 280
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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.
Zobrazit stránku 29
1 2 ... 25 26 27 28 29 30 31 32 33 34 35 ... 279 280

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

Žádné komentáře