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 7‐4
• setinterfacestatusonpage 7‐28
• showinterfaceonpage 7‐75
vlan‐id VLANnameornumber.
ip‐addrmask IPaddressandsubnetmaskindotteddecimalnotation(for
example,10.10.10.10255.255.255.0).
ip‐addr/mask‐length IPaddressandsubnetmasklengthinCIDRformat(forexample,
10.10.10.10/24).