User manual

7-9
7.1.7 ip
Interface Config commands
Use this command to configure an IP address for the assigned Ethernet, VLAN or tunnel.
Syntax
ip(access-group|address|helper-address|nat)
ip access-group(<1-99>|<100-199>|<1300-1999>|<2000-2699>)in
ip address(A.B.C.D/M|dhcp)
ip helper-address A.B.C.D
ip nat(inside|outside)
Parameters
Usage Guidelines
IPv4 commands are not allowed on a L2 interface. Use the ip access-group command to attach an access
list to an interface. Use the
no ip access-group command to remove the access list from the interface.
Use
mac access-group to atach a MAC access list to an interface.
Example
RFS7000(config-if)#ip access-group 110 in
RFS7000(config-if)#
RFS7000(config-if)#ip address 192.168.234.1/24
RFS7000(config-if)#
Follow the steps in the example below to create a helper address on VLAN 2000 for using the DHCP server
available on VLAN 1000.
RFS7000(config)#interface vlan 1000
RFS7000(config-if)#ip address 172.168.100.1/24
access-group Access group.
(<1-99> |<100-199>) IP extended access list.
(<1300-1999>|<2000-
2699>)
IP extended access list (expanded range).
WORD Access list name.
in Incoming packets.
address Sets the interface IP address.
A.B.C.D/M IP address (for example, 10.0.0.1/8).
dhcp Uses a DHCP Client to obtain an IP address for the interface.
helper-address Forwards DHCP and BOOTP packets.
A.B.C.D IP to which DHCP and BOOTP packets are forwarded.
nat Network Address Translation (NAT).
inside Inside interface.
outside Outside interface.