锐捷2014E移动路由交换一体机WEB与命令

默认情况下g0/0路由三层接口192.168.1.1/24接好后web登录   账号密码均admin

命令下为此行,默认有

webmaster level 0 username admin password 7 004b244e4a39(admin)

完整命令配置:此配置均为web配置自动生成的,也可完全不用web手工配置

!
version RGOS 10.4(3b34)p5 Release(224254)(Mon Nov 19 20:16:03 CST 2018 -ngcf65)
webmaster level 0 username admin password 7 004b244e4a39
!
!
!
!
!
!
diffserv domain default
!
!
!
!
no cwmp
!
!
!
!
vlan 1
!
!
no service password-encryption
service dhcp
!
ip dhcp excluded-address 192.168.100.1 192.168.100.100
!
!
ip dhcp pool Lan
network 192.168.100.0 255.255.255.0
dns-server 202.99.166.4 222.222.222.222
default-router 192.168.100.254
!
!
ip access-list extended web_nat_addr_pool(3)
10240 permit ip any any
!
!
!
!
!
control-plane
!
control-plane protocol
no acpp
!
control-plane manage
no port-filter
no arp-car
no acpp
!
control-plane data
no glean-car
no acpp
!
!
!
!
enable service web-server http
enable service web-server https
!
!
interface FastEthernet 1/0
!
interface FastEthernet 1/1
!
interface FastEthernet 1/2
!
interface FastEthernet 1/3
!
interface FastEthernet 1/4
!
interface FastEthernet 1/5
!
interface FastEthernet 1/6
!
interface FastEthernet 1/7
!
interface FastEthernet 1/8
!
interface FastEthernet 1/9
!
interface FastEthernet 1/10
!
interface FastEthernet 1/11
!
interface FastEthernet 1/12
!
interface FastEthernet 1/13
!
interface FastEthernet 1/14
!
interface FastEthernet 1/15
!
interface FastEthernet 1/16
!
interface FastEthernet 1/17
!
interface FastEthernet 1/18
!
interface FastEthernet 1/19
!
interface FastEthernet 1/20
!
interface FastEthernet 1/21
!
interface FastEthernet 1/22
!
interface FastEthernet 1/23
!
interface GigabitEthernet 0/0------默认的已配置了IP的接口用于初始无任何命令情况下通过此接口的web配置方案
ip address 192.168.1.1 255.255.255.0
duplex auto
speed auto
!
interface GigabitEthernet 0/1------出接口,ISP提供(1)
ip nat outside
ip address 172.16.11.11 255.255.255.0
duplex auto
speed auto
description 互联网出口
!
interface VLAN 1-----入接口,可vlan虚接口,也可物理三层接口(只有0和1),通过此接口IP匹配DHCP地址池(2)
ip nat inside
ip address 192.168.100.254 255.255.255.0
description VLAN1虚拟内网IP
!
!
ip nat pool web_nat_addr_pool prefix-length 24
address interface GigabitEthernet 0/1 match interface GigabitEthernet 0/1
!
ip nat inside source list web_nat_addr_pool pool web_nat_addr_pool overload
!
!
!
!
!
router ospf 1
!
!
!
!
!
ip route 0.0.0.0 0.0.0.0 GigabitEthernet 0/1 172.16.11.254
!
!
!
!
!
ref parameter 75 140
line con 0
line aux 0
line vty 0 4
login
!
!
end

部分web配置切图

 

 

posted @ 2024-12-11 14:13  techNote  阅读(15)  评论(0编辑  收藏  举报