Вы находитесь на странице: 1из 604
Sun Netra ™ CP3240 Switch Software Reference Manual Sun Microsystems, Inc. www.sun.com Part No. 820-3253-12

Sun Netra CP3240 Switch Software Reference Manual

Sun Microsystems, Inc. www.sun.com

Part No. 820-3253-12 January 2010, Revision A

Submit comments about this document at: http://www.sun.com/hwdocs/feedback

Copyright © 2010 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, U.S.A. All rights reserved.

Sun Microsystems, Inc. has intellectual property rights relating to technology embodied in the product that is described in this document. In particular, and without limitation, these intellectual property rights may include one or more of the U.S. patents listed at http://www.sun.com/patents and one or more additional patents or pending patent applications in the U.S. and in other countries.

This distribution may include materials developed by third parties.

Parts of the product may be derived from Berkeley BSD systems, licensed from the University of California. UNIX is a registered trademark in the U.S. and in other countries, exclusively licensed through X/Open Company, Ltd.

Sun, Sun Microsystems, the Sun logo, Solaris, Netra and the Netra logo are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries.

Products covered by and information contained in this service manual are controlled by U.S. Export Control laws and may be subject to the export or import laws in other countries. Nuclear, missile, chemical biological weapons or nuclear maritime end uses or end users, whether direct or indirect, are strictly prohibited. Export or reexport to countries subject to U.S. embargo or to entities identified on U.S. export exclusion lists, including, but not limited to, the denied persons and specially designated nationals lists is strictly prohibited.

Use of any spare or replacement CPUs is limited to repair or one-for-one replacement of CPUs in products exported in compliance with U.S. export laws. Use of CPUs as product upgrades unless authorized by the U.S. Government is strictly prohibited.

DOCUMENTATION IS PROVIDED "AS IS" AND ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT, ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT SUCH DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.

Copyright © 2010 Sun Microsystems, Inc., 4150 Network Circle, Santa Clara, California 95054, Etats-Unis. Tous droits réservés.

Sun Microsystems, Inc. détient les droits de propriété intellectuels relatifs à la technologie incorporée dans le produit qui est décrit dans ce document. En particulier, et ce sans limitation, ces droits de propriété intellectuelle peuvent inclure un ou plus des brevets américains listés à l’adresse http://www.sun.com/patents et un ou les brevets supplémentaires ou les applications de brevet en attente aux Etats - Unis et dans les autres pays.

Cette distribution peut comprendre des composants développés par des tierces parties.

Des parties de ce produit pourront être dérivées des systèmes Berkeley BSD licenciés par l’Université de Californie. UNIX est une marque déposée aux Etats-Unis et dans d’autres pays et licenciée exclusivement par X/Open Company, Ltd.

Sun, Sun Microsystems, le logo Sun, Solaris, Netra et le logo Netra sont des marques de fabrique ou des marques déposées de Sun Microsystems, Inc. aux Etats-Unis et dans d’autres pays.

Ce produit est soumis à la législation américaine en matière de contrôle des exportations et peut être soumis à la règlementation en vigueur dans d’autres pays dans le domaine des exportations et importations. Les utilisations , ou utilisateurs finaux, pour des armes nucléaires, des missiles, des armes biologiques et chimiques ou du nucléaire maritime, directement ou indirectement, sont strictement interdites. Les exportations ou reexportations vers les pays sous embargo américain, ou vers des entités figurant sur les listes d’exclusion d’exportation américaines, y compris, mais de manière non exhaustive, la liste de personnes qui font objet d’un ordre de ne pas participer, d’une façon directe ou indirecte, aux exportations des produits ou des services qui sont régis par la législation américaine en matière de contrôle des exportations et la liste de ressortissants spécifiquement désignés, sont rigoureusement interdites. L’utilisation de pièces détachées ou d’unités centrales de remplacement est limitée aux réparations ou à l’échange standard d’unités centrales pour les produits exportés, conformément à la législation américaine en matière d’exportation. Sauf autorisation par les autorités des Etats-Unis, l’utilisation d’unités centrales pour procéder à des mises à jour de produits est rigoureusement interdite.

LA DOCUMENTATION EST FOURNIE "EN L’ETAT" ET TOUTES AUTRES CONDITIONS, DECLARATIONS ET GARANTIES EXPRESSES OU TACITES SONT FORMELLEMENT EXCLUES, DANS LA MESURE AUTORISEE PAR LA LOI APPLICABLE, Y COMPRIS NOTAMMENT TOUTE GARANTIE IMPLICITE RELATIVE A LA QUALITE MARCHANDE, A L’APTITUDE A UNE UTILISATION PARTICULIERE OU A L’ABSENCE DE CONTREFACON.

A LA QUALITE MARCHANDE, A L’APTITUDE A UNE UTILISATION PARTICULIERE OU A L’ABSENCE DE CONTREFACON. Please

Please

Recycle

A LA QUALITE MARCHANDE, A L’APTITUDE A UNE UTILISATION PARTICULIERE OU A L’ABSENCE DE CONTREFACON. Please
Please Recycle

Please

Recycle

Please Recycle

Contents

Preface lxi Before You Read This Book

How This Book Is Organized

Typographic Conventions

Related Documentation

