Brocade Mobility RFS7000-GR Controller CLI Reference Guide (Supporting software release 4.1.0.0-040GR and later) User Manual

Page 332

Advertising
background image

318

Brocade Mobility RFS7000-GR Controller CLI Reference Guide

53-1001945-01

Interface Config commands

12

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 address(A.B.C.D/M) (secondary)

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.

Use the

[no] ip [options]

command to undo all the above ip based interface configurations.

Example

RFS7000(config-if)#ip access-group 110 in

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 a static IP address and network mask of a layer 3 SVI (Switch Virtual
Interface).

A.B.C.D/M – IP address (for example, 10.0.0.1/8).

secondary – The secondary IP address.

dhcp – Uses a DHCP Client to obtain an IP address for the interface. This
enables DHCP on a layer 3 SVI.

arp [rate-limit
|trust]

arp

rate-limit <1-1000000> – Does packet ratelimiting at the rate of <1-
1000000> packets per second.

trust – Trust state coming for arp responses in this interface.

dhcp (trust)

dhcp

trust – Trust state coming for dhcp responses in this 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.

Advertising