Specifications
4-10
Cisco XR 12000 Series Router SIP and SPA Software Configuration Guide, Release 3.2
Release 3.2, OL-6396-01, Rev.A1 January 9, 2006
Chapter 4 Configuring Ethernet SPAs on Cisco IOS XR Software
Configuration Examples
Configuration Examples
This section contains the following examples:
• Configuring an Ethernet Interface Example, page 4-10
• Configuring MAC Accounting Example, page 4-11
Configuring an Ethernet Interface Example
The following example indicates how to configure an interface for the Gigabit Ethernet SPA:
RP/0/0/CPU0:Router# configure
RP/0/0/CPU0:Router(config)# interface gigabitethernet 0/2/0/0
RP/0/0/CPU0:Router(config-if)# ipv4 address 172.18.189.38 255.255.255.224
RP/0/0/CPU0:router(config-if)# flow-control ingress
RP/0/0/CPU0:Router(config-if)# mtu 1448
RP/0/0/CPU0:Router(config-if)# mac-address 0000.0c00.e8bb
RP/0/0/CPU0:Router(config-if)# no shutdown
RP/0/0/CPU0:Router(config-if)# end
Uncommitted changes found, commit them before exiting(yes/no/cancel)? [cancel]:yes
LC/0/2/CPU0:Feb 13 03:47:44.622 : ifmgr[137]: %PKT_INFRA-LINK-3-UPDOWN : Interface
GigabitEthernet0/2/0/0, changed state to Up
RP/0/0/CPU0:Feb 13 03:47:45.010 : config[65730]: %MGBL-LIBTARCFG-6-COMMIT : Configuration
committed by user 'xxx'. Use 'show commit changes 1000012264' to view the changes.
RP/0/0/CPU0:Feb 13 03:47:45.091 : config[65730]: %MGBL-SYS-5-CONFIG_I : Configured from
console by xxx
RP/0/0/CPU0:Router# show interfaces gigabitethernet 0/2/0/0
GigabitEthernet0/2/0/0 is up, line protocol is up
Hardware is GigabitEthernet, address is 0000.0c00.e8bb (bia 0000.0c00.e8bb)
Internet address is 172.18.189.38/27
MTU 1448 bytes, BW 1000000 Kbit
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA,
Full-duplex, 1000Mb/s, SX, link type is force-up
output flow control is off, input flow control is on
loopback not set
Last clearing of "show interface" counters never
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
0 packets input, 0 bytes, 0 total input drops
0 drops for unrecognized upper-level protocol
Received 0 broadcast packets, 0 multicast packets
0 runts, 0 giants, 0 throttles, 0 parity
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
1 packets output, 46 bytes, 0 total output drops
Output 0 broadcast packets, 0 multicast packets
0 output errors, 0 underruns, 0 applique, 0 resets
0 output buffer failures, 0 output buffers swapped out
0 carrier transitions