Documentation, Support, and Training

Third-Party Web Sites

Sun Welcomes Your Comments

lxi

lxii

lxiii

lxiii

lxv

lxv

1. FASTPATH Software

1

lxv

FASTPATH On the Sun Netra CP3240 Switch

Sun Netra CP3240 Defaults

Protocol, RFC, and MIB Support

2

3

Switching 3

Advanced Layer 2 Functionality

System Facilities

4

Switching MIBs

5

Routing 5

Routing MIBS

6

Quality of Service (QOS)

6

4

2

QoS MIBS

Management 7

Other

6

8

2. Using the Command-Line Interface

Command Syntax

10

9

Command Conventions

10

Parameter Conventions

11

Parameter Values

Slot/Port Naming Convention

12

13

“No” Form of a Command

14

Command Modes

14

Mode-Based Topology

17

Mode-Based Command Hierarchy

19

User Exec Mode

Privileged Exec Mode Global Config Mode

VLAN Mode

23

19

19

19

22

Operation Flow

Command Completion and Abbreviation

24

CLI

Error Messages

24

CLI

Line-Editing Conventions

25

Using CLI Help Accessing the CLI Comments 27

26

27

3. Switching Commands

29

Command Function Groups

Port Configuration Commands

30

30

interface 30 auto-negotiate 30 no auto-negotiate auto-negotiate all

interface 30 auto-negotiate 30 no auto-negotiate auto-negotiate all

31

31

no auto-negotiate all 31 description 31 mtu 32 no mtu 32 pre-emphasis level 32 shutdown 33

no shutdown

33

shutdown all

33

no shutdown all 34 speed 34 speed all 34 show port 35 show port protocol 35 Spanning Tree Protocol (STP) Commands

36

spanning-tree 36 no spanning-tree 37 spanning-tree bpdumigrationcheck 37 spanning-tree configuration name 37 no spanning-tree configuration name 37 spanning-tree configuration revision 38 no spanning-tree configuration revision 38 spanning-tree edgeport 38 no spanning-tree edgeport 39 spanning-tree forceversion 39

no spanning-tree forceversion 39 spanning-tree forward-time 40 no spanning-tree forward-time 40 spanning-tree hello-time 40 no spanning-tree hello-time 41 spanning-tree max-age 41 no spanning-tree max-age 41 spanning-tree max-hops 41 no spanning-tree max-hops 42 spanning-tree mst 42 no spanning-tree mst 43 spanning-tree mst instance 43 no spanning-tree mst instance 44 spanning-tree mst priority 44 no spanning-tree mst priority 44 spanning-tree mst vlan 45 no spanning-tree mst vlan 45 no spanning-tree port mode 45 spanning-tree port mode all 46 no spanning-tree port mode all 46 show spanning-tree 46 show spanning-tree brief 48 show spanning-tree interface 48 show spanning-tree mst port detailed 49 show spanning-tree mst port summary 51 show spanning-tree mst summary 52 show spanning-tree summary 53 show spanning-tree vlan 54

Virtual LAN (VLAN) Commands

54

vlan database 54 network mgmt_vlan 55 no network mgmt_vlan 55 vlan 55 no vlan 55 vlan acceptframe 56 no vlan acceptframe 56 vlan ingressfilter 56 no vlan ingressfilter 57 vlan makestatic 57 vlan name 57 no vlan name 58 vlan participation 58 vlan participation all 58 vlan port acceptframe all 59 no vlan port acceptframe all 59 vlan port ingressfilter all 60

no vlan port ingressfilter all

vlan port pvid all 60 no vlan port pvid all 61 vlan port tagging all 61 no vlan port tagging all 61 vlan protocol group 61 vlan protocol group add protocol 62 no vlan protocol group add protocol 62 vlan protocol group remove 62 protocol group 63

60

no protocol group 63 protocol vlan group 63 no protocol vlan group 64 protocol vlan group all 64

no protocol vlan group all 64 vlan pvid 65

no vlan pvid 65

vlan tagging 65 no vlan tagging 65 vlan association subnet 66 no vlan association subnet 66 vlan association mac 66 no vlan association mac 66 show vlan 67 show vlan brief 68 show vlan port 69 show vlan association subnet 70 show vlan association mac 70

Double VLAN Commands 71

dvlan-tunnel etherType 71 no dvlan-tunnel etherType 71 mode dot1q-tunnel 72 no mode dot1q-tunnel 72 mode dvlan-tunnel 72 no mode dvlan-tunnel 73

show dot1q-tunnel

73

show dvlan-tunnel

74

Provisioning (IEEE 802.1p) Commands

74

vlan port priority all

74

vlan priority

75

Protected Ports Commands

75

switchport protected (Global Config)

no switchport protected (Global Config) switchport protected (Interface Config)

no switchport protected (Interface Config)

75

76

76

77

show switchport protected

77

show interfaces switchport

77

GARP Commands

78

set garp timer join

78

no set garp timer join

79

 

set garp timer leave

79

no set garp timer leave

79

80

 

set garp timer leaveall

no set garp timer leaveall

80

show garp

80

GVRP Commands

81

set gvrp adminmode

81

no set gvrp adminmode set gvrp interfacemode

