Configuring Ethernet Interfaces
Viewing the Status of Ethernet Interfaces or Subinterfaces
3-20
Assigning an IP Address
You must assign the Ethernet subinterfaces a static IP address. From the
Ethernet subinterface configuration mode context, enter:
Syntax: ip address <A.B.C.D> <subnet mask | /<prefix length>
For example, if you are configuring a subinterface for VLAN 2 and VLAN 2
encompasses the subnet 192.168.115.0 255.255.255.0, you might enter:
ProCurve(config-eth 0/1.1)# ip address 192.168.115.5 /24
Viewing the Status of Ethernet Interfaces
or Subinterfaces
After you configure an Ethernet interface or subinterface, you may want to
view the configuration settings you have entered, or you may want to deter-
mine the status of the interface—is the interface up, down, or administratively
down? You can use the following commands to view the configuration and
status of Ethernet interfaces and subinterfaces:
show interfaces command
show running-config commands
show interfaces Command
To view the status of an Ethernet interface, move to the enable mode context
and enter:
Syntax: show interfaces ethernet 0/<port>
For example, to view the status of the Ethernet 0/1 interface, enter:
ProCurve# show interfaces ethernet 0/1
If you are not at the enable mode context, you can use the do command. Enter:
ProCurve(config-eth 0/1)# do show interfaces ethernet 0/1