
SUMMARY STEPS
1.
Router#
configure terminal
2.
Do one of the following:
•
Router(config)#
interface gigabitethernet slot
/
subslot
/
port.
subinterface-number ]
•
•
Router(config)#
interface tengigabitethernet slot
/
subslot
/
port.
subinterface-number ]
3.
Router(config-if)#
ip address ip-address mask
{
secondary
} |
dhcp
{
client-id interface-name
}{
hostname
host-name
}]
4.
Router(config-if)#
mtu bytes
5.
Router(config-if)#
standby
[
group-number
]
ip
[
ip-address
[
secondary
]]
6.
Router(config-if)#
no shutdown
DETAILED STEPS
Purpose
Command or Action
Enters global configuration mode.
Router#
configure terminal
Step 1
Specifies the Gigabit Ethernet, Ten Gigabit Ethernet, or Fast Ethernet interface to
configure, where:
Do one of the following:
Step 2
•
Router(config)#
interface
gigabitethernet slot
/
subslot
/
port.
subinterface-number ]
•
slot
/
subslot
/
port
—
Specifies the location of the interface. See the
the Interface Address on a SPA, on page 119
.
•
•
.subinterface-number
—
(Optional) Specifies a secondary interface
(subinterface) number.
•
Router(config)#
interface
tengigabitethernet slot
/
subslot
/
port.
subinterface-number ]
Example:
Example:
Router(config)#
interface
fastethernet
slot
/
subslot
/
port
.
subinterface-number
]
Sets a primary or secondary IP address for an interface that is using IPv4, where:
Router(config-if)#
ip address
ip-address mask
{
secondary
} |
dhcp
Step 3
•
ip-address
—
Specifies the IP address for the interface.
{
client-id interface-name
}{
hostname
host-name
}]
•
mask
—
Specifies the mask for the associated IP subnet.
•
secondary
—
(Optional) Specifies that the configured address is a secondary
IP address. If this keyword is omitted, the configured address is the primary
IP address.
Cisco ASR 1000 Series Aggregation Services Routers SIP and SPA Software Configuration Guide, Cisco IOS
XE Everest 16.5
118
OL-14127-17
Configuring the Ethernet SPAs
Required Configuration Tasks