no set gvrp adminmode set gvrp interfacemode

81

82

no set gvrp interfacemode

show gvrp configuration

GMRP Commands

83

82

82

set gmrp adminmode

no set gmrp adminmode set gmrp interfacemode

no set gmrp interfacemode

84

84

84

85

85

show mac-address-table gmrp

show gmrp configuration

86

Port-Based Network Access Control Commands

authentication login

no authentication login

87

88

87

clear dot1x statistics

88

clear radius statistics

89

dot1x defaultlogin

89

dot1x initialize

89

dot1x login

89

dot1x max-req

90

no dot1x max-req

90

dot1x port-control

90

no dot1x port-control

91

91

dot1x port-control all

no dot1x port-control all

dot1x re-authenticate dot1x re-authentication

92

91

92

no dot1x re-authentication

92

dot1x system-auth-control

92

no dot1x system-auth-control

dot1x timeout

no dot1x timeout

dot1x user

no dot1x user

users defaultlogin

users login

show authentication

93

94

94

94

94

95

95

93

show authentication users

96

show dot1x

show dot1x users

show users authentication

96

99

100

Storm-Control Commands storm-control broadcast

100

100

no storm-control broadcast storm-control broadcast level

no storm-control broadcast level

storm-control broadcast all

no storm-control broadcast all storm-control broadcast all level

102

101

101

101

102

102

no storm-control broadcast all level

storm-control multicast

no storm-control multicast storm-control multicast level

no storm-control multicast level

storm-control multicast all

no storm-control multicast all storm-control multicast all level

no storm-control multicast all level

storm-control unicast

no storm-control unicast storm-control unicast level

no storm-control unicast level

storm-control unicast all

105

103

103

103

104

104

104

105

105

106

106

106

107

107

no storm-control unicast all storm-control unicast all level

107

107

no storm-control unicast all level

108

storm-control flowcontrol

no storm-control flowcontrol

show storm-control

108

109

109

Port-Channel/LAG (802.3ad) Commands port-channel 110

110

no port-channel

111

addport 111

deleteport (Interface Config) deleteport (Global Config)

port-channel static

112

111

111

no port-channel static

112

port lacpmode

112

no port lacpmode

113

port lacpmode all

113

no port lacpmode all

113

port-channel adminmode

no port-channel adminmode

port-channel linktrap

113

114

114

no port-channel linktrap

114

port-channel name

115

show port-channel brief

115

show port-channel

116

Port Mirroring

117

monitor session

no monitor session

no monitor

show monitor session

117

117

118

118

Static MAC Filtering macfilter 119

119

no macfilter

macfilter addsrc

120

120

no macfilter addsrc

120

macfilter addsrc all

121

no macfilter addsrc all

show mac-address-table static

121

121

show mac-address-table staticfiltering IGMP Snooping Configuration Commands

show mac-address-table staticfiltering IGMP Snooping Configuration Commands

122

123

set igmp

no set igmp

set igmp interfacemode

no set igmp interfacemode

set igmp fast-leave

no set igmp fast-leave

set igmp groupmembership-interval

no set igmp groupmembership-interval

set igmp maxresponse

123

124

124

124

124

125

125

126

126

no set igmp maxresponse set igmp mcrtexpiretime

no set igmp maxresponse set igmp mcrtexpiretime

126

127

no set igmp mcrtexpiretime

set igmp mrouter

no set igmp mrouter

set igmp mrouter interface

no set igmp mrouter interface

show igmpsnooping

show igmpsnooping mrouter interface

127

127

128

128

128

128

130

show igmpsnooping mrouter vlan

130

show mac-address-table igmpsnooping

Port Security Commands port-security 131

131

no port-security

port-security max-dynamic

no port-security max-dynamic

port-security max-static

132

132

132

132

130

no port-security max-static port-security mac-address

no port-security max-static port-security mac-address

133

133

no port-security mac-address

port-security mac-address move

show port-security

133

133

134

show port-security dynamic

134

show port-security static

135

show port-security violation

135

LLDP (802.1AB) Commands

135

lldp transmit

no lldp transmit

lldp receive

no lldp receive

lldp timers

no lldp timers lldp transmit-tlv

no lldp transmit-tlv lldp transmit-mgmt

no lldp transmit-mgmt

lldp notification

135

136

136

136

136

137

137

138

138

138

138

no lldp notification

139

lldp notification-interval

no lldp notification-interval

clear lldp statistics

140

140

show lldp

clear lldp remote-data

139

139

139

show lldp interface

140

show lldp statistics

141

show lldp remote-device

show lldp remote-device detail

show lldp local-device

show lldp local-device detail

142

143

Denial of Service Commands

dos-control sipdip

no dos-control sipdip dos-control firstfrag

no dos-control firstfrag

dos-control tcpfrag

no dos-control tcpfrag

dos-control tcpflag

no dos-control tcpflag

dos-control l4port

no dos-control l4port

dos-control icmp

no dos-control icmp

149

MAC Database Commands

145

145

146

146

146

147

148

148

149

150

147

147

148

149

show dos-control

bridge aging-time

150

142

144

no bridge aging-time 150 show forwardingdb agetime 151

show mac-address-table multicast 151 show mac-address-table stats 152

