beautypg.com

4 diff – FUJITSU XG Series P3NK-4452-01ENZD User Manual

Page 371

background image

XG Series User's Guide

Chapter 5 Command Reference

Configuration Display, Delete and Operation Commands

371

5.19.1.4 diff

Function

Display the configuration difference.

Available Model

XG0224 / XG0448 / XG2600

Syntax

diff

Options


Specify the name of the compare source file.

Specify the name of the compare target file.

Use Mode

Operation mode (admin class)
Configuration mode (admin class)

Explanation

Display only the differences between the specified files. The information only in
begins with "<" and one only in begins with ">".
The following file names can be specified.
candidate-config : Currently edited configuration file
running-config

: Running configuration file

startup-config

: Startup configuration file

config1

: Configuration 1 file

config2

: Configuration 2 file

Execution Example

# diff candidate-config running-config

===

> vlan 1 name rmt1

===

< vlan 3 name rmt3

< vlan 4 name rmt4

< vlan 5 name rmt5

< vlan 6 name rmt6

---

> vlan 3 name inter3

===

< vlan 8 name rmt8

< vlan 9 name rmt9

< vlan 10 name rmt10

< syslog server 192.168.33.63

#