Cisco Systems Cisco IOS XR Enters global configuration mode, Syntax is, Devices on other networks

Models: Cisco IOS XR

1 222
Download 222 pages 13.32 Kb
Page 128
Image 128

Chapter 4 Configuring General Router Features

Configuring the Management Ethernet Interface

DETAILED STEPS

 

Command or Action

Purpose

Step 1

 

 

 

configure

 

Enters global configuration mode.

 

Example:

 

 

 

RP/0/RP0/CPU0:router# configure

 

Step 2

 

 

interface MgmtEthrack/slot/CPU0/port

Enters interface configuration mode and specifies the

 

 

 

Management Ethernet interface of the primary RP.

 

Example:

 

The syntax is

 

RP/0/RP0/CPU0:router(config)# interface

interface typerack/slot/module/port:

 

MgmtEth0/RP0/CPU0/0

The command parameters are described in Table 4-6.

 

 

 

Step 3

 

 

ipv4 address ipv4-address subnet-mask

Assigns an IP address and subnet mask to the interface.

 

Example:

 

 

 

RP/0/RP0/CPU0:router(config-if)# ipv4 address

 

 

10.1.1.1

255.0.0.0

 

Step 4

 

 

no shutdown

Places the interface in an “up” state.

 

Example:

 

 

 

RP/0/RP0/CPU0:router(config-if)# no shutdown

 

Step 5

 

 

 

exit

 

Exits the Management Ethernet interface configuration

 

 

 

mode.

Step 6

 

 

router static address family ipv4 unicast

Configures a default route to use for communications with

 

0.0.0.0/0 default-gateway

devices on other networks.

 

Example:

 

Replace default-gatewaywith the IP address of the

 

 

local gateway that can be used to reach other

 

RP/0/RP0/CPU0:router (config)# router static

networks.

 

address-family ipv4 unicast 0.0.0.0/0 12.25.0.1

This default route applies to all interfaces. You might

 

 

 

 

 

 

need to configure additional static routes to support

 

 

 

your network. For more information on configuring

 

 

 

static routes, see Cisco IOS XR Routing

 

 

 

Configuration Guide.

Step 7

 

 

 

commit

 

Commits the target configuration to the running

 

 

 

configuration.

 

Example:

 

 

 

RP/0/RP0/CPU0:router(config)# commit

 

 

 

 

 

 

Cisco IOS XR Getting Started Guide

4-42

OL-10957-02

Page 128
Image 128
Cisco Systems Cisco IOS XR Enters global configuration mode, Enters interface configuration mode and specifies, Syntax is