Layer 2 Failover Commands

failover track 153 show track failover 153 Link Aggregation (LAG)/Port-Channel (802.3AD) Commands port-channel staticcapability 154 no port-channel staticcapability 154 port lacpmode 155 no port lacpmode 155 port lacpmode all 155 no port lacpmode all 155 port-channel 155 no port-channel 156 port-channel adminmode all 156 no port-channel adminmode 156

153

154

port-channel linktrap 156 no port-channel linktrap 157 port-channel name 157 show port-channel brief 157 show port-channel 158

4. Routing Commands

161

Address Resolution Protocol (ARP) Commands

arp

162

no arp 162

ip proxy-arp

162

162

no ip proxy-arp

163

arp cachesize

163

no arp cachesize arp dynamicrenew

no arp cachesize arp dynamicrenew

163

164

no arp dynamicrenew

164

arp purge

164

arp purge 164

arp resptime

164

no arp resptime

165

arp retries

165

no arp retries

165

arp timeout

165

no arp timeout

166

clear arp-cache

166

show arp

166

show arp brief

167

show arp switch IP Routing Commands routing 169

168

169

no routing

169

ip routing

169

no ip routing

ip address

170

no ip address

170

170

ip route

170

no ip route ip route default

no ip route ip route default

171

172

no ip route default

ip route distance

172

172

no ip route distance

173

ip forwarding

173

no ip forwarding

173

ip netdirbcast

173

no ip netdirbcast

174

ip mtu

174

no ip mtu

175

encapsulation 175

show ip brief

show ip interface

show ip interface brief

show ip route

show ip route summary

show ip route preferences

show ip stats

175

176

177

179

179

177

180

Router Discovery Protocol Commands

ip irdp

no ip irdp ip irdp address

no ip irdp address

ip irdp holdtime

no ip irdp holdtime ip irdp maxadvertinterval

181

181

181

182

182

182

182

181

no ip irdp maxadvertinterval

183

ip irdp minadvertinterval

183

no ip irdp minadvertinterval

183

ip irdp preference

183

no ip irdp preference

184

show ip irdp 184

Virtual LAN Routing Commands vlan routing 185

no vlan routing show ip vlan 185

185

185

Virtual Router Redundancy Protocol Commands ip vrrp 186

no ip vrrp

187

ip vrrp mode 187 no ip vrrp mode

ip vrrp ip 188 ip vrrp authentication 188 no ip vrrp authentication ip vrrp preempt 189

no ip vrrp preempt ip vrrp priority 189 no ip vrrp priority

ip vrrp timers advertise 190

187

189

189

no ip vrrp timers advertise

188

190

186

show ip vrrp interface stats 190 show ip vrrp 191 show ip vrrp interface 192 show ip vrrp interface brief 193

VRRP Tracking Commands

194

track interface line-protocol 194 track interface ip routing 194

track ip route reachability 195 no track 195

vrrp 195

vrrp 196

show track

show ip vrrp track

196

196

DHCP and BOOTP Relay Commands

197

bootpdhcprelay cidoptmode

197

no bootpdhcprelay cidoptmode

197

bootpdhcprelay enable

no bootpdhcprelay enable bootpdhcprelay maxhopcount

198

198

198

no bootpdhcprelay maxhopcount

bootpdhcprelay minwaittime

199

198

no bootpdhcprelay minwaittime

bootpdhcprelay serverip

199

no bootpdhcprelay serverip

show bootpdhcprelay

200

199

199

Open Shortest Path First (OSPF) Commands

200

router ospf

enable (OSPF)

201

201

no enable (OSPF)

ip ospf

201

no ip ospf

202

201

1583compatibility 202 no 1583compatibility

area default-cost (OSPF)

202

202

area nssa (OSPF)

203

no area nssa

203

area nssa default-info-originate (OSPF)

203

area nssa no-redistribute (OSPF) area nssa no-summary (OSPF) area nssa translator-role (OSPF)

area nssa translator-stab-intv (OSPF)

area range (OSPF) no area range area stub (OSPF) no area stub

area stub no-summary (OSPF) no area stub no-summary

area virtual-link (OSPF) no area virtual-link

area virtual-link authentication

no area virtual-link authentication area virtual-link dead-interval (OSPF) no area virtual-link dead-interval area virtual-link hello-interval (OSPF) no area virtual-link hello-interval

area virtual-link retransmit-interval (OSPF) no area virtual-link retransmit-interval

203

204

204

204

205

205

205

205

206

206

206

206

207

207

208

208

208

209

209

209

area virtual-link transmit-delay (OSPF) no area virtual-link transmit-delay default-information originate (OSPF)

area virtual-link transmit-delay (OSPF) no area virtual-link transmit-delay default-information originate (OSPF)
area virtual-link transmit-delay (OSPF) no area virtual-link transmit-delay default-information originate (OSPF)

210

210

210

no default-information originate (OSPF)

default-metric (OSPF)

211

no default-metric (OSPF)

211

distance ospf (OSPF)

211

no distance ospf

212

211

distribute-list out (OSPF)

212

no distribute-list out

212

exit-overflow-interval (OSPF)

213

no exit-overflow-interval

213

external-lsdb-limit (OSPF)

213

no external-lsdb-limit

