1、VRP:系统 2、共享式以太网缺点:冲突严重、广播泛滥、安全性差。 3、交换机:交换机是工作在数据链路层的设备。交换机可以将一个共享式以太网分割为多
个冲突域。链路层流量被隔离在不同的冲突域中进行转发,如此便极大地提升了以太网的
性能。
更进一步说,通常主机和交换机之间以及交换机与交换机之间都使用全双工技术进行通信
,这时冲突现象会被彻底消除。
实验演示了用交换机取代集线器的优势:
增加了冲突域的数量,较少了冲突域的范围。但是广播域保持不变。
实验演示了用路由器取代集线器的优势:
增加了冲突域的数量,较少了冲突域的范围。广播域数量增加了,广播域的范围减少了,
减少到每一个接口。 4、涉及到的命令:display mac-address
<Huawei>display mac-address
MAC address table of slot 0:
-------------------------------------------------------------------------------
MAC Address VLAN/ PEVLAN CEVLAN Port Type LSP/LSR-ID
VSI/SI MAC-Tunnel
-------------------------------------------------------------------------------
5489-987e-317f 1 - - Eth0/0/1 dynamic 0/-
5489-98f4-79df 1 - - Eth0/0/3 dynamic 0/-
5489-98da-3f53 1 - - Eth0/0/2 dynamic 0/-
-------------------------------------------------------------------------------
Total matching items on slot 0 displayed = 3 5、路由器的应用:
在路由器的接口上配置IP地址
ip address IP地址 子网掩码(24或者255.255.255.0)
路由器中的路由表的路由条目的来源:
直接相连的接口产生直连路由;
动态路由协议生成的路由;
网络管理人员配置的静态路由或者默认路由。
<Huawei> //用户视图
<Huawei>sys//进入系统视图
Enter system view, return user view with Ctrl+Z.//提供描述
[Huawei]sysname AR1//修改设备名称
[AR1]
Aug 10 2016 20:52:02-08:00 AR1 DS/4/DATASYNC_CFGCHANGE:OID
1.3.6.1.4.1.2011.5.25
.191.3.1 configurations have been changed. The current change number is 1, the
c
hange loop count is 0, and the maximum number of records is 4095.int
[AR1]interface r
[AR1]interface eth
[AR1]interface Ethernet0/0/0
[AR1-Ethernet0/0/0]ip add
[AR1-Ethernet0/0/0]ip address 1.1.1.1 24
[AR1-Ethernet0/0/1]ip address 1.1.2.2 24
[AR1-Ethernet0/0/1]quit
[AR1]interface GigabitEthernet0/0/0
[AR1-GigabitEthernet0/0/0]ip address 1.1.3.3 24
[AR1]dis ip int brief
*down: administratively down
!down: FIB overload down
^down: standby
(l): loopback
(s): spoofing
(d): Dampening Suppressed
The number of interface that is UP in Physical is 4
The number of interface that is DOWN in Physical is 7
The number of interface that is UP in Protocol is 4
The number of interface that is DOWN in Protocol is 7
Interface IP Address/Mask Physical Protocol
Ethernet0/0/0 1.1.1.1/24 up up
Ethernet0/0/1 1.1.2.2/24 up up
GigabitEthernet0/0/0 1.1.3.3/24 up up
GigabitEthernet0/0/1 unassigned down down
GigabitEthernet0/0/2 unassigned down down
GigabitEthernet0/0/3 unassigned down down
NULL0 unassigned up up(s)
[AR1]display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 8 Routes : 8
Destination/Mask Proto Pre Cost Flags NextHop Interface
1.1.1.0/24 Direct 0 0 D 1.1.1.1 Ethernet0/0/0