H3c-technologies H3C WX5500E Series Access Controllers Uživatelský manuál Strana 124

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 221
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 123
113
Ste
p
Command
Remarks
7. Cancel the action of
manually shutting down the
VLAN interface.
undo shutdown
Optional.
By default, a VLAN interface is not
manually shut down. The VLAN interface
is up if one or more ports in the VLAN is
up, and goes down if all ports in the
VLAN go down.
Configuration example
Network requirements
As shown in Figure 35, PC A is assigned to VLAN 5. PC B is assigned to VLAN 10. The PCs belong to
different IP subnets and cannot communicate with each other.
Configure VLAN interfaces on Switch A and configure the PC A and PC B to enable Layer 3
communication between them.
Figure 35 Network diagram
Configuration procedure
1. Configure Switch A:
# Create VLAN 5 and assign GigabitEthernet 1/0/1 to it.
<SwitchA> system-view
[SwitchA] vlan 5
[SwitchA-vlan5] port GigabitEthernet 1/0/1
# Create VLAN 10 and assign GigabitEthernet 1/0/2 to it.
[SwitchA-vlan5] vlan 10
[SwitchA-vlan10] port GigabitEthernet 1/0/2
[SwitchA-vlan10] quit
# Create VLAN-interface 5 and configure its IP address as 192.168.0.10/24.
[SwitchA] interface vlan-interface 5
[SwitchA-Vlan-interface5] ip address 192.168.0.10 24
[SwitchA-Vlan-interface5] quit
# Create VLAN-interface 10 and configure its IP address as 192.168.1.20/24.
[SwitchA] interface vlan-interface 10
[SwitchA-Vlan-interface10] ip address 192.168.1.20 24
Zobrazit stránku 123
1 2 ... 119 120 121 122 123 124 125 126 127 128 129 ... 220 221

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

Žádné komentáře