interface gcc2
To configure the GCC2 interface, use the
interface gcc2
command in configuration mode.
interface gcc2
R/S/I/P/L
Syntax Description
Rack/Slot/Instance/Port/Lane of the GCC2 interface.
R/S/I/P/L
Command Default
None
Command Modes
Configuration
Command History
Modification
Release
This command is
introduced.
Release
7.0.1
Example
The following is a sample to configure the GCC2 interface using the static IP address.
RP/0/RP0/CPU0:ios#config
Tue Mar 12 11:16:04.749 UTC
RP/0/RP0/CPU0:ios(config)#
interface gcc2 0/1/0/0/1
P/0/RP0/CPU0:ios(config-if)#ipv4 address 10.0.0.1 255.255.255.0
RP/0/RP0/CPU0:ios(config-if)#commit
Tue Mar 12 11:18:32.867 UTC
RP/0/RP0/CPU0:ios(config-if)#exit
RP/0/RP0/CPU0:ios(config)#exit
RP/0/RP0/CPU0:ios#show run interface gcc2 0/1/0/0/1
Tue Mar 12 11:19:00.475 UTC
interface gcc2 0/1/0/0/1
ipv4 address 10.0.0.1 255.255.255.0
!
The following is a sample to configure the GCC2 interface using the loopback IP address.
RP/0/RP0/CPU0:ios#configure
RP/0/RP0/CPU0:R2(config)#interface gcc2 0/1/0/0/1
RP/0/RP0/CPU0:R2(config-if)#ipv4 unnumbered loopback 0
RP/0/RP0/CPU0:ios(config-if)#exit
RP/0/RP0/CPU0:ios(config)#exit
Command Reference for Cisco NCS 1004
38
Commands
interface gcc2