Specifications

7-24 IP Services Commands
set interface
ConfiguresanIPinterfaceonaVLAN.
Syntax
set interface vlan-id ip {ip-addr mask | ip-addr/mask-length}
Parameters
Defaults
None.
Mode
Enabled.
Usage
YoucanassignoneIPinterfacetoeachVLAN.
IfaninterfaceisalreadyconfiguredontheVLANyouspecify,thiscommandreplacesthe
interface.IfyoureplaceaninterfacethatisinuseasthesystemIPaddress,replacingtheinterface
caninterferewithsy stemtasksthatusethesystem
IPaddress,including thefollowing:
Mobilitydomainoperations
•DefaultsourceIPaddressusedinunsolicitedcomm unicationssuchasAAAaccounting
reportsandSNMPtraps
ThefollowingcommandconfiguresIPinterface10.10.10 .10/24onVLANdefault:
RBT-8100# set interface default ip 10.10.10.10/24
success: set ip address 10.10.10.10 netmask 255.255.255.0 on vlan default
ThefollowingcommandconfiguresIPinterface10.10.20 .10255.255.255.0onVLANmauve:
RBT-8100# set interface mauve ip 10.10.20.10 255.255.255.0
success: set ip address 10.10.20.10 netmask 255.255.255.0 on vlan mauve
Related Commands
clearinterfaceonpage 74
setinterfacestatusonpage 728
showinterfaceonpage 775
vlanid VLANnameornumber.
ipaddrmask IPaddressandsubnetmaskindotteddecimalnotation(for
example,10.10.10.10255.255.255.0).
ipaddr/masklength IPaddressandsubnetmasklengthinCIDRformat(forexample,
10.10.10.10/24).