zoukankan      html  css  js  c++  java
  • 烽火R2600交换机配置脚本

    烽火交换机端口映射配置

    ip nat inside source static udp iP 端口号 公网iP 端口号
    
    
    ip nat inside source static udp 192.168.1.23 5055 183.198.74.37 5055
    
    
    interface Vlan-intf1
     ip address 172.16.1.1 255.255.255.0
     no ip directed-broadcast
     ip nat inside
    
    
    ip access-list standard 1
     permit 172.16.1.0 255.255.255.0
     deny   any
    
    ip dhcpd pool 1
     network 172.16.1.0 255.255.255.0
     range 172.16.1.2 172.16.1.254
     default-router 172.16.1.1
     dns-server 211.138.13.66 111.11.1.1

    烽火R2600配置脚本

    1 利用串口线接好电脑与路由器,
    2 配置超级终端:9600   8  13 新路由器的话,直接就进入了
    4 大于号状态下输入 enable.回车
    5 config
    int gi0/0
    ip address (公网IP) (公网子网掩码)  
    ip nat outside 
    q
    int gi0/1
    ip address (私网IP,如192.168.0.1) (私网DNS,如255.255.255.0)         
    ip nat inside
    q
    aaa authentication login default local enable
    aaa authentication enable default enable
    enable password 0 (登陆密码,可任意修改)
    username admin password 0 (登陆密码,可任意修改)               
    ip dhcpd pool p1
    network 192.168.0.0 255.255.255.0
    range 192.168.0.4 192.168.0.250
    default-router 192.168.0.1 
    dns-server (公网首选DNS) (公网备用DNS)                    
    q 
    ip dhcpd enable 
    ip route defau (公网网关)                       
    ip nat pool yyy (公网IP) (公网IP) 255.255.255.255
    ip access-list standard a1
    permit 192.168.0.0 255.255.255.0
    q
    ip nat inside source list a1 pool yyy overload
    ex
    write 
    这是烽火R2600配置案例参考一下;
    你要有原来的配置脚本,把其直接拷入新路由器就可以了。
  • 相关阅读:
    SpringBoot整合Swagger2
    AuthenticationToken的元素不满足实际情况,登录的时候需要有学校id或者其他参数
    nginx导入学成静态网页
    springboot使用枚举类型
    springboot配置多个yml文件
    尝试使用freemarker模板引擎生成打印文件
    多版本并发控制 MVCC 实现可重复读
    多版本并发控制 MVCC简介
    模拟3级分类信息查询
    IDEA去掉屏幕中间的白色竖线
  • 原文地址:https://www.cnblogs.com/landv/p/10015671.html
Copyright © 2011-2022 走看看