输入ena 进入超级用户模式
Router>ena
Password:
Router#
输入show run 查看命令行
ip nat inside source static tcp 172.10.10.100 81 60.13.13.30 81 extendable
ip nat inside source static udp 172.10.10.100 81 60.13.13.30 81 extendable
输入config t进入config模式
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
输入添加端口映射命令后即可生效