HP StorageWorks 8/80 Brocade Access Gateway Administrator's Guide v6.2.0 (53-1 - Page 39

Removing a port group, Renaming a port group, Disabling the Port Group policy

Page 39 highlights

Port Grouping policy 2 3. Enter the command ag --pgshow to verify the N_Port was deleted from the specified port group. switch:admin> ag --pgshow PG_ID N_Ports PG_Name 0 13;15 pg0 3 12;14 Test Removing a port group 1. Connect to the switch and log in as admin. 2. Enter the command ag --pgremove with the operands. switch:admin> ag --pgremove 3 Port Group 3 has been removed successfully 3. Enter the command ag --pgshow to verify the port group has been deleted. switch:admin> ag --pgshow PG_ID N_Ports PG_Name 0 12;13;14;15 pg0 Renaming a port group 1. Connect to the switch and log in as admin. 2. Enter the command ag --pgrename with the operands, for example, to rename port group with pgid 2 to "MyEvenFabric": switch:admin> ag --pgrename 2 MyEvenFabric Port Group 2 has been renamed as MyEvenFabric successfully 3. Enter the command ag --pgshow to verify the port group has been renamed. switch:admin> ag --pgshow PG_ID N_Ports PG_Name 0 None pg0 2 0;2 MyEvenFabric 3 1;3 FirstFabric Disabling the Port Group policy 1. Connect to the switch and log in as admin. 2. Enter the command ag --policydisable with the pg operand. switch:admin> ag --policydisable pg 3. Enter the command ag --pgshow to verify the Port Group policy is disabled. switch:admin> ag --policyshow AG Policy Policy Name State Port Grouping pg Disabled Access Gateway Administrator's Guide 21 53-1001189-01

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80

Access Gateway Administrator’s Guide
21
53-1001189-01
Port Grouping policy
2
3.
Enter the command
ag
--
pgshow
to verify the N_Port was deleted from the specified port
group.
switch:admin>
ag --pgshow
PG_ID
N_Ports
PG_Name
-----------------------------------------------------------------------------
0
13;15
pg0
3
12;14
Test
-----------------------------------------------------------------------------
Removing a port group
1.
Connect to the switch and log in as admin.
2.
Enter the command
ag
--
pgremove
with the
<PG_ID>
operands.
switch:admin>
ag --pgremove 3
Port Group 3 has been removed successfully
3.
Enter the command
ag
--
pgshow
to verify the port group has been deleted.
switch:admin>
ag --pgshow
PG_ID
N_Ports
PG_Name
-----------------------------------------------------------------------------
0
12;13;14;15
pg0
-----------------------------------------------------------------------------
Renaming a port group
1.
Connect to the switch and log in as admin.
2.
Enter the command
ag
--
pgrename
with the
<PG_ID> <newname>
operands, for example, to
rename port group with pgid 2 to "MyEvenFabric":
switch:admin> ag --pgrename 2 MyEvenFabric
Port Group 2 has been renamed as MyEvenFabric successfully
3.
Enter the command
ag
--
pgshow
to verify the port group has been renamed.
switch:admin> ag --pgshow
PG_ID N_Ports PG_Name
--------------------------------------
0 None pg0
2 0;2 MyEvenFabric
3 1;3 FirstFabric
Disabling the Port Group policy
1.
Connect to the switch and log in as admin.
2.
Enter the command
ag
--
policydisable
with the
pg
operand.
switch:admin>
ag --policydisable pg
3.
Enter the command
ag
--
pgshow
to verify the Port Group policy is disabled.
switch:admin>
ag --policyshow
AG Policy
Policy Name
State
----------------------------------------------------------
Port Grouping
pg
Disabled