Switching Feature Topology를 참조하십시오.
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
ping이 성공적으로 수행되어야 합니다.
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
토폴로지를 구성하려면 모든 인터페이스가 작동 중이어야 합니다. 작동 중이지 않을 경우 no shutdown 명령을 사용하여 포트를 가져옵니다.
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
두 스위치 모두에서 0/1, 0/2, 0/25, 0/26 인터페이스가 작동 중인지 확인합니다.