Chapter 10
Configuring the Ethernet SPAs
Configuration Examples
This section includes the following configuration examples:
•
•
•
•
•
Basic Interface Configuration Example
The following example shows how to enter global configuration mode to specify the interface that you
want to configure, configure an IP address for the interface, and save the configuration. This example
configures interface port 1 on the SPA that is located in subslot 0 of the SIP that is installed in slot 0 of
the Cisco ASR 1000 Series Router:
! Enter global configuration mode.
!
Router# configure terminal
! Enter configuration commands, one per line. End with CNTL/Z.
!
! Specify the interface address.
!
Router(config)# interface gigabitethernet 0/0/1
!
! Configure an IP address.
!
Router(config-if)# ip address 192.168.50.1 255.255.255.0
!
! Start the interface.
!
Router(config-if)# no shut
!
! Save the configuration to NVRAM.
!
Router(config-if)# exit
Router# copy running-config startup-config
MAC Address Configuration Example
The following example changes the default MAC address on the interface to 1111.2222.3333:
! Enter global configuration mode.
!
Router# configure terminal
! Enter configuration commands, one per line. End with CNTL/Z.
!
! Specify the interface address
!
Router(config)# interface gigabitethernet 0/0/1
!
! Modify the MAC address.
!
Router(config-if)# mac-address 1111.2222.3333
OL-14127-08
Basic Interface Configuration Example, page 10-33
MAC Address Configuration Example, page 10-33
MAC Address Accounting Configuration Example, page 10-34
MTU Configuration Example, page 10-34
VLAN Configuration Example, page 10-35
Cisco ASR 1000 Series Aggregation Services Routers SIP and SPA Software Configuration Guide
Configuration Examples
10-33