HP GbE2c HP GbE2c Ethernet Blade Switch for c-Class BladeSystem Application Gu - Page 50

Configuring ports and VLANs on Switch 2 (CLI example), On Switch 2

Page 50 highlights

2. Configure the VLANs and their member ports. Since all ports are by default configured for VLAN 1, configure only those ports that belong to VLAN 2. Crosslink ports 17 and 18 must belong to VLANs 1 and 2. >> /cfg/l2/vlan 2 >> VLAN 2# add 1 Current ports for VLAN 2: empty Pending new ports for VLAN 2: 1 (Add port 1 to VLAN 2) >> VLAN 2# add 20 Current ports for VLAN 2: 1 Pending new ports for VLAN 2: 20 (Add port 20 to VLAN 2) >> VLAN 2# add 23 (Add port 23 to VLAN 2) Port 23 is an UNTAGGED port and its current PVID is 1. Confirm changing PVID from 1 to 2 [y/n]: y Current ports for VLAN 2: 1, 20 Pending new ports for VLAN 2: 23 >> /cfg/l2/vlan 3 >> VLAN 3# add 17 Current ports for VLAN 3: empty Pending new ports for VLAN 3: 17 >> VLAN 3# add 18 Current ports for VLAN 3: 17 Pending new ports for VLAN 3: 18 >> VLAN 3# add 20 Current ports for VLAN 3: 17, 18 Pending new ports for VLAN 3: 20 >> apply >> save (Add port 17 to VLAN 3) (Add port 18 to VLAN 3) (Add port 20 to VLAN 3) (Apply the port configurations) (Save the port configurations) Configuring ports and VLANs on Switch 2 (CLI example) To configure ports and VLANs on Switch 2, do the following: 1. On Switch 2, enable VLAN tagging on the necessary ports. Port 4 (connection to server 2) remains untagged, so it is not configured below. Main# /cfg/port 2 >> Port 2# tag e Current VLAN tag support: disabled New VLAN tag support: enabled Port 2 changed to tagged. (Select port 2: connection to server 1) Main# /cfg/port 17 >> Port 17# tag e Current VLAN tag support: disabled New VLAN tag support: enabled Port 17 changed to tagged. (Select crosslink link port 17) (Enable tagging) Main# /cfg/port 18 >> Port 18# tag e Current VLAN tag support: disabled New VLAN tag support: enabled Port 18 changed to tagged. (Select crosslink link port 18) (Enable tagging) Main# /cfg/port 20 >> Port 20# tag e Current VLAN tag support: disabled New VLAN tag support: enabled Port 20 changed to tagged. >> Port 20# apply (Select uplink port 20) (Enable tagging) (Apply the port configurations) VLANs 50

  • 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
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165

VLANs 50
2.
Configure the VLANs and their member ports. Since all ports are by default configured for VLAN 1, configure
only those ports that belong to VLAN 2. Crosslink ports 17 and 18 must belong to VLANs 1 and 2.
>> /cfg/l2/vlan 2
>> VLAN 2# add 1
(Add port 1 to VLAN 2)
Current ports for VLAN 2: empty
Pending new ports for VLAN 2: 1
>> VLAN 2# add 20
(Add port 20 to VLAN 2)
Current ports for VLAN 2: 1
Pending new ports for VLAN 2: 20
>> VLAN 2# add 23
(Add port 23 to VLAN 2)
Port 23 is an UNTAGGED port and its current PVID is 1.
Confirm changing PVID from 1 to 2 [y/n]: y
Current ports for VLAN 2: 1, 20
Pending new ports for VLAN 2: 23
>> /cfg/l2/vlan 3
>> VLAN 3# add 17
(Add port 17 to VLAN 3)
Current ports for VLAN 3: empty
Pending new ports for VLAN 3: 17
>> VLAN 3# add 18
Current ports for VLAN 3: 17
(Add port 18 to VLAN 3)
Pending new ports for VLAN 3: 18
>> VLAN 3# add 20
(Add port 20 to VLAN 3)
Current ports for VLAN 3: 17, 18
Pending new ports for VLAN 3: 20
>> apply
(Apply the port configurations)
>> save
(Save the port configurations)
Configuring ports and VLANs on Switch 2 (CLI example)
To configure ports and VLANs on Switch 2, do the following:
1.
On Switch 2, enable VLAN tagging on the necessary ports. Port 4 (connection to server 2) remains untagged,
so it is not configured below.
Main# /cfg/port 2
(Select port 2: connection to server 1)
>> Port 2# tag e
Current VLAN tag support: disabled
New VLAN tag support:
enabled
Port 2 changed to tagged.
Main# /cfg/port 17
(Select crosslink link port 17)
>> Port 17# tag e
(Enable tagging)
Current VLAN tag support: disabled
New VLAN tag support:
enabled
Port 17 changed to tagged.
Main# /cfg/port 18
(Select crosslink link port 18)
>> Port 18# tag e
(Enable tagging)
Current VLAN tag support: disabled
New VLAN tag support:
enabled
Port 18 changed to tagged.
Main# /cfg/port 20
(Select uplink port 20)
>> Port 20# tag e
(Enable tagging)
Current VLAN tag support: disabled
New VLAN tag support:
enabled
Port 20 changed to tagged.
>> Port 20# apply
(Apply the port configurations)