Sie sind auf Seite 1von 3

Configuraciones de SWITCH2

Configuracion de nombre del switch


<4500>system-view [4500]Hostname S2 [S2]

Creacion de Vlans y asignacin de puertos.


[S2]vlan 10. [S2-vlan10]Description Faculty/Staff [S2-vlan10]port ethernet1/0/11 to ethernet1/0/17 [S2-vlan10]quit [S2]vlan 20 [S2-vlan20]Description Students [S2-vlan20]port ethernet1/0/18 to ethernet1/0/24 [S2-vlan20]quit [S2]vlan 30 [S2-vlan30]Description Guest [S2-vlan30]port ethernet1/0/6 to ethernet1/0/10 [S2-vlan30]quit

[S2]vlan 99 [S2-vlan30]Description Management&Native [S2-vlan99]port ethernet1/0/1 to ethernet1/0/5 [S2-vlan99]quit

Asignar la VLan de Administracion


[S2]interfacevlan-interface 99 [S2-Vlan-interface99]ip address 172.17.99.12 255.255.255.0 [4500-Vlan-interface99]quit

Configuracin de Puerto Troncal


[S2]interface ethernet1/0/1 [S2-Ethernet1/0/1]port link -type trunk [S2-Ethernet1/0/1]port trunk permit vlan 99 [S2-Ethernet1/0/1]port trunk pvidvlan 99

Configuracin Final del switch2


S2>display vlan all VLAN ID: 1 VLAN Type: static Route Interface: not configured Description: VLAN 0001 Tagged Ports: Ethernet1/0/1 Untagged Ports: GigabitEthernet1/0/25 GigabitEthernet1/0/26

VLAN ID: 10 VLAN Type: static Route Interface: not configured Description: Faculty/Staff Tagged Ports: Ethernet1/0/1 Untagged Ports: Ethernet1/0/11 Ethernet1/0/14 Ethernet1/0/17 Ethernet1/0/12 Ethernet1/0/15 Ethernet1/0/13 Ethernet1/0/16

VLAN ID: 20 VLAN Type: static Route Interface: not configured Description: Students

Tagged Ports: Ethernet1/0/1 Untagged Ports: Ethernet1/0/18 Ethernet1/0/21 Ethernet1/0/24 Ethernet1/0/19 Ethernet1/0/22 Ethernet1/0/20 Ethernet1/0/23

VLAN ID: 30 VLAN Type: static Route Interface: not configured Description: Guest Tagged Ports: Ethernet1/0/1 Untagged Ports: Ethernet1/0/6 Ethernet1/0/9 Ethernet1/0/7 Ethernet1/0/10 Ethernet1/0/8

VLAN ID: 99 VLAN Type: static Route Interface: configured IP Address: 172.17.99.12 Subnet Mask: 255.255.255.0 Description: Management&Native Tagged Ports: none Untagged Ports: Ethernet1/0/1 Ethernet1/0/4 Ethernet1/0/2 Ethernet1/0/3

Ethernet1/0/5

Das könnte Ihnen auch gefallen