Configuring Interfaces on the PRP
Using Configuration Mode to Configure an Ethernet Interface
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
Performance Route Processor Installation and Configuration Guide
50
To perform a basic configuration of an Ethernet interface in configuration mode,
follow these steps:
At the privileged-level prompt, enter configuration mode and specify that the
console terminal is the source of the configuration subcommands as follows:
Router# configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#
At the configuration mode prompt, specify the Ethernet interface by entering the
subcommand interface, followed by the type (ethernet) and port (0) as follows:
Router(config)# interface ethernet 0
Router(config-if)#
If IP routing is enabled on the system, you can assign an IP address and subnet
mask to the interface with the ip address configuration subcommand, as in the
following example:
Router(config-int)# ip address 1.1.1.10 255.255.255.0
Add any additional configuration subcommands required to enable or disable
routing protocols (such as the no ip mroute-cache command) and to set other
interface characteristics.
Change the shutdown state to Up and enable the Ethernet interface as follows:
Router(config-int)# no shutdown
After you include all the configuration subcommands necessary to complete the
configuration, press Ctrl-Z to exit configuration mode.
Write the new configuration to nonvolatile memory as follows:
Router# write memory
[OK]
Router#
OL-11656-01