beautypg.com

H3C Technologies H3C S3600 Series Switches User Manual

Page 828

background image

1-24

[Sysname] interface Ethernet 1/0/1

[Sysname-Ethernet1/0/1] ntdp enable

[Sysname-Ethernet1/0/1] quit

# Enable the cluster function.

[Sysname] cluster enable

2) Configure the management device

# Add port Ethernet 1/0/1 to VLAN 2.

system-view

[Sysname] vlan 2

[Sysname-vlan2] port Ethernet 1/0/1

[Sysname-vlan2] quit

# Configure the IP address of VLAN-interface 2 as 163.172.55.1.

[Sysname] interface Vlan-interface 2

[Sysname-Vlan-interface2] ip address 163.172.55.1 255.255.255.0

[Sysname-Vlan-interface2] quit

# Disable NDP on the uplink port Ethernet 1/0/1.

[Sysname] ndp enable

[Sysname] undo ndp enable interface Ethernet 1/0/1

[Sysname] interface Ethernet 1/0/1

[Sysname-Ethernet1/0/1] undo ntdp enable

[Sysname-Ethernet1/0/1] quit

# Enable NDP on Ethernet 1/0/2 and Ethernet 1/0/3.

[Sysname] interface Ethernet 1/0/2

[Sysname-Ethernet1/0/2] ndp enable

[Sysname-Ethernet1/0/2] quit

[Sysname] interface Ethernet 1/0/3

[Sysname-Ethernet1/0/3] ndp enable

[Sysname-Ethernet1/0/3] quit

# Set the hold time of NDP information to 200 seconds.

[Sysname] ndp timer aging 200

# Set the interval between sending NDP packets to 70 seconds.

[Sysname] ndp timer hello 70

# Enable NTDP globally and on Ethernet 1/0/2 and Ethernet 1/0/3.

[Sysname] ntdp enable

[Sysname] interface Ethernet 1/0/2

[Sysname-Ethernet1/0/2] ntdp enable

[Sysname-Ethernet1/0/2] quit

[Sysname] interface Ethernet 1/0/3

[Sysname-Ethernet1/0/3] ntdp enable

[Sysname-Ethernet1/0/3] quit

# Set the topology collection range to 2 hops.

[Sysname] ntdp hop 2

# Set the delay for a member device to forward topology collection requests to 150 ms.

This manual is related to the following products: