Example For Configuring Nap-Based Remote Deployment In Automatic Mode - Huawei V100R006C00 Configuration Manual

Table of Contents

Advertisement

Quidway S5700 Series Ethernet Switches
Configuration Guide - Device Management
[SwitchB-GigabitEthernet0/0/1] nap local-ip 12.12.12.5 sub-ip 12.12.12.9 peer-ip
12.12.12.6 sub-ip 12.12.12.10 30
Are you sure to continue?[Y/N] y
# After the preceding configuration is complete, run the display nap status command on
Switch B. You can view that NAP has been enabled on Switch B. Then, run the display nap
interface command. You can view that the primary and secondary IP addresses have been
assigned to the master and slave interfaces. For example:
[SwitchB-GigabitEthernet0/0/1] display nap status
Slave port status
Nap ip-pool/Mask
[SwitchB-GigabitEthernet0/0/1] display nap interface
------------------------------------------------------
NAP master port list
Port count
------------------------------------------------------
Port property
Current status
Local port
Peer port
Local primary ip
Peer primary ip
Local secondary ip
Peer secondary ip
Hello time
Linked time
------------------------------------------------------
Step 3 Log in to the slave device from the master device.
# Configure Switch B.
[SwitchB-GigabitEthernet0/0/1] nap login neighbor
Trying 12.12.12.10 ...
Press CTRL+K to abort
Connected to 12.12.12.10 ...
Info: The max number of VTY users is 10, and the number
Step 4 Disable NAP on the slave device.
# Configure Switch C.
<Quidway> system-view
[Quidway] sysname SwitchC
[SwitchC] undo nap slave enable
----End
Configuration Files
None
2.3.2 Example for Configuring NAP-based Remote Deployment in
Automatic Mode
In this example, the temporary neighbor relationship is set up between a switch and another
switch that has the empty configuration to implement remote deployment in automatic mode.
Networking Requirements
As shown in
Switch B is the master device, and temporary neighbor relationship is to be set up between
Issue 01 (2011-07-15)
: Enable
: 1
of current VTY users on line is 1.
Figure
2-2, the user needs to perform a remote login to Switch B from Switch A.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
: 10.167.253.0/24
: Master
: IP-ASSIGNED
: GigabitEthernet0/0/1
: GigabitEthernet0/0/1
: 12.12.12.5
: 12.12.12.6
: 12.12.12.9
: 12.12.12.10
: 3s
: 00:02:33
2 NAP Configuration
21

Advertisement

Table of Contents
loading

Table of Contents