HUAWEI(21)——华为网络基础+telnet
华为设备的基本操作 1.更改设备接口类型 interface GigabitEthernet0/0/2 port link-type trunk port trunk allow-pass vlan 2 to 4094 解决方法一: [Huawei-GigabitEthernet0/0/2]undo port trunk allow-pass vlan all [Huawei-GigabitEthernet0/0/2]port trunk allow-pass vlan 1 解决方法二: [Huawei-GigabitEthernet0/0/2] undo port trunk allow-pass vlan 2 to 4094 2.配置环回接口 [Huawei]interface LoopBack 0 [Huawei-LoopBack0]ip address 11.11.11.111 32 3.查看接口的信息 [Huawei]display ip interface brief 4.查看设备的路由表 [Huawei]display ip routing-table 5.查看系统当前日期和时钟 [Huawei]display clock <Huawei>clock timezone BJ add 08:00:00设置所在的时区为北京 <Huawei>clock datetime