This section describes how to complete the basic configuration for a Fast Ethernet, Gigabit Ethernet, or 10-Gigabit Ethernet interface. CLI examples are provided with the individual command descriptions.
To configure an Ethernet interface:
debounce
![]() |
Note: Debounce configuration is supported for all Ethernet module combinations on E-series routers. |
- host1(config-if)#debounce 3
debounce-interval
![]() |
Note: Debounce configuration is supported for all Ethernet module combinations on E-series routers. |
- host1(config-if)#debounce—interval 4
duplex
![]() |
Note: If you set either the line speed or duplex mode to automatically negotiate by using the automatically negotiate keyword, the router negotiates both parameters. You can specify different values to prevent the router from negotiating these parameters. Automatic negotiation is not supported for the FE-8 SFP I/O module. For this I/O module, full duplex mode is the default. |
- host1(config-if)#duplex full
ethernet description
- host1(config-if)#ethernet description abcd1234
interface fastEthernet
- host1(config)#interface fastEthernet 1/0
- host1(config)#interface fastEthernet 6/0/0
interface gigabitEthernet
![]() |
Note: On the GE I/O module, you can configure only the primary port, 0. The router automatically uses the redundant port, 0R, if the primary port fails. On the GE-2 SFP I/O module, you can configure only the primary ports, 0 and 1. The router automatically uses the corresponding redundant port, 0R or 1R, if the primary port fails. On the OC3-2 GE APS I/O module, you can configure only port 2. Ports 0 and 1 are reserved for OC3/STM1 ATM interfaces. This I/O module does not support redundant ports in the current release. On the ES2-S1 GE-4 IOA, you can configure all four ports. On the ES2-S1 GE-8 IOA, you can configure all eight ports. |
- host1(config)#interface gigabitEthernet 1/0
- host1(config)#interface gigabitEthernet 2/1
- host1(config)#interface gigabitEthernet 4/0/1
interface tenGigabitEthernet
![]() |
Note: On the ES2-S2 10GE PR IOA, you can configure only the primary port, 0. The router automatically uses the redundant port, 0R, if the primary port fails. |
- host1(config)#interface tenGigabitEthernet
4/0/1
ip mac-validate
- host1(config)#interface gigabitEthernet 2/0
- host1(config-if)#ip address 4.4.4.2 255.255.255.0
- host1(config-if)#ip mac-validate strict
- host1(config-if)#exit
![]() |
Note: For additional information about MAC address validation, see the arp validate command description in JUNOSe IP, IPv6, and IGP Configuration Guide. |
load-interval
- host1(config-if)#load-interval 90
mtu
- host1(config-if)#mtu 9000
speed
![]() |
Note: If you set either the line speed or duplex mode to automatically negotiate by using the automatically negotiate keyword, the router negotiates both parameters. You can specify different values to prevent the router from negotiating these parameters. Automatic negotiation is not supported for the FE-8 SFP I/O module. For this I/O module, the default speed is 100 Mbps. |
- host1(config-if)#speed 10