beautypg.com

8 interface commands, 1 interface port-channel, 2 bpdu-control – ZyXEL Communications GS-3012F Series User Manual

Page 249: 1 interface port-channel 33.8.2 bpdu-control

background image

Chapter 33 Command Examples

GS-3012/GS-3012F User’s Guide

249

• Remove the remote host with IP address 172.165.1.9 and with an SSH-RSA encryption

key from the list of known hosts.

Figure 144 no ssh Command Example

33.8 interface Commands

These are some commonly used commands that belong to the interface group of commands.

33.8.1 interface port-channel

Syntax:

interface port-channel

Each interface refers to an Ethernet port on the switch. Commands configured after the
interface command correspond to those ports. Type multiple ports or port ranges separated by
a comma. Ranges of port numbers are typed separated by a dash.
An example is shown next.

• Enter the configuration command set.
• Enable ports one, three, four and five for configuration.
• Begin configuring for those ports.

Figure 145 interface port-channel Command Example

33.8.2 bpdu-control

Syntax:

bpdu-control

An example is shown next.

sysname(config)# no ssh key rsa1
sysname(config)# no ssh known-hosts 172.165.1.8
sysname(config)# no ssh known-hosts 172.165.1.9 ssh-rsa

sysname# config
sysname(config)# interface port-channel 1,3-5
sysname(config-interface)#

where

iscard|network
>=

Type

peer

to process any BPDUs received on these ports.

Type

tunnel

to forward BPDUs received on these ports.

Type

discard

to drop any BPDUs received on these ports.

Type

network

to process a BPDU with no VLAN tag and

forward a tagged BPDU.