Configuring Gigabit Ethernet Interfaces
Configure the Gigabit Ethernet interfaces to allow remote access to the C-series platform. You can specify an IP address with mask or a broadcast address with mask for an interface.
Use the following configuration statements to configure Gigabit Ethernet interfaces and the [edit] hierarchy level:
interfaces name unitunit-numberinterfaces name unitunit-numberfamily inet {addressaddress;broadcastbroadcast;}To configure a Gigabit Ethernet interface:
- From configuration mode, access the configuration statement that configures the interface.
[edit]user@host#edit interfaces nameunit unit-numberwhere
unit-numberis a number that you can assign for a logical interface identifier.[edit]user@host#edit interfaces eth0
- Specify the unit, family, and IP address for the interface.
[edit interfaces eth0]user@host#set unitnumberfamily inet addressaddressFor example, to configure an interface with only an IP address:
[edit interfaces eth0]user@host#set unit 0 family inet address 192.2.0.10/24
- (Optional) Specify the unit, family, and broadcast address for the interface.
[edit interfaces eth0]user@host#set unitnumberfamily inet broadcastbroadcastFor example, to configure an interface with a broadcast IP address:
[edit interfaces eth0]user@host#set unit 0 family inet address 192.2.0.20/24