Cisco Vs Huawei CLI 11 – (Configuring Static NAT)

A private network address, which is also called a private address, is the IP address of an internal network or host. A public network address, which is also called a public address, is a unique IP address on the Internet. The Internet Assigned Number Authority (IANA) defines the following IP addresses as private addresses: Class A: 10.0.0.0-10.255.255.255 Class B: 172.16.0.0-172.31.255.255 Class C: 192.168.0.0-192.168.255.255

Static NAT maps a private address to a public address. That is, the number of private addresses is equal to the number of public addresses. Static NAT cannot save public addresses, but can shield the topology of the private network.

CISCO
NetworksHeaven(config)# ip nat inside source static 192.168.1.1 1.1.1.2 NetworksHeaven(config)# ip nat inside source static 192.168.1.2 1.1.1.3 NetworksHeaven(config)# interface fastEthernet 0/0 NetworksHeaven(config-if)# ip nat inside NetworksHeaven(config-if)# exit NetworksHeaven(config)# interface serial 1/1 NetworksHeaven(config-if)# ip nat outside NetworksHeaven(config-if)# end
Useful Commands NetworksHeaven# show ip nat translations
HUAWEI
<NetworksHeaven> system-view [NetworksHeaven] interface  Serial  1/0/0 [NetworksHeaven-Serial1/0/0] nat  static  global  1.1.1.2  inside  192.168.1.1  netmask 255.255.255.255 [NetworksHeaven-Serial1/0/0] nat  static  global  1.1.1.3  inside  192.168.1.2  netmask 255.255.255.255
Useful Commands <NetworksHeaven> display nat session all <NetworksHeaven> display  nat static <NetworksHeaven> display  nat static interface Serial 1/0/0

Cisco Vs Huawei CLI Commands in Slides