214

ip ospf areaid

ip ospf authentication

214

214

no ip ospf authentication

ip ospf cost

215

no ip ospf cost

215

ip ospf dead-interval

215

215

no ip ospf dead-interval

216

ip ospf hello-interval

216

no ip ospf hello-interval

216

ip ospf priority

216

no ip ospf priority

ip ospf retransmit-interval

217

217

no ip ospf retransmit-interval

ip ospf transmit-delay

218

no ip ospf transmit-delay

ip ospf mtu-ignore

218

218

217

no ip ospf mtu-ignore

219

router-id (OSPF)

219

redistribute (OSPF)

219

no redistribute

219

maximum-paths (OSPF)

220

no maximum-paths

220

timers spf

220

trapflags (OSPF)

220

no trapflags

221

show ip ospf

show ip ospf area

show ip ospf border-routers

224

show ip ospf database database-summary

show ip ospf database

221

223

224

226

show ip ospf interface

226

show ip ospf interface brief

228

show ip ospf interface stats

228

show ip ospf neighbor

229

show ip ospf range

show ip ospf statistics show ip ospf stub table show ip ospf virtual-link

show ip ospf virtual-link brief

231

232

232

233

234

Routing Information Protocol (RIP) Commands

router rip

enable (RIP)

235

235

no enable (RIP)

235

ip rip

236

no ip rip

236

auto-summary 236 no auto-summary

default-information originate (RIP)

236

237

no default-information originate (RIP)

default-metric (RIP)

237

235

237

no default-metric (RIP)

237

distance rip

238

no distance rip

238

distribute-list out (RIP)

238

no distribute-list out

238

ip rip authentication

239

no ip rip authentication

239

ip rip receive version

239

no ip rip receive version

240

ip rip send version

no ip rip send version hostroutesaccept 241 no hostroutesaccept split-horizon 241

240

240

241

no split-horizon

241

redistribute (RIP) no redistribute

show ip rip

show ip rip interface brief

show ip rip interface

242

242

242

244

243

5. IPv6 Commands

247

Tunnel Interface Commands

248

interface tunnel

no interface tunnel

tunnel source

tunnel destination tunnel mode ipv6ip show interface tunnel

248

249

248

249

249

249

Loopback Interface Commands

250

interface loopback

no interface loopback

show interface loopback

250

251

251

IPv6 Routing Commands

252

ipv6 forwarding

no ipv6 forwarding ipv6 unicast-routing

no ipv6 unicast-routing

ipv6 enable

no ipv6 enable ipv6 address

no ipv6 address

255

no ipv6 route

ipv6 route

252

252

253

253

253

253

254

254

255

ipv6 mtu

no ipv6 mtu

ipv6 nd dad attempts

no ipv6 nd dad attempts

ipv6 nd managed-config-flag

no ipv6 nd managed-config-flag

256

256

256

257

257

257

ipv6 nd ns-interval

no ipv6 nd ns-interval

ipv6 nd other-config-flag

no ipv6 nd other-config-flag

ipv6 nd ra-interval

no ipv6 nd ra-interval

ipv6 nd ra-lifetime

257

258

258

258

258

259

259

no ipv6 nd ra-lifetime ipv6 nd reachable-time

no ipv6 nd reachable-time

ipv6 nd suppress-ra

no ipv6 nd suppress-ra

ipv6 nd prefix

ping ipv6

ping ipv6 interface

259

259

260

260

260

261

261

261

traceroute ipv6 show ipv6 brief

traceroute ipv6 show ipv6 brief

262

262

show ipv6 interface

263

show ipv6 neighbor

265

clear ipv6 neighbors

265

show ipv6 route

show ipv6 route preferences show ipv6 route summary

265

267

268

show ipv6 vlan show ipv6 traffic

show ipv6 vlan show ipv6 traffic

268

269

clear ipv6 statistics

274

OSPFv3 Commands

275

275

no ipv6 ospf

ipv6 ospf areaid ipv6 ospf cost

no ipv6 ospf cost

ipv6 ospf dead-interval

no ipv6 ospf dead-interval

ipv6 ospf hello-interval

ipv6 ospf

275

276

275

276

276

276

277

no ipv6 ospf hello-interval

277

ipv6 ospf mtu-ignore

no ipv6 ospf mtu-ignore

ipv6 ospf network

no ipv6 ospf network

ipv6 ospf priority

no ipv6 ospf priority

ipv6 ospf retransmit-interval

no ipv6 ospf retransmit-interval

ipv6 ospf transmit-delay

no ipv6 ospf transmit-delay

ipv6 router ospf

area default-cost (OSPFv3)

area nssa (OSPFv3)

no area nssa

area nssa default-info-originate (OSPFv3)

area nssa no-redistribute (OSPFv3) area nssa no-summary (OSPFv3) area nssa translator-role (OSPFv3)

area nssa translator-stab-intv (OSPFv3)

area range (OSPFv3)

no area range

area stub (OSPFv3)

no area stub

area stub no-summary (OSPFv3)

277

278

278

279

278

279

279

280

280

280

281

280

281

281

282

282

282

283

284

283

284

284

281

283

no area stub no-summary

284

area virtual-link (OSPFv3)

285

no area virtual-link

