→跟着大佬学习的b站直通车,感谢大佬←
→华为eNSP小型园区网络配置(上)←
-
目标1:telnet配置
R1
# interface GigabitEthernet0/0/2 ip address 100.1.1.2 255.255.255.0 # user-interface vty 0 4 authentication-mode aaa # aaa //密码123456 local-user user1 password cipher %$%$m4S-EVC2/5oFXU'cx":/Wg/)%$%$ local-user user1 service-type telnet #
telnet管理
# interface GigabitEthernet0/0/0 ip address 100.1.1.1 255.255.255.0 #
telnet登录
<TELNET>telnet 100.1.1.2 Press CTRL_] to quit telnet mode Trying 100.1.1.2 ... Connected to 100.1.1.2 ... Login authentication Username:user1 Password: ----------------------------------------------------------------------------- User last login information: ----------------------------------------------------------------------------- Access Type: Telnet IP-Address : 100.1.1.1 Time : 2024-05-02 00:13:03-08:00 -----------------------------------------------------------------------------
-
目标2:ospf配置
R1# ospf 1 area 0.0.0.0 network 10.10.10.0 0.0.0.255 network 64.1.1.0 0.0.0.255 #
R2
# ospf 1 area 0.0.0.0 network 8.8.8.0 0.0.0.255 network 9.9.9.0 0.0.0.255 network 64.1.1.0 0.0.0.255 #
SW3
# ospf 1 area 0.0.0.0 network 10.10.10.0 0.0.0.255 network 192.168.0.0 0.0.255.255 # ip route-static 0.0.0.0 0.0.0.0 10.10.10.1 #
SW5
# interface Vlanif200 ip address 9.9.9.2 255.255.255.0 # interface MEth0/0/1 # interface GigabitEthernet0/0/1 port link-type access port default vlan 200 # ospf 1 area 0.0.0.0 network 9.9.9.0 0.0.0.255 #