Cisco Systems MDS 9000 20-143, Examples, switch# show running-config diff Building Configuration

Models: MDS 9000

1 194
Download 194 pages 60.55 Kb
Page 143
Image 143
switch# show running-config diff Building Configuration ...

Chapter 20 Show Commands

show running-config

Examples

The following example displays the configuration currently running on the switch.

 

switch# show running-config

 

Building Configuration ...

 

interface

fc1/1

 

interface

fc1/2

 

interface

fc1/3

 

interface

fc1/4

 

interface

mgmt0

 

ip address

172.22.95.112 255.255.255.0

 

no shutdown

 

 

vsan database

 

boot system bootflash:isan-237; sup-1

 

boot kickstart bootflash:boot-237 sup-1

 

callhome

 

 

ip default-gateway 172.22.95.1

 

switchname

switch

 

trunk protocol enable

 

username admin password 5 /AFDAMD4B2xK2 role network-admin

The following example displays the difference between the running configuration and the startup configuration.

switch# show running-config diff Building Configuration ...

*** Startup-config

--- Running-config

****************** 1,16 ****

fcip enable

ip default-gateway 172.22.91.1

iscsi authentication none iscsi enable

! iscsi import target fc

iscsi virtual-target name vt pWWN 21:00:00:04:cf:4c:52:c1

all-initiator-permit

--- 1,20 ----

fcip enable

+ aaa accounting logsize 500

+

+

+

ip default-gateway 172.22.91.1

iscsi authentication none iscsi enable

! iscsi initiator name junk

iscsi virtual-target name vt pWWN 21:00:00:04:cf:4c:52:c1

all-initiator-permit

The following example displays running configuration information for a specified interface—in this case, the management interface.

 

 

Cisco MDS 9000 Family Command Reference

 

 

 

 

 

 

78-16088-01, Cisco MDS SAN-OS Release 1.3

 

 

20-143

 

 

 

 

 

Page 143
Image 143
Cisco Systems MDS 9000 manual 20-143, Examples, switch# show running-config diff Building Configuration