285

area virtual-link dead-interval (OSPFv3)

285

no area virtual-link dead-interval

area virtual-link hello-interval (OSPFv3)

no area virtual-link hello-interval

area virtual-link retransmit-interval (OSPFv3)

no area virtual-link retransmit-interval

area virtual-link transmit-delay (OSPFv3)

no area virtual-link transmit-delay

default-information originate (OSPFv3)

no default-information originate (OSPFv3)

default-metric (OSPFv3)

no default-metric (OSPFv3)

distance ospf (OSPFv3)

286

286

286

287

287

287

288

288

288

288

289

289

no distance ospf

289

enable (OSPFv3)

290

no enable (OSPFv3)

exit-overflow-interval (OSPFv3)

no exit-overflow-interval

external-lsdb-limit (OSPFv3)

no external-lsdb-limit

maximum-paths (OSPFv3)

no maximum-paths

redistribute (OSPFv3)

no redistribute

router-id (OSPFv3) trapflags 293

no trapflags

show ipv6 ospf

293

291

290

290

291

291

292

292

293

292

293

290

show ipv6 ospf area

295

show ipv6 ospf border-routers

298

show ipv6 ospf database

297

show ipv6 ospf database database-summary

299

show ipv6 ospf interface

300

show ipv6 ospf interface brief

301

 

show ipv6 ospf interface stats

302

show ipv6 ospf neighbor

303

 

show ipv6 ospf range

305

show ipv6 ospf stub table

305

306

 

show ipv6 ospf virtual-link

show ipv6 ospf virtual-link brief

307

DHCPv6 Commands

308

308

service dhcpv6

no service dhcpv6

308

ipv6 dhcp server

308

ipv6 dhcp relay destination

309

 

ipv6 dhcp relay-agent-info-opt

309

ipv6 dhcp relay-agent-info-remote-id-subopt

310

ipv6 dhcp pool

310

no ipv6 dhcp pool domain-name (IPv6)

310

311

no domain-name

311

dns-server (IPv6)

311

no dns-server

prefix-delegation (IPv6)

no prefix-delegation

show ipv6 dhcp

311

312

312

312

show ipv6 dhcp statistics

313

show ipv6 dhcp interface

314

clear ipv6 dhcp

315

show ipv6 dhcp pool

316

show ipv6 dhcp binding

317

6. IP Multicast Commands

319

Multicast Commands ip mcast boundary

320

320

no ip mcast boundary

320

ip multicast

321

no ip multicast

321

ip multicast staticroute

321

no ip multicast staticroute ip multicast ttl-threshold

no ip multicast staticroute ip multicast ttl-threshold

322

322

no ip multicast ttl-threshold

disable ip multicast mdebug mtrace

no disable ip multicast mdebug mtrace mrinfo 324

mstat 324

mtrace 325

no ip mcast mroute

show ip mcast

show ip mcast boundary show ip mcast interface show ip mcast mroute

show ip mcast mroute group show ip mcast mroute source show ip mcast mroute static

323

323

323

325

326

327

327

328

329

329

331

show mrinfo

331

show mstat

332

show mtrace

332

DVMRP Commands

333

ip dvmrp

333

no ip dvmrp

334

ip dvmrp metric

334

no ip dvmrp metric ip dvmrp trapflags

no ip dvmrp metric ip dvmrp trapflags

334

334

no ip dvmrp trapflags

ip dvmrp

no ip dvmrp

show ip dvmrp

show ip dvmrp interface show ip dvmrp neighbor show ip dvmrp nexthop show ip dvmrp prune

show ip dvmrp route

335

335

335

336

336

337

338

339

339

PIM-DM Commands

340

ip pimdm

no ip pimdm

ip pimdm mode

no ip pimdm mode

341

no ip pimdm query-interval

show ip pimdm

show ip pimdm interface

show ip pimdm interface stats

ip pimdm query-interval

340

340

341

341

341

342

342

343

show ip pimdm neighbor

343

PIM-SM Commands

344

ip pimsm cbsrpreference

344

no ip pimsm cbsrpreference

ip pimsm cbsrhashmasklength

no ip pimsm cbsrhashmasklength

ip pimsm crppreference

344

345

345

345

no ip pimsm crppreference

346

ip pimsm message-interval

346

no ip pimsm message-interval

ip pimsm

no ip pimsm

ip pimsm mode

no ip pimsm mode

ip pimsm query-interval

no ip pimsm query-interval

ip pimsm spt-threshold

no ip pimsm spt-threshold

ip pim-trapflags

no ip pim-trapflags ip pimsm staticrp

no ip pimsm staticrp

show ip pimsm

show ip pimsm candrptable

show ip pimsm componenttable

show ip pimsm interface

348

346

346

347

347

347

347

348

348

348

349

350

349

349

350

351

351

show ip pimsm interface stats

show ip pimsm neighbor

353

352

show ip pimsm rp

353

show ip pimsm rphash show ip pimsm staticrp

show ip pimsm rphash show ip pimsm staticrp

354

354

Internet Group Message Protocol (IGMP) Commands

ip igmp

no ip igmp

ip igmp version

no ip igmp version

ip igmp last-member-query-count

355

355

355

356

356

355

