Cisco Systems SMNMADPTR manual Examples, using the commands ip interface external and ip address

Models: SMNMADPTR

1 58
Download 58 pages 60.56 Kb
Page 9
Image 9
using the commands ip interface external and ip address

How to Install, Upgrade, or Downgrade NME-NAM-120S

 

Command or Action

Purpose

Step 6

 

 

service-module external ip address

Specifies the IP address for the external LAN interface on

 

external-ip-address subnet-mask

the module. Arguments are as follows:

 

Example:

external-ip-address—IP address for the interface

 

subnet-mask—Subnet mask to append to the IP address

 

Router(config-if)# service-module external ip

 

 

 

address 172.0.0.30 255.255.255.0

This command selects and configures the external interface

 

 

for management traffic. This command is equivalent to

 

 

using the commands ip interface external and ip address

 

 

<address> <mask> on the NME-NAM-120S CLI.

 

 

Note If you want to use the internal interface for

 

 

management traffic, use the Step 5 instead.

Step 7

 

 

service-module ip default-gateway

Specifies the IP address for the default gateway router for

 

gateway-ip-address

the module. The argument is as follows:

 

Example:

gateway-ip-address—IP address for the gateway router

 

Note Use this step only if you used Step 5 or Step 6.

 

Router(config-if)# service-module ip

 

 

 

default-gateway 10.0.0.40

 

Step 8

 

 

end

Returns to global configuration mode on the host router.

 

Example:

 

 

Router(config-if)# exit

 

Step 9

 

 

copy running-config startup-config

Saves the router’s new running configuration.

 

Example:

 

 

Router# copy running-config startup-config

 

Step 10

 

 

show running-config

Displays the router’s running configuration, so that you can

 

 

verify address configurations.

 

Example:

 

 

Router# show running-config

 

 

 

 

Examples

The following partial output from the show running-configcommand shows how the interfaces are configured.

interface Integrated-Service-engine1/0 ip address 10.0.0.20 255.255.255.0

service-module ip address 10.0.0.21 255.255.255.0 service-module ip default-gateway 10.0.0.20

Cisco Branch Routers Series Network Analysis Module (NME-NAM-120S) Installation and Configuration Note, 4.0

 

OL-14942-02

9

 

 

 

Page 9
Image 9
Cisco Systems SMNMADPTR Examples, using the commands ip interface external and ip address, Command or Action, Purpose