H3c-technologies H3C SecBlade NetStream Cards Manual de usuario Pagina 103

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 349
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 102
88
[SecBlade-vlan5] port gigabitethernet 0/2
# Create VLAN 10 and assign GigabitEthernet 0/3 to it.
[SecBlade-vlan5] vlan 10
[SecBlade-vlan10] port gigabitethernet 0/3
[SecBlade-vlan10] quit
# Create VLAN-interface 5 and configure its IP address as 192.168.0.10/24.
[SecBlade] interface vlan-interface 5
[SecBlade-Vlan-interface5] ip address 192.168.0.10 24
[SecBlade-Vlan-interface5] quit
# Create VLAN-interface 10 and configure its IP address as 192.168.1.20/24.
[SecBlade] interface vlan-interface 10
[SecBlade-Vlan-interface10] ip address 192.168.1.20 24
[SecBlade-Vlan-interface10] return
2. Configure PC A
# Configure the default gateway of the PC as 192.168.0.10.
3. Configure PC B
# Configure the default gateway of the PC as 192.168.1.20.
Verification
1. The PCs can ping each other.
2. Display brief information about Layer 3 interfaces on SecBlade to verify the configuration.
<SecBlade> display ip interface brief
*down: administratively down
(s): spoofing
Interface Physical Protocol IP Address Description
Vlan-interface5 up up 192.168.0.10 Vlan-inte...
Vlan-interface10 up up 192.168.1.20 Vlan-inte...
Port-based VLAN configuration
Introduction to port-based VLAN
Port-based VLANs group VLAN members by port. A port forwards traffic for a VLAN only after it is
assigned to the VLAN.
Port link type
You can configure the link type of a port as access, trunk, or hybrid. The link types use the following
VLAN tag handling methods:
An access port belongs to only one VLAN and sends traffic untagged. It is usually used to connect
a terminal device unable to recognize VLAN tagged-packets or when there is no need to separate
different VLAN members. As shown in Figure 30,
Device A is connected to common PCs that cannot
r
ecognize VLAN tagged-packets, and you must configure Device A’s ports that connect to the PCs
as access ports.
Vista de pagina 102
1 2 ... 98 99 100 101 102 103 104 105 106 107 108 ... 348 349

Comentarios a estos manuales

Sin comentarios