Set a local preference for a peer.

This command associates a local preference for the specified peer. When routes are imported by this peer, they will be installed into the routing information base (RIB) with the specified preference. This command works by performing a read-modify-write on the switch port settings configuration identified by the specified rack/switch/port.

Options

--local-pref
Apply this local preference to routes received from the peer
--peer
Peer to set the route preference on
--port
qsfp0qsfp1qsfp2qsfp3qsfp4qsfp5qsfp6qsfp7qsfp8qsfp9qsfp10qsfp11qsfp12qsfp13qsfp14qsfp15qsfp16qsfp17qsfp18qsfp19qsfp20qsfp21qsfp22qsfp23qsfp24qsfp25qsfp26qsfp27qsfp28qsfp29qsfp30qsfp31
Port to set the route preference on
--profile
Configuration profile to use for commands
--rack
Id of the rack to set the route preference on
--switch
switch0switch1
Switch to set the route preference on