no ip igmp last-member-query-count ip igmp last-member-query-interval

no ip igmp last-member-query-count ip igmp last-member-query-interval

356

356

no ip igmp last-member-query-interval

ip igmp query-interval

no ip igmp query-interval

ip igmp query-max-response-time

no ip igmp query-max-response-time

ip igmp robustness

no ip igmp robustness

ip igmp startup-query-count

no ip igmp startup-query-count ip igmp startup-query-interval

no ip igmp startup-query-interval

show ip igmp

show ip igmp groups show ip igmp interface

show ip igmp interface membership

show ip igmp interface stats

357

357

357

358

358

358

359

359

359

359

360

360

360

362

363

364

IGMP Proxy Commands

365

ip igmp-proxy

no ip igmp-proxy

ip igmp-proxy unsolicit-rprt-interval

no ip igmp-proxy unsolicit-rprt-interval

ip igmp-proxy reset-status

show ip igmp-proxy

show ip igmp-proxy interface show ip igmp-proxy groups

show ip igmp-proxy groups detail

369

365

365

365

366

366

366

367

368

7. Quality of Service (QoS) Commands

371

Class of Service (CoS) Commands

372

classofservice dot1p-mapping

372

no classofservice dot1p-mapping

classofservice ip-precedence-mapping

no classofservice ip-precedence-mapping

classofservice ip-dscp-mapping

no classofservice ip-dscp-mapping

classofservice trust

no classofservice trust

cos-queue min-bandwidth

no cos-queue min-bandwidth

cos-queue strict

no cos-queue strict traffic-shape 376

no traffic-shape

show classofservice dot1p-mapping

show classofservice ip-precedence-mapping

show classofservice ip-dscp-mapping

372

373

373

373

374

374

374

375

375

375

376

376

377

378

377

show classofservice trust show interfaces cos-queue

378

379

Differentiated Services (DiffServ) Commands diffserv 381

no diffserv

381

DiffServ Class Commands class-map 382

382

no class-map

383

class-map rename

383

match ethertype

383

match any

384

match class-map

384

no match class-map

385

match cos

385

match secondary-cos

385

match destination-address mac

match dstip

match dstl4port

match ip dscp

387

match ip tos

match protocol

match source-address mac

match srcip

match srcl4port

match vlan

match ip precedence

386

386

387

388

389

390

390

390

389

match secondary-vlan DiffServ Policy Commands

391

391

386

380

assign-queue 392 drop 392 mirror 393 redirect 393

conform-color 393 class 394

no class

394

mark cos

395

mark ip-dscp

395

mark ip-precedence police-simple 396 policy-map 396

395

no policy-map

397

policy-map rename

397

DiffServ Service Commands service-policy 398

399

DiffServ Show Commands

no service-policy

398

399

show class-map

399

show diffserv

400

show policy-map

401

show diffserv service

404

show diffserv service brief

404

show policy-map interface

405

show service-policy

406

MAC Access Control List (ACL) Commands

mac access-list extended

no mac access-list extended

407

407

406

xxxviii Sun Netra CP3240 Switch Software Reference Manual • January 2010

mac access-list extended rename

407

{deny | permit} mac access-group

408

410

no mac access-group show mac access-lists

no mac access-group show mac access-lists

410

411

IP Access Control List (ACL) Commands access-list 412

414

ip access-group

no ip access-group acl-trapflags 415

no access-list

414

415

no acl-trapflags

show ip access-lists

show access-lists

415

417

415

8. Utility Commands

419

Dual Image Commands delete 420

420

boot system

420

show bootvar

420

filedescr 421

update bootcode

421

412

System Information and Statistics Commands

show arp switch show eventlog show hardware show version show interface

show interface ethernet

421

422

423

423

424

426

421

show mac-addr-table

435

show running-config

436

show sysinfo

437

show tech-support

437

Logging Commands

438

logging buffered

438

438

logging buffered wrap

no logging buffered wrap

logging console

no logging console

logging host

logging host remove

logging port

no logging port logging syslog

no logging syslog

show logging

show logging buffered

show logging hosts

show logging traplogs

no logging buffered

439

439

439

439

440

440

440

441

441

441

441

443

442

443

System Utility and Clear Commands

traceroute 444

clear config

clear counters

clear igmpsnooping

clear pass

clear port-channel

444

445

445

445

445

444

clear traplog

446

clear vlan

446

enable passwd

446

logout 446

ping 447

quit 447

reload 447

copy 448

Simple Network Time Protocol (SNTP) Commands

sntp broadcast client poll-interval

no sntp broadcast client poll-interval

sntp client mode

no sntp client mode

sntp client port

no sntp client port

sntp unicast client poll-interval

no sntp unicast client poll-interval

sntp unicast client poll-timeout

no sntp unicast client poll-timeout

sntp unicast client poll-retry

no sntp unicast client poll-retry sntp multicast client poll-interval

no sntp multicast client poll-interval

sntp server

452

450

450

450

451

451

451

451

452

452

452

453

453

453

453

no sntp server

show sntp

454

454

show sntp client show sntp server

show sntp client show sntp server

455

455

450

DHCP Server Commands

457

ip dhcp pool

no ip dhcp pool

client-identifier 458

