11. Remote management of switching routes
We can remotely operate the switch route through the Telnet protocol.
VTY, called virtual terminal, is a way to connect network devices. By configuring the VTY in the device, we can then be remotely connected by the remote PC through the Telnet protocol.
CISCO Cisco switch routing configuration VTY virtual terminal:
V create and enter a virtual interface: (config) # interface vlan 10
V configure virtual interface address: (config-if) # ip add 192.168.1.1 255.255.255.0
V Open virtual interface: (config-if) # no shutdown
V configure default gateway: (config) # default-gateway 192.168.1.254
V create and enter VTY configuration: (config) # line vty 0 4
V set VTY password: (config-line) # password 123
V Open ordinary password authentication: (config-line) # login
V set Enable password: (config-line) # enable password 123
Huawei switch routing configuration VTY virtual terminal:
V create a VLAN: [huawei] vlan 10
V create and enter a virtual interface: [huawei] interface vlan 10
V configure virtual interface address: [huawei-vlan10] ip add 192.168.1.1 255.255.255.0
V Open virtual interface: [huawei-vlan10] undo shutdown
V enter a physical interface: [huawei] interface Ethernet0/0/0
V bind virtual interface to physical interface: [huawei-Ethernet0/0/0] port hybrid untagged vlan 10
V configure AAA authentication: [huawei] aaa
2 specify identity [huawei-aaa] local-user admin password cipher 123
2 specify security level [huawei-aaa] local-user admin privilege level 3
2 specify the service type as Telnet [huawei-aaa] local-user service-type telnet
V create and enter VTY configuration: [huawei] user-interface vty 0 4
V configure authentication mode to use AAA authentication: [huawei-user-vty0-4] authentication-mode aaa
V bind remote protocol to all: [huawei-user-vty0-4] protocal bind all
The PC side can remotely manage the switch route through the SecureCRT tool.