Pergunta
Não vemos a segunda interface de gerenciamento no ASR-9901.
Intf Intf LineP Encap MTU BW
Tipo de Estado do Estado do Nome (byte) (Kbps)
--------------------------------------------------------------------------------
Nu0 up Nulo 1500 0
Mg0/RSP0/CPU0/0 up ARPA 1514 1000000
Gi0/0/0/0 up ARPA 1514 1000000
Resposta
No eXR, um MgmtEth está disponível para a VM XR e a outra interface MgmtEth para a VM Admin.
Saída CLI
P/0/RSP1/CPU0:ASR-9904-eXR#show interfaces brief | i Mg
Qui Out 10 08:07:37.708 HKT
Mg0/RSP0/CPU0/0 up ARPA 1514 100000
Mg0/RSP1/CPU0/0 down ARPA 1514 1000000
RP/0/RSP1/CPU0:ASR-9904-eXR#admin
Qui Out 10 08:07:42.689 HKT
syzaidi conectado de 127.0.0.1 usando o console em sysadmin-vm:0_RSP0
sysadmin-vm:0_RSP0# show interface ?
Descrição: Management Interfaces
Possíveis conclusões:
MgmtEth0/RSP0/0/0
MgmtEth0/RSP1/0/0
| Modificadores de saída
<cr>
sysadmin-vm:0_RSP0# show interface
Perguntas freqüentes:
1) Posso configurar a interface de gerenciamento na VM do administrador?
Sim, ele pode ser configurado com um endereço ip da seguinte maneira:
sysadmin-vm:0_RSP0(config)# int MgmtEth 0/RSP0/0/0 ?
Possible completions:
arp Configure static ARP entry
default-gw Default Gateway address: A.B.C.D
ipv4 IPv4 parameters
mtu MTU for interface
shutdown Shut the interface down
<cr>
sysadmin-vm:0_RSP0(config)#
2) Posso usar este ip de gerenciamento para telnet/ ssh ou acesso fora da banda?
Não, essa interface não é exposta ao mundo exterior.
3) Qual é a finalidade da interface de gerenciamento na VM do administrador?
Essa interface pode ser usada para copiar arquivos do roteador para o loc externo usando a interface mgmt.
4) Se um usuário desligar a interface de gerenciamento na VM do administrador, perderemos o acesso à VM do administrador?
Não, o desligamento da interface não bloqueia o acesso à VM do administrador. Verifique abaixo:
sysadmin-vm:0_RSP0(config)# interface MgmtEth 0/RSP0/0/0
Wed Mar 31 19:20:15.547 UTC+00:00
sysadmin-vm:0_RSP0(config-MgmtEth-0/RSP0/0/0)# shut
Wed Mar 31 19:20:19.472 UTC+00:00
sysadmin-vm:0_RSP0(config-MgmtEth-0/RSP0/0/0)# commit
Wed Mar 31 19:20:22.438 UTC+00:00
Commit complete.
sysadmin-vm:0_RSP0(config-MgmtEth-0/RSP0/0/0)#
sysadmin-vm:0_RSP0(config-MgmtEth-0/RSP0/0/0)#
sysadmin-vm:0_RSP0(config-MgmtEth-0/RSP0/0/0)# exit
Wed Mar 31 19:20:25.529 UTC+00:00
sysadmin-vm:0_RSP0(config)# exit
Wed Mar 31 19:20:27.353 UTC+00:00
sysadmin-vm:0_RSP0#
sysadmin-vm:0_RSP0#
sysadmin-vm:0_RSP0# sh int
Wed Mar 31 19:20:29.235 UTC+00:00
MgmtEth0/RSP0/0/0 Link encap: Ethernet HWaddr 02:b3:90:92:72:98
inet addr: 0.0.0.0
DOWN BROADCAST MULTICAST MTU:1500 Metric:1 <<< port is down.
RX packets: 0 errors:0 dropped:0 overruns:0 frame:0
TX packets: 5 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes: 0 TX bytes: 398
sysadmin-vm:0_RSP0# exit
Wed Mar 31 19:20:34.518 UTC+00:00
RP/0/RSP0/CPU0:ASR-9904-E-eXR_NPE1#
RP/0/RSP0/CPU0:ASR-9904-E-eXR_NPE1#
RP/0/RSP0/CPU0:ASR-9904-E-eXR_NPE1#
RP/0/RSP0/CPU0:ASR-9904-E-eXR_NPE1#admin
Wed Mar 31 19:20:36.732 UTC
saavadha connected from 127.0.0.1 using console on sysadmin-vm:0_RSP0
sysadmin-vm:0_RSP0# exit <<< we are still able to connect to the admin VM.
Wed Mar 31 19:20:41.461 UTC+00:00
RP/0/RSP0/CPU0:ASR-9904-E-eXR_NPE1#
RP/0/RSP0/CPU0:ASR-9904-E-eXR_NPE1#
RP/0/RSP0/CPU0:ASR-9904-E-eXR_NPE1#conf t
Wed Mar 31 19:20:44.587 UTC
RP/0/RSP0/CPU0:ASR-9904-E-eXR_NPE1(config)#exit
RP/0/RSP0/CPU0:ASR-9904-E-eXR_NPE1#
RP/0/RSP0/CPU0:ASR-9904-E-eXR_NPE1#admin conf
Wed Mar 31 19:21:03.263 UTC
Mar 31 19:21:03 : ADMIN-CLI: ERROR: ABORT: Please run this command from admin prompt
RP/0/RSP0/CPU0:ASR-9904-E-eXR_NPE1#admin
Wed Mar 31 19:21:05.319 UTC
saavadha connected from 127.0.0.1 using console on sysadmin-vm:0_RSP0
sysadmin-vm:0_RSP0# con
Possible completions:
config Manipulate software configuration information
controller Access to hardware controller data
sysadmin-vm:0_RSP0# config
Wed Mar 31 19:21:09.125 UTC+00:00
Entering configuration mode terminal
sysadmin-vm:0_RSP0(config)# interface MgmtEth 0/RSP0/0/0
Wed Mar 31 19:21:19.887 UTC+00:00
sysadmin-vm:0_RSP0(config-MgmtEth-0/RSP0/0/0)# no shut
Wed Mar 31 19:21:21.662 UTC+00:00
sysadmin-vm:0_RSP0(config-MgmtEth-0/RSP0/0/0)# commit
Wed Mar 31 19:21:23.798 UTC+00:00
Commit complete.
sysadmin-vm:0_RSP0(config-MgmtEth-0/RSP0/0/0)# exit
Wed Mar 31 19:21:25.293 UTC+00:00
sysadmin-vm:0_RSP0(config)# exit
Wed Mar 31 19:21:26.162 UTC+00:00
sysadmin-vm:0_RSP0#
sysadmin-vm:0_RSP0#
sysadmin-vm:0_RSP0# sh int
Wed Mar 31 19:21:27.967 UTC+00:00
MgmtEth0/RSP0/0/0 Link encap: Ethernet HWaddr 02:b3:90:92:72:98
inet addr: 0.0.0.0
UP RUNNING BROADCAST MULTICAST MTU:1500 Metric:1
RX packets: 0 errors:0 dropped:0 overruns:0 frame:0
TX packets: 11 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes: 0 TX bytes: 906
sysadmin-vm:0_RSP0#