Nhrp Nhs; Reset Mgre Session - H3C MSR Series Command Reference Manual

Comware 7 security
Hide thumbs Also See for MSR Series:
Table of Contents

Advertisement

If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Set the NHRP network ID to 10 for mGRE tunnel interface Tunnel1.
<Sysname> system-view
[Sysname] interface tunnel 1 mode mgre
[Sysname-Tunnel1] nhrp network-id 10
Related commands
interface tunnel (Layer 3—IP Services Command Reference)

nhrp nhs

Use nhrp nhs to configure an NHS private-to-public address mapping.
Use undo nhrp nhs to delete an NHS private-to-public address mapping.
Syntax
nhrp nhs nhs-address nbma nbma-address
undo nhrp nhs nhs-address nbma nbma-address
Default
No NHS private-to-public address mappings are configured.
Views
mGRE tunnel interface view
Predefined user roles
network-admin
Parameters
nhs-address: Specifies the private address of an NHS.
nbma-address: Specifies the public address (NBMA address) of the NHS.
Usage guidelines
You can configure multiple NHSs for redundancy. If multiple NHSs are configured, NHCs register
with all the NHSs.
Examples
# On interface Tunnel1, configure the NHS private address as 1.1.1.1 and public address as
120.1.1.120.
<Sysname> system-view
[Sysname] interface tunnel 1 mode mgre
[Sysname-Tunnel1] nhrp nhs 1.1.1.1 nbma 120.1.1.120
Related commands
interface tunnel (Layer 3—IP Services Command Reference)

reset mgre session

Use reset mgre session to reset dynamic mGRE sessions.
Syntax
reset mgre session [ interface tunnel interface-number [ peer ipv4-address ] ]
1151

Advertisement

Table of Contents
loading

Table of Contents