no client-identifier client-name 458

no client-name

default-router 459

457

457

458

459

no default-router

459

dns-server 459

no dns-server

hardware-address 460

no hardware-address host 460

no host

lease

no lease

network (DHCP Pool Config)

no network

bootfile

no bootfile

domain-name 463

no domain-name

netbios-name-server 463

no netbios-name-server netbios-node-type 464

462

460

460

461

461

461

462

462

463

464

no netbios-node-type next-server 465

464

462

no next-server

465

option 465

no option

ip dhcp excluded-address

no ip dhcp excluded-address

ip dhcp ping packets

466

466

466

467

no ip dhcp ping packets

467

service dhcp

467

no service dhcp

467

ip dhcp bootp automatic

468

no ip dhcp bootp automatic

ip dhcp conflict logging

no ip dhcp conflict logging

clear ip dhcp binding

clear ip dhcp server statistics

468

468

469

468

469

clear ip dhcp conflict show ip dhcp binding

clear ip dhcp conflict show ip dhcp binding

469

470

show ip dhcp global configuration

show ip dhcp pool configuration

show ip dhcp server statistics

show ip dhcp conflict

470

471

472

473

DHCP Filtering

474

ip dhcp filtering

no ip dhcp filtering ip dhcp filtering trust

no ip dhcp filtering trust

474

474

475

475

 

show ip dhcp filtering

475

9.

Management Commands

477

Network Interface Commands

478

enable (Privileged EXEC access)

serviceport ip

serviceport protocol

478

478

478

network parms

479

network protocol

479

network mac-address

network mac-type

no network mac-type

network javamode

no network javamode

show network

show serviceport

479

480

480

480

480

481

482

Console Port Access Commands configuration 482 lineconfig 483

482

serial location

483

serial baudrate

483

no serial baudrate

serial timeout

no serial timeout

show serial

483

484

484

484

Telnet Commands

485

ip telnet server enable

no ip telnet server enable telnet 486

transport input telnet

no transport input telnet

485

485

486

486

transport output telnet

487

no transport output telnet session-limit 487

no session-limit

session-timeout 488

no session-timeout

telnetcon maxsessions

487

488

488

487

no telnetcon maxsessions

488

telnetcon timeout

489

 

no telnetcon timeout disconnect 489

489

show telnet

490

show telnetcon

490

 

Secure Shell (SSH) Command

491

ip ssh

491

no ip ssh

ip ssh protocol

ip ssh server enable

no ip ssh server enable

sshcon maxsessions

no sshcon maxsessions

sshcon timeout

no sshcon timeout

show ip ssh

492

492

492

492

493

493

493

493

494

Hypertext Transfer Protocol (HTTP) Commands

ip http secure-port

no ip http secure-port ip http secure-protocol

495

495

495

495

ip http secure-server

no ip http secure-server

ip http server

no ip http server

show ip http

496

496

496

497

496

User Account Commands

497

users name

no users name users passwd

no users passwd

users snmpv3 accessmode

497

498

498

499

499

no users snmpv3 accessmode users snmpv3 authentication

no users snmpv3 accessmode users snmpv3 authentication

499

499

no users snmpv3 authentication

500

users snmpv3 encryption

500

no users snmpv3 encryption

501

show loginsession

501

show users

501

SNMP Commands

502

snmp-server 502 snmp-server community

503

 

no snmp-server community

503

snmp-server community ipaddr

503

no snmp-server community ipaddr

snmp-server community ipmask

no snmp-server community ipmask

snmp-server community mode

no snmp-server community mode

504

504

505

504

505

snmp-server community ro snmp-server community rw

snmp-server community ro snmp-server community rw

505

506

snmp-server enable traps violation

506

no snmp-server enable traps violation

506

snmp-server enable traps

507

no snmp-server enable traps

507

snmp-server enable traps bcaststorm

507

no snmp-server enable traps bcaststorm

snmp-server enable traps linkmode

no snmp-server enable traps linkmode snmp-server enable traps multiusers

no snmp-server enable traps multiusers

snmp-server enable traps stpmode

no snmp-server enable traps stpmode snmptrap 509

no snmptrap

snmptrap snmpversion

507

508

508

508

508

509

509

510

510

snmptrap ipaddr

510

snmptrap mode

511

no snmptrap mode snmp trap link-status

511

511

no snmp trap link-status

511

snmp trap link-status all

512

no snmp trap link-status all

show snmpcommunity

513

512

show snmptrap

514

show trapflags

514

CLI Command Logging Command

515

logging cli-command

515

no logging cli-command

516

RADIUS Commands

516

radius accounting mode

516

no radius accounting mode

radius server host

517

516

no radius server host

517

radius server key

518

radius server msgauth

518

no radius server msgauth

radius server primary radius server retransmit

no radius server retransmit

520

radius server timeout

518

519

519

519

no radius server timeout

520

show radius

520

 

521

show radius accounting show radius statistics

523

TACACS+ Commands tacacs-server host

525

525

no tacacs-server host

tacacs-server key

no tacacs-server key tacacs-server timeout

no tacacs-server timeout key 527

port 527

priority 528

525

526

526

526

527

timeout 528

show tacacs

528

Configuration Scripting Commands

script apply

530

script delete