CHAPTER 1 COMMANDS FOR BASIC SWITCH CONFIGURATION ..........................1-42
1.1COMMANDS FOR BASIC CONFIGURATION ............................................................................................ 1-42
1.1.1 Authe nti cat ion lin e ................................................................................................................................. 1-42
1.1.4 clock set ................................................................................................................................................ 1-44
1.1.9 end ........................................................................................................................................................ 1-46
1.1.12 help ..................................................................................................................................................... 1-47
1.1.14 ip host ................................................................................................................................................. 1-48
1.1.16 ip http server ....................................................................................................................................... 1-49
1.1.17 language ............................................................................................................................................. 1-50
1.1.21 service passw ord-encryption ............................................................................................................... 1-51
1.1.22 service terminal-length ........................................................................................................................ 1-52
1.1.25 set default ........................................................................................................................................... 1-53
1.1.27 show clock .......................................................................................................................................... 1-54
1.1.28 show temperature ............................................................................................................................... 1-54
1.1.29 show tech-support ............................................................................................................................... 1-54
1.1.30 show version ....................................................................................................................................... 1-55
1.1.32 web language ...................................................................................................................................... 1-56
1.2.3 authentication line login ........................................................................................................................ 1-57
1.2.4 authentication security ip ........................................................................................................................ 1-58
1.2.5 authentication security ip v 6 .................................................................................................................... 1-59
1.2.17 show ssh-server .................................................................................................................................. 1-64
1.2.18 show ssh-user ..................................................................................................................................... 1-64
1.2.19 show telnet login ................................................................................................................................. 1-65
1.3COMMANDS FOR CONFIGURING SWITCH IP ......................................................................................... 1-65
1.3.3 ip address ............................................................................................................................................. 1-66
1.4.4 show snmp ............................................................................................................................................ 1-69
1.4.5 show snmp engineid ............................................................................................................................. 1-71
1.4.6 show snmp group .................................................................................................................................. 1-72
1.4.7 show snmp mib ..................................................................................................................................... 1-72
1.4.8 show snmp status ................................................................................................................................. 1-73
1.4.9 show snmp user .................................................................................................................................... 1-74
1.4.10 show snmp view .................................................................................................................................. 1-74
1.4.11 snmp-server community ...................................................................................................................... 1-75
1.4.15 snmp-server group .............................................................................................................................. 1-78
1.4.20 snmp-server user ................................................................................................................................ 1-81
1.5COMMANDS FOR SWITCH UPGRADE ................................................................................................... 1-81
1.5.6 ip ftp ...................................................................................................................................................... 1-85
1.5.7 show ftp ................................................................................................................................................. 1-86
1.5.8 show tftp ................................................................................................................................................ 1-86
CHAPTER 2 FILE SYSTEM COMMANDS .....................................................................2-89
2.1 CD .................................................................................................................................................... 2-89
DIR .................................................................................................................................................... 2-90
2.5
FORM AT ............................................................................................................................................ 2-91
MOUNT .............................................................................................................................................. 2-92
4.1.4 flow control ........................................................................................................................................... 4-111
4.1.8 name ................................................................................................................................................... 4-113
4.1.12 show interface ................................................................................................................................... 4-116
11.1.9 name ................................................................................................................................................. 11-23
11.1.11 private-vlan association ................................................................................................................... 11-25
11.1.12 show dot1q-tunnel ........................................................................................................................... 11-26
11.1.13 show garp ........................................................................................................................................ 11-26
11.1.14 show gvrp ........................................................................................................................................ 11-26
11.1.15 show vlan ........................................................................................................................................ 11-27
11.1.16 show vlan-translation ....................................................................................................................... 11-28
11.1.27 vlan-translation miss drop ............................................................................................................... 11-37
11.2.6 show dynamic-vlan prefer ................................................................................................................. 11-42
11.2.7 show mac-vlan .................................................................................................................................. 11-42
11.2.8 show mac-vlan interface .................................................................................................................... 11-43
11.2.9 show protocol-vlan ............................................................................................................................ 11-43
11.2.10 show subnet-vlan ............................................................................................................................ 11-44
11.2.11 show subnet-vlan interface .............................................................................................................. 11-44
11.3COMMANDS FOR VOICE VLANCONFIGURATION ............................................................................. 11-47
11.3.1 show voice-vlan ................................................................................................................................. 11-47
12.1.3 show mac-address-table ................................................................................................................... 12-51
12.2COMMANDS FOR MAC ADDRESS BINDING CONFIGURATION .............................................................. 12-52
12.2.2 show port-security ............................................................................................................................. 12-52
12.2.3 show port-security address ............................................................................................................... 12-53
12.2.4 show port-security interface .............................................................................................................. 12-54
13.1.4 name ................................................................................................................................................. 13-61
13.1.9 spanning-tree lin k-ty pe p2p ............................................................................................................... 13-64
13.1.21 spanning-tree format ....................................................................................................................... 13-73
13.2COMMANDS FOR MONITOR AND DEBUG .......................................................................................... 13-76
13.2.1 show spanning-tree ........................................................................................................................... 13-76
13.2.2 show spanning-tr ee mst config ......................................................................................................... 13-79
13.2.3 show mst-pending ............................................................................................................................. 13-79
CHAPTER 14 COMMANDS FOR QOS AND PBR ......................................................14-82
14.1 CLASS ........................................................................................................................................... 14-82
SET ............................................................................................................................................. 14-94
CHAPTER 15 COMMANDS FOR IPV6 PBR ............................................................. 15-104
15.1 CLASS ......................................................................................................................................... 15-104
SET ............................................................................................................................................. 15-106
17.2.9 ip address ......................................................................................................................................... 17-11
17.2.29 show ip traffic .................................................................................................................................. 17-22
17.2.30 show ipv6 interface ......................................................................................................................... 17-24
17.2.31 show ipv6 route ............................................................................................................................... 17-26
17.2.32 show ipv6 neighbors ....................................................................................................................... 17-27
17.2.33 show ipv6 traffic .............................................................................................................................. 17-29
17.2.34 show ipv6 enable ............................................................................................................................ 17-30
17.2.35 show ipv6 redirect ........................................................................................................................... 17-31
17.2.36 show ipv6 tunnel ............................................................................................................................. 17-31
17.4.2 ip urpf enable .................................................................................................................................... 17-37
17.4.3 show urpf rule ipv4 num .................................................................................................................... 17-38
17.4.4 show urpf rule ipv6 num .................................................................................................................... 17-38
17.4.5 show urpf rule ipv4 ............................................................................................................................ 17-38
17.4.6 show urpf rule ipv6 ............................................................................................................................ 17-39
17.4.7 show urpf .......................................................................................................................................... 17-39
17.5.5 ip proxy-arp ....................................................................................................................................... 17-42
17.5.7 show arp ........................................................................................................................................... 17-43
17.5.8 show arp traffic .................................................................................................................................. 17-45
CHAPTER 18 COMMANDS FOR ARP SCANNING PREVENTION ..............................18-1
CHAPTER 20 COMMAND FOR ARP GUARD ............................................................20-13
20.1 ARP-GUARD IP ............................................................................................................................... 20-13
CHAPTER 21 COMMAND FOR ARP LOCAL PROXY ................................................21-14
21.1 IP LOCAL PROXY-ARP ..................................................................................................................... 21-14
CHAPTER 22 COMMANDS FOR GRATUITOUS ARP CONFIGURA TION .................22-15
22.1 IP GRATUITOUS-ARP ....................................................................................................................... 22-15
22.2
SHOW IP GRATUITOUS-ARP ............................................................................................................. 22-15
CHAPTER 23 COMMANDS FOR ND SNOOPING ......................................................23-17
24.1.2 clear ip dhcp binding ......................................................................................................................... 24-26
24.1.3 clear ip dhcp conflict ......................................................................................................................... 24-27
24.1.4 clear ip dhcp server statisti cs ............................................................................................................ 24-27
24.1.7 debug ip dhcp server ........................................................................................................................ 24-29
24.1.13 ip dhcp conflict logging .................................................................................................................... 24-32
24.1.14 ip dhcp excluded-address ............................................................................................................... 24-33
24.1.15 ip dhcp pool ..................................................................................................................................... 24-33
24.1.16 ip dhcp conflict ping-detection enable ............................................................................................. 24-34
24.1.17 ip dhcp ping packets ....................................................................................................................... 24-34
24.1.18 ip dhcp ping timeout ........................................................................................................................ 24-35
24.1.25 service dhcp .................................................................................................................................... 24-39
24.1.26 show ip dhcp binding ...................................................................................................................... 24-40
24.1.27 show ip dhcp conflict ....................................................................................................................... 24-41
24.1.28 show ip dhcp server statist ic s ......................................................................................................... 24-41
24.2COMMANDS FOR DHCPREL AY CONFIGURATION ............................................................................ 24-44
24.2.1 ip forward-protocol udp bootps .......................................................................................................... 24-44
24.2.2 ip helper-address .............................................................................................................................. 24-44
CHAPTER 25 COMMANDS FOR DHCPV6 .................................................................25-45
SET AGGREGATOR ..................................................................................................................... 29-104
29.16
SET AS-PATH .............................................................................................................................. 29-105
29.17
SET ATOMIC -AGGREGATE ........................................................................................................... 29-105
29.18
SET COMM-LIST ......................................................................................................................... 29-106
29.19
SET COMMUNITY ........................................................................................................................ 29-106
29.20
SET EXTCOMMUNITY ................................................................................................................... 29-107
29.21
SET IP NEXT-HOP ........................................................................................................................ 29-107
29.22
SET LOCAL-PREFERENCE ........................................................................................................... 29-108
29.23
SET METRIC ............................................................................................................................... 29-108
29.24
SET METRIC-TYPE ...................................................................................................................... 29-109
29.25
SET ORIGIN ................................................................................................................................ 29-109
29.26
SET ORIGINATOR-ID .................................................................................................................... 29-110
29.27
SET TAG .................................................................................................................................... 29-110
29.28
SET VPNV4 NEXT-HOP ................................................................................................................ 29-111
29.29
SET WEIGHT ............................................................................................................................... 29-111
29.30
SHOW IP PREFIX-LIST <LIST-NAME> ............................................................................................ 29-112
29.31
SHOW IP PREFIX-LIST<DETAIL|SUMMARY> ................................................................................... 29-113
29.32
SHOW ROUTE-MAP ..................................................................................................................... 29-114
29.33
SHOW ROUTER-ID ...................................................................................................................... 29-115
CHAPTER 30 COMMANDS FOR STATIC ROUTE .................................................... 30-116
30.1 IP ROUTE ..................................................................................................................................... 30-116
30.2
SHOW IP ROUTE ........................................................................................................................... 30-117
30.3
SHOW IP ROUTE VRF ..................................................................................................................... 30-119
30.4
IP ROUTE VRF .............................................................................................................................. 30-119
CHAPTER 31 COMMANDS FOR RIP ........................................................................ 31-120
38.1PUBLIC COMMANDS FOR MULTICAST ................................................................................................ 38-1
38.1.1 show ip mroute .................................................................................................................................... 38-1
38.2COMMANDS FOR PIM-DM ................................................................................................................ 38-2
38.2.1 debug pim timer sat ............................................................................................................................ 38-2
38.2.3 ip mroute ............................................................................................................................................. 38-3
38.2.4 ip pim bsr-border ................................................................................................................................. 38-3
38.2.5 ip pim dense-mode ............................................................................................................................. 38-4
38.2.6 ip pim dr-priority .................................................................................................................................. 38-4
38.2.7 ip pim exclude-genid ........................................................................................................................... 38-4
38.2.8 ip pim hello-holdtime ........................................................................................................................... 38-5
38.2.9 ip pim hello-interval ............................................................................................................................. 38-5
38.2.10 ip pim multica st -routing ..................................................................................................................... 38-6
38.2.11 ip pim neighbor-filter .......................................................................................................................... 38-6
38.2.12 ip pim scope-border .......................................................................................................................... 38-7
38.2.13 ip pim state-refresh origination-interval ............................................................................................. 38-7
38.2.14 show ip pim interface ........................................................................................................................ 38-7
38.2.15 show ip pim mroute dense-mode ...................................................................................................... 38-8
38.2.16 show ip pim neighbor ...................................................................................................................... 38-10
38.2.17 show ip pim nexthop ....................................................................................................................... 38-11
38.3COMMANDS FOR PIM-SM .............................................................................................................. 38-12
38.3.1 clear ip pim bsr rp-set ........................................................................................................................ 38-12
38.3.10 ip mroute ......................................................................................................................................... 38-16
38.3.11 ip pim accept-register ...................................................................................................................... 38-16
38.3.12 ip pim bsr-border ............................................................................................................................. 38-17
38.3.13 ip pim bsr-candidate ........................................................................................................................ 38-17
38.3.14 ip pim cisco -register-checksum ....................................................................................................... 38-18
38.3.15 ip pim dr-priority .............................................................................................................................. 38-18
38.3.16 ip pim exclude-genid ....................................................................................................................... 38-18
38.3.17 ip pim hello-holdtime ....................................................................................................................... 38-19
38.3.18 ip pim hello-interval ......................................................................................................................... 38-19
38.3.19 ip pim ignore-rp-set-priority ............................................................................................................. 38-20
38.3.20 ip pim jp-timer ................................................................................................................................. 38-20
38.3.21 ip pim multica st -routing ................................................................................................................... 38-21
38.3.22 ip pim neighbor-filter ....................................................................................................................... 38-21
38.3.23 ip pim register-rate-limit ................................................................................................................... 38-22
38.3.24 ip pim register-rp-reachability .......................................................................................................... 38-22
38.3.25 ip pim register-source ...................................................................................................................... 38-22
38.3.26 ip pim register-suppression ............................................................................................................. 38-23
38.3.27 ip pim rp-address ............................................................................................................................ 38-23
38.3.28 ip pim rp-candidate ......................................................................................................................... 38-23
38.3.29 ip pim rp-register-kat ....................................................................................................................... 38-24
38.3.30 ip pim scope-border ........................................................................................................................ 38-24
38.3.31 ip pim sparse-mode ......................................................................................................................... 38-25
38.3.32 show ip pim bsr-router ..................................................................................................................... 38-25
38.3.33 show ip pim interface ...................................................................................................................... 38-26
38.3.34 show ip pim mroute sparse-mode ................................................................................................... 38-27
38.3.35 show ip pim neighbor ...................................................................................................................... 38-28
38.3.36 show ip pim nexthop ....................................................................................................................... 38-29
38.3.37 show ip pim rp-hash ........................................................................................................................ 38-31
38.3.38 show ip pim rp mapping .................................................................................................................. 38-31
38.4COMMANDS FOR MSDPCONFIGURATION ....................................................................................... 38-32
38.4.6 clear msdp stat ist ic s .......................................................................................................................... 38-34
38.4.12 debug msdp keepal iv e .................................................................................................................... 38-36
38.4.29 show msdp global ........................................................................................................................... 38-43
38.4.30 show msdp local-sa-cache .............................................................................................................. 38-44
38.4.31 show msdp peer .............................................................................................................................. 38-45
38.4.32 show msdp sa-cache ...................................................................................................................... 38-46
38.4.33 show msdp sa-cache summary ....................................................................................................... 38-47
38.4.34 show msdp statistics ....................................................................................................................... 38-49
38.4.35 show msdp summary ...................................................................................................................... 38-50
38.7.2 ip dvmrp enable ................................................................................................................................ 38-58
38.7.3 ip dvmrp metric ................................................................................................................................. 38-59
38.7.4 ip dvmrp multicast-routing ................................................................................................................. 38-59
38.7.5 ip dvmrp output-report-delay ............................................................................................................. 38-59
38.7.6 ip dvmrp reject-non-pruners .............................................................................................................. 38-60
38.7.7 ip dvmrp tunnel ................................................................................................................................. 38-60
38.7.8 show ip dvmrp ................................................................................................................................... 38-61
38.7.9 show ip dvmrp interface .................................................................................................................... 38-61
38.7.10 show ip dvmrp neighbor .................................................................................................................. 38-62
38.7.11 show ip dvmrp prune ....................................................................................................................... 38-63
38.7.12 show ip dvmrp route ........................................................................................................................ 38-64
38.8COMMANDS FOR DCSCM .............................................................................................................. 38-65
38.8.3 ip multicast destination-control access-group ................................................................................... 38-66
38.8.4 ip multicast destination-control access-group (sip) ........................................................................... 38-67
38.8.5 ip multicast destination-control access-group (vmac) ....................................................................... 38-67
38.8.6 ip multicast policy .............................................................................................................................. 38-68
38.8.7 ip multicast sou rc e -control ................................................................................................................ 38-68
38.8.8 ip multicast source-control access-group .......................................................................................... 38-69
38.8.10 show ip multicast destination-control ............................................................................................... 38-70
38.8.11 show ip multicast destination-control access-list ............................................................................. 38-70
38.8.12 show ip multicast policy ................................................................................................................... 38-71
38.8.13 show ip multicast source-control ..................................................................................................... 38-71
38.8.14 show ip multicast source-control acc ess-list ................................................................................... 38-71
38.9COMMANDS FOR IGMP .................................................................................................................. 38-72
38.9.1 clear ip igmp group ........................................................................................................................... 38-72
38.9.4 ip igmp access-group ........................................................................................................................ 38-73
38.9.5 ip igmp immediate-leave ................................................................................................................... 38-73
38.9.6 ip igmp join-group ............................................................................................................................. 38-74
1-28
XGS3 Command Guide
38.9.7 ip igmp last-member-query-interval ................................................................................................... 38-74
38.9.8 ip igmp limit ....................................................................................................................................... 38-74
38.9.9 ip igmp query-interval ........................................................................................................................ 38-75
38.9.10 ip igmp query-max-response-time ................................................................................................... 38-75
38.9.11 ip igmp query-timeout ...................................................................................................................... 38-76
38.9.12 ip igmp robust-variable .................................................................................................................... 38-76
38.9.13 ip igmp static-group ......................................................................................................................... 38-77
38.9.14 ip igmp version ................................................................................................................................ 38-77
38.9.15 show ip igmp groups ....................................................................................................................... 38-77
38.9.16 show ip igmp interface .................................................................................................................... 38-80
38.10COMMANDS FOR IGMPSNOOPING ............................................................................................... 38-80
38.10.1 clear ip igmp snooping vlan ............................................................................................................. 38-80
38.10.2 clear ip igmp snooping vlan <1-4094> mrouter-port ........................................................................ 38-80
38.10.3 debug igmp snooping all/p ac ket/ ev ent /t imer / mf c ............................................................................ 38-81
38.10.4 ip igmp snooping ............................................................................................................................. 38-81
38.10.5 ip igmp snooping vlan ..................................................................................................................... 38-81
38.10.6 ip igmp snooping vlan immedi ate-leave .......................................................................................... 38-82
38.10.7 ip igmp snooping vlan l2-general-querier ........................................................................................ 38-82
38.10.8 ip igmp snooping vlan l2-general-querier-source ............................................................................ 38-82
38.10.9 ip igmp snooping vlan l2-general-querier-version ........................................................................... 38-83
38.10.10 ip igmp snooping vlan limit ............................................................................................................ 38-83
38.10.11 ip igmp snooping vlan mrouter-port interface ................................................................................ 38-84
38.10.12 ip igmp snooping vlan mrpt ........................................................................................................... 38-84
38.10.13 ip igmp snooping vlan query-interval ............................................................................................. 38-84
38.10.14 ip igmp snooping vlan query-mrsp ................................................................................................ 38-85
38.10.15 ip igmp snooping vlan query-robustness ....................................................................................... 38-85
38.10.16 ip igmp snooping vlan report source-address ............................................................................... 38-85
38.10.17 ip igmp snooping vlan static-group ................................................................................................ 38-86
38.10.18 ip igmp snooping vlan suppression-query-time ............................................................................. 38-86
38.10.19 show ip igmp snooping .................................................................................................................. 38-87
38.11COMMANDS FOR IGMPPROXY ..................................................................................................... 38-89
38.11.1 clear ip igmp proxy group ................................................................................................................ 38-89
38.11.2 debug igmp proxy all ....................................................................................................................... 38-89
38.11.7 ip igmp proxy ................................................................................................................................... 38-91
38.11.8 ip igmp proxy aggregate .................................................................................................................. 38-91
1-29
XGS3 Command Guide
38.11.9 ip igmp proxy downstream .............................................................................................................. 38-91
38.11.10 ip igmp proxy limit .......................................................................................................................... 38-92
38.11.11 ip igmp proxy multicast-source ...................................................................................................... 38-92
38.11.12 ip igmp proxy unsolicited-report interval ........................................................................................ 38-92
38.11.13 ip igmp proxy unsolicited-report robustness .................................................................................. 38-93
38.11.14 ip igmp proxy upstream ................................................................................................................. 38-93
38.11.15 ip multicas t ssm ............................................................................................................................. 38-93
38.11.16 ip pim bsr-border ........................................................................................................................... 38-94
38.11.17 show debugging igmp proxy .......................................................................................................... 38-94
38.11.18 show ip igmp proxy ........................................................................................................................ 38-95
38.11.19 show ip igmp proxy mroute ........................................................................................................... 38-96
38.11.20 show ip igmp proxy upstream groups ............................................................................................ 38-97