路由器是这样的,以h3c msr3610为例,需求:wan口 IP地址:172.168.8.8。255.255.252.0 172.168.8.254 ,Lan 口地址:192.168.2.1,255.255.255.0 192.168.2.1 。开启web界面,取消DHCP分配,设备需要手动获取IP地址;同时需要将LAN口的几个IP映射出去,有没有大佬能不能将这个配置命令提供给我参考参考
(0)
最佳答案
(0)
大哥,这个解压出来咋是个空文件
两个一起解压
我为您提供了一个可能的路由器配置命令的示例,仅供参考:
<H3C>system-view
System View: return to User View with Ctrl+Z.
[H3C]interface GigabitEthernet 1/0/0
[H3C-GigabitEthernet1/0/0]ip address 172.168.8.8 255.255.252.0
[H3C-GigabitEthernet1/0/0]quit
[H3C]interface GigabitEthernet 1/0/1
[H3C-GigabitEthernet1/0/1]ip address 192.168.2.1 255.255.255.0
[H3C-GigabitEthernet1/0/1]quit
[H3C]ip http enable
[H3C]ip https enable
[H3C]local-user admin New local user added.
[H3C-luser-manage-admin]password simple admin
[H3C-luser-manage-admin]service-type http https
[H3C-luser-manage-admin]authorization-attribute user-role network-admin
[H3C-luser-manage-admin]quit
[H3C]no ip dhcp enable
[H3C]nat static global 172.168.8.9 inside 192.168.2.2
[H3C]nat static global 172.168.8.10 inside 192.168.2.3
[H3C]nat static global 172.168.8.11 inside 192.168.2.4
[H3C]save
e current configuration will be written to the device. Are you sure? [Y/N]:y
Now saving the current configuration to the slot 0. Save the configuration successfully.
以上是一个简单的配置命令的示例,您可以根据您的实际情况进行修改和调整。如果您想了解更多的配置命令和步骤,您可以参考以下链接:
(1)
display interface brief
大哥,我想问一下怎么确定这个wan口就是e/1/0/0的lan口e/1/1/1的
display interface brief
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
两个一起解压