H3C MSR 30-20路由器
查看系统版本信息
display version
显示系统中快捷键的分配信息
display hotkey
显示nat dns mapping的配置信息
display nat dns-map
从当前视图退回上一层视图
quit
设置设备名称为R2000
sysname R2000
使用户从用户视图进入系统视图
system-view
显示设备同时进入系统视图的用户信息
display configure-user
122.xx.130.42-46可用
122.xx.130.42:80指向192.168.0.3:80
system-view [Sysname]interface GigabitEthernet 0/1 [Sysname-GigabitEthernet0/1]nat server protocol tcp global 122.xx.130.42 ftp inside 192.168.0.3 ftp [Sysname-GigabitEthernet0/1]nat server protocol tcp global 122.xx.130.42 pptp inside 192.168.0.8 pptp [Sysname-GigabitEthernet0/1]nat server protocol tcp global 122.xx.130.42 700 inside 192.168.0.8 700 [Sysname-GigabitEthernet0/1]nat server protocol tcp global 122.xx.130.42 7989 inside 192.168.0.3 7989 [Sysname-GigabitEthernet0/1]nat server protocol tcp global 122.xx.130.42 8000 inside 192.168.0.8 8000 [Sysname-GigabitEthernet0/1]nat server protocol tcp global 122.xx.130.42 smtp inside 192.168.0.8 smtp [Sysname-GigabitEthernet0/1]nat server protocol tcp global 122.xx.130.42 pop3 inside 192.168.0.8 pop3 [Sysname-GigabitEthernet0/1]nat server protocol tcp global 122.xx.130.42 7088 inside 192.168.0.2 7088 [Sysname-GigabitEthernet0/1]nat server protocol tcp global 122.xx.130.43 3389 inside 192.168.0.12 3389 [Sysname-GigabitEthernet0/1]nat server protocol tcp global 122.xx.130.42 www inside 192.168.0.3 www [Sysname-GigabitEthernet0/1]nat server protocol tcp global 122.xx.130.43 www inside 192.168.0.8 www [Sysname-GigabitEthernet0/1]nat server protocol tcp global 122.xx.130.44 www inside 192.168.0.2 www
删除记录
system-view [Sysname]interface GigabitEthernet 0/1 [Sysname-GigabitEthernet0/1]undo nat server protocol tcp global 122.xx.130.42 1433 inside 192.168.0.5 1433
在内网ping m.flsports.cn 返回内网地址700由上面定义
system-view [Sysname]nat dns-map domain www.flsports.com.cn protocol tcp ip 122.xx.130.42 port www [Sysname]nat dns-map domain m.flsports.cn protocol tcp ip 122.xx.130.42 port 700 [Sysname]nat dns-map domain bbs.flsports.com.cn protocol tcp ip 122.xx.130.42 port www [Sysname]nat dns-map domain oa.flsports.com.cn protocol tcp ip 122.xx.130.43 port www [Sysname]nat dns-map domain test1.tzgx.net protocol tcp ip 122.xx.130.44 port www
删除记录
system-view [Sysname]undo nat dns-map domain www.flsports.com.cn protocol tcp ip 122.xx.130.42 port www
http://bbs.51cto.com/thread-421885-1.html
修改VPN地址池
system-view [Sysname]domain system [Sysname-isp-system]ip pool 1 192.168.100.180 192.168.100.250 [Sysname-isp-system]quit [H3C MSR30_20]quit save聚划算