Configuring a Gigabit Ethernet Interface
Perform this task to configure a basic Gigabit Ethernet or 10-Gigabit Ethernet interface:
SUMMARY STEPS
1. configure
2. interface type interface-path-id
3. ipv4 address ip-address mask
4. flow-control { bidirectional | egress | ingress }
5. mtu bytes
6. mac-address value1.value2.value3
7. negotiation auto (on Gigabit Ethernet interfaces only)
8. no shutdown
9. Use the commit or end command.
10. show interfaces [ GigabitEthernet | TenGigE ] instance
DETAILED STEPS
Step 1 configure
Example:
RP/0/RSP0/CPU0:router# configure terminal
Enters the Global Configuration mode.
Step 2 interface type interface-path-id
Example:
RP/0/RSP0/CPU0:router(config)# interface GigabitEthernet 0/1/0/0
Enters interface configuration mode and specifies the Ethernet interface name and notation rack/slot/module/port.
Step 3 ipv4 address ip-address mask
Example:
RP/0/RSP0/CPU0:router(config-if)# ipv4 address 172.18.189.38 255.255.255.224
Assigns an IP address and subnet mask to the interface.
• Replace ip-address with the primary IPv4 address for the interface.
• Replace mask with the mask for the associated IP subnet. The network mask can be specified in either of two
ways:
• The network mask can be a four-part dotted decimal address. For example, 255.0.0.0 indicates that each bit
equal to 1 means that the corresponding address bit belongs to the network address.
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
23
The Carrier Ethernet Model
Configuring a Gigabit Ethernet Interface