Consulte Switching Feature Topology.
Puertos 1 a 4: conectados a los puertos 1 a 4 del conmutador SEFOS-2
Puerto 25: conectado al servidor de host A (dirección IP 20.0.0.10)
Puerto 26: conectado al servidor de host B (dirección IP 20.0.0.20)
Consulte Connect to SEFOS.
SEFOS-1# configure terminal SEFOS-1(config)# vlan 101 SEFOS-1(config-vlan)# ports xl-ethernet 0/25-26 untagged xl-ethernet 0/25-26 SEFOS-1(config-vlan)# vlan active SEFOS-1(config-vlan)# exit
SEFOS-1# configure terminal SEFOS-1(config)# interface range xl-ethernet 0/25-26 SEFOS-1(config-if-range)# switchport pvid 101 SEFOS-1(config-if-range)# no shutdown SEFOS-1(config-if-range)# exit
SEFOS-1# configure terminal SEFOS-1(config-int)# interface vlan 101 SEFOS-1(config-int)# ip address 20.0.0.1 255.0.0.0 SEFOS-1(config-int)# no shutdown SEFOS-1(config-int)# exit
SEFOS-1# show ip interface vlan1 is down, line protocol is down Internet Address is 10.0.0.1/8 Broadcast Address 10.255.255.255 vlan101 is up, line protocol is up Internet Address is 20.0.0.1/8 Broadcast Address 10.255.255.255
SEFOS-1# show interface status Port Status Duplex Speed Negotiation Capability ---- ------ ------ ----- ----------- ---------- Xl0/1 not connected Full 10 Gbps Auto-Negotiation Auto-MDIX on Xl0/2 not connected Full 10 Gbps Auto-Negotiation Auto-MDIX on ... Xl0/25 connected Full 10 Gbps Auto-Negotiation Auto-MDIX on Xl0/26 connected Full 10 Gbps Auto-Negotiation Auto-MDIX on ... SEFOS-1# show interface description Interface Status Protocol --------- ------ -------- Xl0/1 down down Xl0/2 down down ... Xl0/25 up up Xl0/26 up up ... vlan101 up up
El comando ping debe ejecutarse correctamente.
SEFOS-1# show mac-address-table Vlan Mac Address Type Ports ---- ----------- ---- ----- 101 00:14:4f:6c:7d:e9 Learnt ; ; Xl0/25 Total Mac Addresses displayed: 1
Para configurar la topología, todas las interfaces deben estar activadas. Si no lo están, use el comando no shutdown para activar los puertos.
SEFOS-1# configure terminal SEFOS-1(config)# interface range xl 0/1-2 SEFOS-1(config-if-range)# switchport pvid 101 SEFOS-1(config-if-range)# no shutdown SEFOS-1(config-if-range)# end
En ambos conmutadores, garantice que las siguientes interfaces estén activas: 0/1, 0/2, 0/25, 0/26.