VG814和VG710如何进入CLI配置页面
- 1. 启用Telnet功能
- 进入Web配置页面,Administration>> Management Services , 勾选Telnet 功能并点击Apply&Save 按钮。也可以启用SSH功能,登陆端口22。
- 设备默认关闭了Telnet 及SSH登陆端口。
2. 链接设备
通过控制台、SSH或Telnet登录设备。成功后会进入特权EXEC模式,提示符为 #:
VG710 login: adm
Password:
********************************************************************************
Welcome to INOS console
Copyright (c)2001-2024 InHand Networks Co., Ltd.
http://www.inhandnetworks.com
--------------------------------------------------------------------------------
Model : 710
Serial Number : VF7102041000762
Firmware Version : V1.2.1.r30071
Bootloader Version : 2012.07.r238
--------------------------------------------------------------------------------
VG710#
3. 进入全局配置模式
输入 configure terminal
(可简写为 conf t
):
14:04:50 VG710# configure terminal
14:04:51 VG710(config)#
4. 进入子配置模式(可选)
VG710(config)# interface vlan 1
VG710(if-vlan-1)#
Configure commands:
backup Configure backup interface
bridge-group Add the interface to bridge
crypto Encryption/Decryption commands
ddns Specify a ddns update method to the interface
description Add interface description
exit Exit current mode/console
ip Interface IP config commands
max-bandwidth Limit max bandwidth of the interface
no Unset the given argument
pppoe-client pppoe client
show Show system information
traffic Traffic control
traffic-stated Set Traffic statistic
vrrp Virtual Router Redundancy Protocol
14:05:51 VG710(if-vlan-1)#
5. 查看所有端口状态(可选)
VG710(config)# show interface
Loopback1 Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:93 errors:0 dropped:0 overruns:0 frame:0
TX packets:93 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:7488 (7.3 KiB) TX bytes:7488 (7.3 KiB)
Wlan1 Link encap:Ethernet HWaddr 00:18:05:14:6B:F1
inet addr:10.5.15.5 Bcast:0.0.0.0 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6467 errors:0 dropped:0 overruns:0 frame:0
TX packets:4269 errors:6 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:6425212 (6.1 MiB) TX bytes:907945 (886.6 KiB)
Line protocol uptime:174s (0 day, 00:02:54)
Bridge 1 Link encap:Ethernet HWaddr 00:18:05:14:6B:EF
inet addr:192.168.2.1 Bcast:0.0.0.0 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:6755 errors:0 dropped:0 overruns:0 frame:0
TX packets:7609 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1172053 (1.1 MiB) TX bytes:6756040 (6.4 MiB)
VG710(config)#
6. 保存并退出
VG710(config)# write # 保存配置
VG710(config)# exit # 退出全局模式
VG710#