Chapter 6

CLI – Layer 3

 

 

Interface Mode

ip address Command

Use the ip address command to assign an IP address and mask to an interface.

The syntax for this command is:

ip address <ip-address> <mask> [<admin-state>]

ip address

The IP address assigned to the interface.

mask

Mask for the associated IP subnet

admin-state

The administration status – either Up or Down

Example:

To assign the IP address 192.168.22.33 with mask 255.255.255.0 to the interface “marketing”:

Router-N(config-if:marketing)# ip address 192.168.22.33

255.255.255.0

ip vlan/ip vlan name Commands

Use these commands to specify the VLAN on which an IP interface resides. You can specify either the VLAN ID using the ip vlan command or the VLAN name using the ip vlan name command. The no form of the command restores the IP interface to the default VLAN.

The syntax for this command is:

[no] ip vlan <vlan-id>

or

ip vlan name <vlan-Name>

Example:

To specify VLAN developmental as the VLAN used by interface “products”:

Router-N(config-if:marketing)# ip vlan name development

Note: If you wish to define a name which includes spaces, you must enclose the entire name in quotation marks, e.g. "new york".

P332G-ML User’s Guide

153

Page 171
Image 171
Avaya P332G-ML manual Interface Mode, 255.255.255.0, No ip vlan vlan-id Ip vlan name vlan-Name