04-Layer 3—IP Services Command Reference

HomeSupportReference GuidesCommand ReferencesH3C S6800[S6860][S6861] (R27xx) & S6820 (R630x) Switch Series Command Reference-6W10204-Layer 3—IP Services Command Reference
08-IRDP commands
Title Size Download
08-IRDP commands 54.44 KB

IRDP commands

ip irdp

Use ip irdp to enable IRDP on an interface.

Use undo ip irdp to disable IRDP on an interface.

Syntax

ip irdp

undo ip irdp

Default

IRDP is disabled on an interface.

Views

Interface view

Predefined user roles

network-admin

Usage guidelines

This command validates the IRDP settings on an interface. After the IRDP is enabled on an interface, the device can send RA messages out of the interface.

Examples

# Enable IRDP on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] ip irdp

ip irdp address

Use ip irdp address to specify an IP address for an interface to proxy-advertise.

Use undo ip irdp address to remove the specified proxy-advertised IP address.

Syntax

ip irdp address ip-address preference-value

undo ip irdp address [ ip-address ]

Default

No proxy-advertised IP address is specified.

Views

Interface view

Predefined user roles

network-admin

Parameters

ip-address: Specifies an IP address in dotted decimal notation.

preference-value: Specifies the preference for the IP address, in the range of –2147483648 to 2147483647. A larger preference value represents a higher preference.

Usage guidelines

You can specify a maximum of four IP addresses for an interface to proxy-advertise. An RA sent on the interface includes the interface IP addresses and the proxy-advertised IP addresses.

If you do not specify an IP address for the undo command, this command removes all proxy-advertised IP addresses from the interface.

Examples

# Specify the IP address 192.168.0.8 and its preference 1600 for VLAN-interface 100 to proxy-advertise.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] ip irdp address 192.168.0.8 1600

Related commands

ip irdp

ip irdp interval

Use ip irdp interval to set the maximum and minimum intervals for advertising RAs on an interface.

Use undo ip irdp interval to restore the default.

Syntax

ip irdp interval max-interval [ min-interval ]

undo ip irdp interval

Default

The maximum interval is 600 seconds, and the minimum interval is 3/4 of the maximum interval.

Views

Interface view

Predefined user roles

network-admin

Parameters

max-interval: Specifies the maximum interval in seconds, in the range of 4 to 1800.

min-interval: Specifies the minimum interval in seconds, in the range of 3 to max-interval.

Usage guidelines

The device broadcasts or multicasts an RA randomly between the maximum and minimum intervals.

Make sure the maximum interval is not longer than the lifetime of advertised IP addresses. Otherwise, the lifetime is automatically adjusted to a value three times the maximum interval.

Examples

# On VLAN-interface 100, set the maximum interval to 500 seconds and the minimum interval to 300 seconds.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] ip irdp interval 500 300

Related commands

ip irdp

ip irdp lifetime

ip irdp lifetime

Use ip irdp lifetime to set the lifetime of IP addresses advertised on an interface.

Use undo ip irdp lifetime to restore the default.

Syntax

ip irdp lifetime lifetime-value

undo ip irdp lifetime

Default

The lifetime is 1800 seconds.

Views

Interface view

Predefined user roles

network-admin

Parameters

lifetime-value: Specifies the lifetime in seconds, in the range of 4 to 9000.

Usage guidelines

The lifetime applies to the following IP addresses:

·     IP addresses of the interface.

·     IP addresses for the interface to proxy-advertise.

The lifetime cannot be shorter than the maximum advertising interval on an interface.

Examples

# Set the lifetime of IP addresses advertised on VLAN-interface 100 to 2000 seconds.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] ip irdp lifetime 2000

Related commands

ip irdp

ip irdp interval

ip irdp multicast

Use ip irdp multicast to specify the multicast address 224.0.0.1 as the destination IP address for RAs sent on an interface.

Use undo ip irdp multicast to restore the default.

Syntax

ip irdp multicast

undo ip irdp multicast

Default

RAs use the broadcast address 255.255.255.255 as the destination IP address.

Views

Interface view

Predefined user roles

network-admin

Examples

# Specify the multicast address 224.0.0.1 as the destination IP address for RAs sent on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] ip irdp multicast

Related commands

ip irdp

ip irdp preference

Use ip irdp preference to specify the preference of advertised primary and secondary IP addresses on an interface.

Use undo ip irdp preference to restore the default.

Syntax

ip irdp preference preference-value

undo ip irdp preference

Default

The preference of advertised IP addresses is 0.

Views

Interface view

Predefined user roles

network-admin

Parameters

preference-value: Specifies the preference in the range of –2147483648 to 2147483647.

Usage guidelines

A larger preference value represents a higher preference. To request that neighboring hosts do not use any advertised IP address as the default gateway, set the value to the minimum value.

Examples

# Specify preference 1 for IP addresses advertised on VLAN-interface 100.

<Sysname> system-view

[Sysname] interface vlan-interface 100

[Sysname-Vlan-interface100] ip irdp preference 1

Related commands

ip irdp

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网