Ghi_Chep_CCNA__Vnpro_[bookbooming.com]

Page 127

SWHDD(config)#int vlan 1 SWHDD(config-if)#ip add 192.168.1.1 255.255.255.192 SWHDD(config-if)#no shut Default Gateway cua SW co chia VLAN se la dia chi IP thuoc Subinterface tren Router ma Subinterface nay duoc cau hinh dinh tuyen cho VLAN 1 SWHDD(config)#ip default-gateway 192.168.1.62 SWHDD#ping 192.168.1.62 ---- VLAN 10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.162, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/203/1004 ms SWHDD#ping 192.168.1.126 ---- VLAN 20 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.126, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/203/1004 ms SWHDD#ping 192.168.1.190 ---- VLAN 30 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.1.190, timeout is 2 seconds: !!!!! Success rate is 100 percent (5/5), round-trip min/avg/max = 1/203/1004 ms

CO CHE THIET LAP KET NOI TRUNK GIUA CAC SWITCH I - Duoc quan ly boi giao thuc DTP(Dynamic Trunk Protocol) SW1 (Fa0/24) --------------------------SW2 (Fa0/24) SW1#sh int trunk Port Mode Encapsulation Status Fa0/24 desirable 802.1q trunking

Native vlan 1

Port Vlans allowed on trunk Fa0/24 1-4094 Port Vlans allowed and active in management domain Fa0/24 1 Port

Vlans in spanning tree forwarding state and not pruned

Trang 127/201


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.