Version 7.2 779 Mediant MSBR
Reference Guide 76 Security
Command Description
range Performs port forwarding on a range of ports, rather than a
single port.
acl-name Access-list defining the LAN hosts affected by the NAT rule.
if-name WAN interface name and index, to which NAT will be
performed.
pool-name IP address pool to be used on the WAN interface.
Interface Type (ifname) Interface ID
gigabitethernet GigabitEthernet interface slot
and port (VLAN ID is optional)
[SLOT/PORT.VLANID]
cellular Cellular interface ID 0/0
gre Tunnel GRE ID [1-255]
ipip Tunnel IPIP ID [1-255]
l2tp L2TP ID [0-99]
pppoe PPPoE interface ID [1-3]
pptp PPTP ID [0-99]
vlan Vlan ID [1-3999]
loopback Loopback ID [1-5]
bvi Bridge interface [1-255]
Default
No port forwarding.
Command Mode
Privileged User
Example
The following example defines a port forwarding rule:
(config-data)# ip nat inside source static tcp 192.168.0.7 80
0.0.0.0 8080
The following example defines a port forwarding rule and applies an access list rule:
(config-data)# ip nat inside source static tcp 192.168.0.16 same
gigabitethernet 0/0 8080 match PF-ACL
76.7.2 ip nat inside source static list
The command creates static NAT entries for LAN hosts. In this case, an access-list is used
to define the LAN devices and an IP address pool defines the WAN addresses to be used.