cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
776
Views
0
Helpful
15
Replies

trying to configure mgmt port on cisco 4331 router

moman62
Level 1
Level 1

port is up:

Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0/0 unassigned YES NVRAM administratively down down
GigabitEthernet0/0/1 unassigned YES NVRAM administratively down down
GigabitEthernet0/0/2 unassigned YES NVRAM administratively down down
GigabitEthernet0 10.0.10.5 YES NVRAM up up

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.0.10.5, timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)

interface GigabitEthernet0
vrf forwarding Mgmt-intf
ip address 10.0.10.5 255.255.255.0
negotiation auto

 

1 Accepted Solution

Accepted Solutions

Did you connect your laptop to the management port?

https://www.cisco.com/c/en/us/td/docs/routers/access/4400/hardware/installation/guide4400-4300/C4400_isr/Overview.html#79641

You should also assign an IP address to your laptop from the 10.0.10.0/24 range.

Regards, LG
*** Please Rate All Helpful Responses ***

View solution in original post

15 Replies 15

@moman62 

 In order to ping with vrf, you need to put it in the ping command

ping vrf Mgmt-intf 10.0.10.5. 

would I need to create a static route? since I'm only using the 4331 router?

It will depend. In order to send traffic from VRF mgmt out, you need route. You can add a default route pointing to your gateway. 

The management interface GigabitEthernet0 is configured in a separate vrf so the correct command should be:

ping vrf Mgmt-intf 10.0.10.5

The VRF - Virtual Routing and Forwarding - configuration on a router is meant to separate different routing instances on the router. For example the Mgmt-intf vrf has only the Gig0 configured in it which is separate from the normal routing table of the router.

You can see what routes and interfaces you have in a vrf by typing the command show ip route vrf <name>

Puting the management interface of a device in a separate vrf is used when you have an OOB network for managing the devices.

HTH

Regards, LG
*** Please Rate All Helpful Responses ***

moman62
Level 1
Level 1

can i use the ip address to connect to cisco mgmt portal?

Well, as long as you have a proper route in your vrf and your destination (cisco mgmt portal) has a similar route for the returning packets, you can reach just about any destination.

Regards, LG
*** Please Rate All Helpful Responses ***

moman62
Level 1
Level 1

I am only using the one router so I'using

 ip route vrf "CustomerVPN" 10.10.10.0  

so I don't know what to add for the next hop?

That is simple - the IP address of the router that has knowledge on how to reach network 10.10.10.0/24.

Configuring a static route in a routing context (vrf) is no different from configuring a static route in the default routing context - where you don't specify the vrf because default is implied.

Regards, LG
*** Please Rate All Helpful Responses ***

moman62
Level 1
Level 1

still cannot access webui am I missing anything?

ip http server
ip http authentication local
ip http secure-server
ip forward-protocol nd
ip route vrf Mgmt-intf 10.0.0.0 255.255.255.0 192.168.0.1

On what ip address are you trying to access the webui? 10.0.10.5?

Regards, LG
*** Please Rate All Helpful Responses ***

yes

Did you connect your laptop to the management port?

https://www.cisco.com/c/en/us/td/docs/routers/access/4400/hardware/installation/guide4400-4300/C4400_isr/Overview.html#79641

You should also assign an IP address to your laptop from the 10.0.10.0/24 range.

Regards, LG
*** Please Rate All Helpful Responses ***

moman62
Level 1
Level 1

I was able to see the webui page, but what is the default user/password?

There is no default username and password. You will have to configure them through the console connection using the

username <your name> secret <your password>

from configuration mode.

Regards, LG
*** Please Rate All Helpful Responses ***
Review Cisco Networking for a $25 gift card