背景:远程管理华为交换机运维
要求:登录密码为密文,模式为AAA
实验拓扑:
1,[pc]interface Vlanif 1 配置互联VLAN,目的使两个设备网络可达
[pc-Vlanif1]ip add
[pc-Vlanif1]ip address 1.1.1.1 30 互联VLAN 配置地址2
[sw]interface Vlanif 1
[sw-Vlanif1]ip add
[sw-Vlanif1]ip address 1.1.1.2 30
测试:
[pc]ping 1.1.1.2 可相互通信
PING 1.1.1.2: 56 data bytes, press CTRL_C to break
Reply from 1.1.1.2: bytes=56 Sequence=1 ttl=255 time=90 ms
Reply from 1.1.1.2: bytes=56 Sequence=2 ttl=255 time=50 ms
Reply from 1.1.1.2: bytes=56 Sequence=3 ttl=255 t